Upload files to 'frontend'

This commit is contained in:
Sophia Atkinson 2022-09-24 06:26:36 +00:00
parent 6306b283ec
commit 46e168dc1a
20 changed files with 11652 additions and 0 deletions

57
frontend/config.php Normal file
View File

@ -0,0 +1,57 @@
<?php
// CONFIG - These control the look and details on your site. Consult documentation for more details.
// GENERAL
// Page title for your site
define('title', '');
// The short title of your site, used in the footer and in some sub pages
define('shortTitle', '');
// A description of your site, shown on the homepage.
define('description', '');
// The favicon for your site
define('favicon', '/images/favicon.ico?v1');
// Logo for your site, displayed on home page
define('logo', '/frontend/assets/img/logo_white.png');
// Enable reCAPTCHA V3
// It is highly recommended you use reCAPTCHA V3. It will stop spam. You can get a site and secret key from here: https://www.google.com/recaptcha/admin/create
define("enableRecaptcha", false);
// reCAPTCHA V3 Site Key
define("recaptchaV3SiteKey", '');
// reCAPTCHA V3 Secret Key
define("recaptchaV3SecretKey", '');
// Enables the custom URL field
// true or false
define('enableCustomURL', true);
// Optional
// Set a primary colour to be used. Default: #007bff
// Here are some other colours you could try:
// #f44336: red, #9c27b0: purple, #00bcd4: teal, #ff5722: orange
define('backgroundImage', '');
// Optional
// Set a background image to be used.
// default: unsplash.com random daily photo of the day
// More possibilities of photo embedding from unsplash could be found at: https://source.unsplash.com
// define('backgroundImage', 'https://source.unsplash.com/daily');
// FOOTER
// These are the links in the footer. Add a new link for each new link.
// The array follows a title link structure:
// "TITLE" => "LINK",
$footerLinks = [
"One" => "https://s.rt",
"Two" => "https://s.rt"
];
?>

BIN
frontend/cover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

1
frontend/custom-url.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#fff"><path clip-rule="evenodd" fill="none" d="M0 0h24v24H0z"/><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></svg>

After

Width:  |  Height:  |  Size: 338 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB

86
frontend/footer.php Normal file
View File

@ -0,0 +1,86 @@
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script>
// From https://stackoverflow.com/a/30810322
function fallbackCopyTextToClipboard(text) {
var textArea = document.createElement("textarea");
textArea.value = text;
// Avoid scrolling to bottom
textArea.style.top = "0";
textArea.style.left = "0";
textArea.style.position = "fixed";
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
try {
var successful = document.execCommand('copy');
var msg = successful ? 'successful' : 'unsuccessful';
console.log('Fallback: Copying text command was ' + msg);
} catch (err) {
console.error('Fallback: Oops, unable to copy', err);
}
document.body.removeChild(textArea);
}
function copyTextToClipboard(text) {
if (!navigator.clipboard) {
fallbackCopyTextToClipboard(text);
return;
}
navigator.clipboard.writeText(text).then(function() {
console.log('Async: Copying to clipboard was successful!');
}, function(err) {
console.error('Async: Could not copy text: ', err);
});
}
const copyBtn = document.querySelector('button#copy-button');
if (copyBtn) {
copyBtn.addEventListener('click', function(event) {
copyTextToClipboard(event.target.dataset.shorturl);
});
}
const closeShortenedLinkScreenButton = document.querySelector('button#close-shortened-screen');
if (closeShortenedLinkScreenButton) {
closeShortenedLinkScreenButton.addEventListener('click', function(event) {
window.location.href=window.location.href;
});
}
</script>
<?php if (enableRecaptcha) : ?>
<script src="https://www.google.com/recaptcha/api.js?render=<?php echo recaptchaV3SiteKey ?>"></script>
<script>
const shortenForm = document.querySelector("form#shortenlink");
if (shortenForm) {
shortenForm.addEventListener("submit", function(e){
e.preventDefault();
grecaptcha.ready(function() {
grecaptcha.execute('<?php echo recaptchaV3SiteKey ?>', {action: 'shorten_link'}).then(function(token) {
const tokenInput = document.createElement("input");
tokenInput.setAttribute("type", "hidden");
tokenInput.setAttribute("name", "token");
tokenInput.setAttribute("value", token);
const actionInput = document.createElement("input");
actionInput.setAttribute("type", "hidden");
actionInput.setAttribute("name", "action");
actionInput.setAttribute("value", "shorten_link");
shortenForm.prepend(tokenInput);
shortenForm.prepend(actionInput);
shortenForm.submit();
});
});
});
}
</script>
<?php endif; ?>

26
frontend/functions.php Normal file
View File

@ -0,0 +1,26 @@
<?php
// Darken or lighten a hex code
// Full credit goes to: https://stackoverflow.com/a/11951022
function adjustBrightness($hex, $steps) {
// Steps should be between -255 and 255. Negative = darker, positive = lighter
$steps = max(-255, min(255, $steps));
// Normalize into a six character long hex string
$hex = str_replace('#', '', $hex);
if (strlen($hex) == 3) {
$hex = str_repeat(substr($hex,0,1), 2).str_repeat(substr($hex,1,1), 2).str_repeat(substr($hex,2,1), 2);
}
// Split into three parts: R, G and B
$color_parts = str_split($hex, 2);
$return = '#';
foreach ($color_parts as $color) {
$color = hexdec($color); // Convert to decimal
$color = max(0,min(255,$color + $steps)); // Adjust color
$return .= str_pad(dechex($color), 2, '0', STR_PAD_LEFT); // Make two char hex code
}
return $return;
}
?>

14
frontend/gulpfile.js Normal file
View File

@ -0,0 +1,14 @@
var gulp = require('gulp');
var sass = require('gulp-sass')(require('sass'));
gulp.task('sass', () => {
return gulp.src("./assets/sass/*.scss")
.pipe(sass())
.pipe(gulp.dest("dist/"))
});
gulp.task('start', gulp.series('sass', function () {
gulp.watch("sass/*.scss", gulp.series('sass'));
}));
gulp.task('default', gulp.series('start'));

39
frontend/header.php Normal file
View File

@ -0,0 +1,39 @@
<?php
include 'config.php';
include 'functions.php';
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo description ?>">
<link rel="icon" href="<?php echo favicon ?>">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@OldgateORG">
<meta name="twitter:title" content="<?php echo title?>">
<meta name="twitter:description" content="<?php echo description ?>">
<meta name="keywords" content="SOP.wtf, SOP Link Shortener, SOP">
<meta property="og:url" content="<?php $YOURLS_SITE ?>">
<meta property="og:type" content="website">
<meta property="og:title" content="<?php echo title?>">
<meta property="og:description" content="<?php echo description ?>">
<meta property="og:image" content="https://sop.wtf/frontend/assets/img/cover.png">
<meta name="twitter:image" content="https://sop.wtf/frontend/assets/img/cover.png">
<title><?php echo title ?></title>
<link rel="stylesheet" href="<?php $YOURLS_SITE ?>/frontend/dist/styles.css">
<?php if (defined('backgroundImage')) : ?>
<style>
body {
background: url(<?php echo backgroundImage ?>) no-repeat center center fixed !important;
background-size: cover !important;
}
</style>
<?php else : ?>
<style>
body {
background-color: <?php echo colour ?>;
}
</style>
<?php endif; ?>
</head>

View File

@ -0,0 +1 @@
<svg data-v-423bf9ae="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.58303031159966 60" class="font"><!----><!----><!----><g data-v-423bf9ae="" id="d0890c87-fb2b-4e20-a9fd-2483f6f3120f" fill="black" transform="matrix(4.633204701445071,0,0,4.633204701445071,-7.830112678154194,-16.864865360883996)"><path d="M4.24 13.92L4.24 13.92L4.24 13.92Q3.53 13.92 2.85 13.57L2.85 13.57L2.85 13.57Q2.17 13.23 1.69 12.67L1.69 12.67L2.38 12.07L2.38 12.07Q3.23 13.05 4.33 13.05L4.33 13.05L4.33 13.05Q4.97 13.05 5.39 12.78L5.39 12.78L5.39 12.78Q5.81 12.50 5.81 12.01L5.81 12.01L5.81 12.01Q5.81 11.70 5.66 11.46L5.66 11.46L5.66 11.46Q5.52 11.21 5.20 11.01L5.20 11.01L5.20 11.01Q4.89 10.81 4.64 10.70L4.64 10.70L4.64 10.70Q4.40 10.58 3.95 10.42L3.95 10.42L3.95 10.42Q3.42 10.21 3.09 10.04L3.09 10.04L3.09 10.04Q2.76 9.87 2.41 9.62L2.41 9.62L2.41 9.62Q2.06 9.37 1.89 9.02L1.89 9.02L1.89 9.02Q1.72 8.68 1.72 8.25L1.72 8.25L1.72 8.25Q1.72 7.43 2.39 6.93L2.39 6.93L2.39 6.93Q3.07 6.43 4.12 6.43L4.12 6.43L4.12 6.43Q5.59 6.43 6.52 7.52L6.52 7.52L5.88 8.06L5.88 8.06Q5.08 7.29 4.09 7.29L4.09 7.29L4.09 7.29Q3.43 7.29 3.04 7.55L3.04 7.55L3.04 7.55Q2.65 7.80 2.65 8.23L2.65 8.23L2.65 8.23Q2.65 8.44 2.75 8.62L2.75 8.62L2.75 8.62Q2.86 8.81 2.98 8.93L2.98 8.93L2.98 8.93Q3.11 9.04 3.39 9.19L3.39 9.19L3.39 9.19Q3.67 9.34 3.84 9.40L3.84 9.40L3.84 9.40Q4.00 9.46 4.37 9.60L4.37 9.60L4.37 9.60Q4.93 9.81 5.23 9.96L5.23 9.96L5.23 9.96Q5.53 10.11 5.94 10.39L5.94 10.39L5.94 10.39Q6.36 10.67 6.54 11.05L6.54 11.05L6.54 11.05Q6.73 11.44 6.73 11.96L6.73 11.96L6.73 11.96Q6.73 12.85 6.06 13.38L6.06 13.38L6.06 13.38Q5.39 13.92 4.24 13.92ZM15.34 12.92L15.34 12.92L15.34 12.92Q14.43 13.92 12.94 13.92L12.94 13.92L12.94 13.92Q11.44 13.92 10.54 12.93L10.54 12.93L10.54 12.93Q9.63 11.94 9.63 10.18L9.63 10.18L9.63 10.18Q9.63 8.43 10.54 7.43L10.54 7.43L10.54 7.43Q11.44 6.43 12.94 6.43L12.94 6.43L12.94 6.43Q14.43 6.43 15.34 7.41L15.34 7.41L15.34 7.41Q16.24 8.40 16.24 10.16L16.24 10.16L16.24 10.16Q16.24 11.91 15.34 12.92ZM12.94 13.03L12.94 13.03L12.94 13.03Q14.01 13.03 14.62 12.27L14.62 12.27L14.62 12.27Q15.22 11.51 15.22 10.16L15.22 10.16L15.22 10.16Q15.22 8.81 14.63 8.06L14.63 8.06L14.63 8.06Q14.04 7.31 12.94 7.31L12.94 7.31L12.94 7.31Q11.82 7.31 11.24 8.04L11.24 8.04L11.24 8.04Q10.65 8.78 10.65 10.18L10.65 10.18L10.65 10.18Q10.65 11.54 11.24 12.29L11.24 12.29L11.24 12.29Q11.83 13.03 12.94 13.03ZM19.77 16.10L18.79 16.59L18.79 6.59L19.77 6.59L19.77 7.24L19.77 7.24Q20.19 6.85 20.64 6.64L20.64 6.64L20.64 6.64Q21.08 6.43 21.77 6.43L21.77 6.43L21.77 6.43Q23.21 6.43 24.05 7.44L24.05 7.44L24.05 7.44Q24.88 8.46 24.88 10.16L24.88 10.16L24.88 10.16Q24.88 11.93 24.03 12.92L24.03 12.92L24.03 12.92Q23.18 13.92 21.83 13.92L21.83 13.92L21.83 13.92Q20.54 13.92 19.77 13.02L19.77 13.02L19.77 16.10ZM21.71 13.03L21.71 13.03L21.71 13.03Q22.74 13.03 23.30 12.29L23.30 12.29L23.30 12.29Q23.86 11.55 23.86 10.16L23.86 10.16L23.86 10.16Q23.86 8.85 23.28 8.08L23.28 8.08L23.28 8.08Q22.69 7.31 21.66 7.31L21.66 7.31L21.66 7.31Q20.38 7.31 19.77 8.41L19.77 8.41L19.77 11.93L19.77 11.93Q20.62 13.03 21.71 13.03ZM30.81 13.68L30.81 13.68L30.81 13.68Q30.55 13.94 30.18 13.94L30.18 13.94L30.18 13.94Q29.82 13.94 29.56 13.68L29.56 13.68L29.56 13.68Q29.30 13.41 29.30 13.06L29.30 13.06L29.30 13.06Q29.30 12.71 29.56 12.45L29.56 12.45L29.56 12.45Q29.82 12.18 30.18 12.18L30.18 12.18L30.18 12.18Q30.55 12.18 30.81 12.45L30.81 12.45L30.81 12.45Q31.07 12.71 31.07 13.06L31.07 13.06L31.07 13.06Q31.07 13.41 30.81 13.68ZM37.60 13.75L36.68 13.75L34.92 6.59L35.92 6.59L37.09 11.72L37.09 11.72Q37.16 12.11 37.18 12.25L37.18 12.25L37.18 12.25Q37.20 12.19 37.23 11.99L37.23 11.99L37.23 11.99Q37.27 11.79 37.30 11.68L37.30 11.68L38.40 6.59L39.21 6.59L40.33 11.69L40.33 11.69Q40.36 11.82 40.46 12.32L40.46 12.32L40.46 12.32Q40.49 12.07 40.57 11.69L40.57 11.69L41.69 6.59L42.70 6.59L40.94 13.75L40.03 13.75L38.92 8.88L38.92 8.88Q38.86 8.68 38.79 8.25L38.79 8.25L38.79 8.25Q38.72 8.71 38.68 8.85L38.68 8.85L37.60 13.75ZM48.08 13.92L48.08 13.92L48.08 13.92Q46.38 13.92 46.38 12.21L46.38 12.21L46.38 7.48L44.69 7.48L44.69 6.59L46.38 6.59L46.38 4.13L47.36 3.64L47.36 6.59L49.76 6.59L49.76 7.48L47.36 7.48L47.36 11.79L47.36 11.79Q47.36 12.39 47.57 12.69L47.57 12.69L47.57 12.69Q47.77 12.99 48.41 12.99L48.41 12.99L48.41 12.99Q49.15 12.99 49.77 12.57L49.77 12.57L49.66 13.59L49.66 13.59Q49.06 13.92 48.08 13.92ZM57.18 4.69L57.18 4.69L57.18 4.69Q56.81 4.69 56.60 4.76L56.60 4.76L56.60 4.76Q56.38 4.83 56.29 4.99L56.29 4.99L56.29 4.99Q56.20 5.15 56.18 5.29L56.18 5.29L56.18 5.29Q56.15 5.42 56.15 5.67L56.15 5.67L56.15 6.59L58.06 6.59L58.06 7.48L56.15 7.48L56.15 12.87L58.06 12.87L58.06 13.75L53.69 13.75L53.69 12.87L55.17 12.87L55.17 7.48L53.69 7.48L53.69 6.59L55.17 6.59L55.17 5.52L55.17 5.52Q55.17 4.59 55.70 4.19L55.70 4.19L55.70 4.19Q56.22 3.78 57.08 3.78L57.08 3.78L57.08 3.78Q57.82 3.78 58.58 4.12L58.58 4.12L58.58 5.00L58.58 5.00Q57.93 4.69 57.18 4.69Z"></path></g><!----><!----></svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -0,0 +1 @@
<svg data-v-423bf9ae="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.58303031159966 60" class="font"><!----><!----><!----><g data-v-423bf9ae="" id="c6682a1b-793b-4158-8f39-5848df271a73" fill="white" transform="matrix(4.633204701445071,0,0,4.633204701445071,-7.830112678154194,-16.864865360883996)"><path d="M4.24 13.92L4.24 13.92L4.24 13.92Q3.53 13.92 2.85 13.57L2.85 13.57L2.85 13.57Q2.17 13.23 1.69 12.67L1.69 12.67L2.38 12.07L2.38 12.07Q3.23 13.05 4.33 13.05L4.33 13.05L4.33 13.05Q4.97 13.05 5.39 12.78L5.39 12.78L5.39 12.78Q5.81 12.50 5.81 12.01L5.81 12.01L5.81 12.01Q5.81 11.70 5.66 11.46L5.66 11.46L5.66 11.46Q5.52 11.21 5.20 11.01L5.20 11.01L5.20 11.01Q4.89 10.81 4.64 10.70L4.64 10.70L4.64 10.70Q4.40 10.58 3.95 10.42L3.95 10.42L3.95 10.42Q3.42 10.21 3.09 10.04L3.09 10.04L3.09 10.04Q2.76 9.87 2.41 9.62L2.41 9.62L2.41 9.62Q2.06 9.37 1.89 9.02L1.89 9.02L1.89 9.02Q1.72 8.68 1.72 8.25L1.72 8.25L1.72 8.25Q1.72 7.43 2.39 6.93L2.39 6.93L2.39 6.93Q3.07 6.43 4.12 6.43L4.12 6.43L4.12 6.43Q5.59 6.43 6.52 7.52L6.52 7.52L5.88 8.06L5.88 8.06Q5.08 7.29 4.09 7.29L4.09 7.29L4.09 7.29Q3.43 7.29 3.04 7.55L3.04 7.55L3.04 7.55Q2.65 7.80 2.65 8.23L2.65 8.23L2.65 8.23Q2.65 8.44 2.75 8.62L2.75 8.62L2.75 8.62Q2.86 8.81 2.98 8.93L2.98 8.93L2.98 8.93Q3.11 9.04 3.39 9.19L3.39 9.19L3.39 9.19Q3.67 9.34 3.84 9.40L3.84 9.40L3.84 9.40Q4.00 9.46 4.37 9.60L4.37 9.60L4.37 9.60Q4.93 9.81 5.23 9.96L5.23 9.96L5.23 9.96Q5.53 10.11 5.94 10.39L5.94 10.39L5.94 10.39Q6.36 10.67 6.54 11.05L6.54 11.05L6.54 11.05Q6.73 11.44 6.73 11.96L6.73 11.96L6.73 11.96Q6.73 12.85 6.06 13.38L6.06 13.38L6.06 13.38Q5.39 13.92 4.24 13.92ZM15.34 12.92L15.34 12.92L15.34 12.92Q14.43 13.92 12.94 13.92L12.94 13.92L12.94 13.92Q11.44 13.92 10.54 12.93L10.54 12.93L10.54 12.93Q9.63 11.94 9.63 10.18L9.63 10.18L9.63 10.18Q9.63 8.43 10.54 7.43L10.54 7.43L10.54 7.43Q11.44 6.43 12.94 6.43L12.94 6.43L12.94 6.43Q14.43 6.43 15.34 7.41L15.34 7.41L15.34 7.41Q16.24 8.40 16.24 10.16L16.24 10.16L16.24 10.16Q16.24 11.91 15.34 12.92ZM12.94 13.03L12.94 13.03L12.94 13.03Q14.01 13.03 14.62 12.27L14.62 12.27L14.62 12.27Q15.22 11.51 15.22 10.16L15.22 10.16L15.22 10.16Q15.22 8.81 14.63 8.06L14.63 8.06L14.63 8.06Q14.04 7.31 12.94 7.31L12.94 7.31L12.94 7.31Q11.82 7.31 11.24 8.04L11.24 8.04L11.24 8.04Q10.65 8.78 10.65 10.18L10.65 10.18L10.65 10.18Q10.65 11.54 11.24 12.29L11.24 12.29L11.24 12.29Q11.83 13.03 12.94 13.03ZM19.77 16.10L18.79 16.59L18.79 6.59L19.77 6.59L19.77 7.24L19.77 7.24Q20.19 6.85 20.64 6.64L20.64 6.64L20.64 6.64Q21.08 6.43 21.77 6.43L21.77 6.43L21.77 6.43Q23.21 6.43 24.05 7.44L24.05 7.44L24.05 7.44Q24.88 8.46 24.88 10.16L24.88 10.16L24.88 10.16Q24.88 11.93 24.03 12.92L24.03 12.92L24.03 12.92Q23.18 13.92 21.83 13.92L21.83 13.92L21.83 13.92Q20.54 13.92 19.77 13.02L19.77 13.02L19.77 16.10ZM21.71 13.03L21.71 13.03L21.71 13.03Q22.74 13.03 23.30 12.29L23.30 12.29L23.30 12.29Q23.86 11.55 23.86 10.16L23.86 10.16L23.86 10.16Q23.86 8.85 23.28 8.08L23.28 8.08L23.28 8.08Q22.69 7.31 21.66 7.31L21.66 7.31L21.66 7.31Q20.38 7.31 19.77 8.41L19.77 8.41L19.77 11.93L19.77 11.93Q20.62 13.03 21.71 13.03ZM30.81 13.68L30.81 13.68L30.81 13.68Q30.55 13.94 30.18 13.94L30.18 13.94L30.18 13.94Q29.82 13.94 29.56 13.68L29.56 13.68L29.56 13.68Q29.30 13.41 29.30 13.06L29.30 13.06L29.30 13.06Q29.30 12.71 29.56 12.45L29.56 12.45L29.56 12.45Q29.82 12.18 30.18 12.18L30.18 12.18L30.18 12.18Q30.55 12.18 30.81 12.45L30.81 12.45L30.81 12.45Q31.07 12.71 31.07 13.06L31.07 13.06L31.07 13.06Q31.07 13.41 30.81 13.68ZM37.60 13.75L36.68 13.75L34.92 6.59L35.92 6.59L37.09 11.72L37.09 11.72Q37.16 12.11 37.18 12.25L37.18 12.25L37.18 12.25Q37.20 12.19 37.23 11.99L37.23 11.99L37.23 11.99Q37.27 11.79 37.30 11.68L37.30 11.68L38.40 6.59L39.21 6.59L40.33 11.69L40.33 11.69Q40.36 11.82 40.46 12.32L40.46 12.32L40.46 12.32Q40.49 12.07 40.57 11.69L40.57 11.69L41.69 6.59L42.70 6.59L40.94 13.75L40.03 13.75L38.92 8.88L38.92 8.88Q38.86 8.68 38.79 8.25L38.79 8.25L38.79 8.25Q38.72 8.71 38.68 8.85L38.68 8.85L37.60 13.75ZM48.08 13.92L48.08 13.92L48.08 13.92Q46.38 13.92 46.38 12.21L46.38 12.21L46.38 7.48L44.69 7.48L44.69 6.59L46.38 6.59L46.38 4.13L47.36 3.64L47.36 6.59L49.76 6.59L49.76 7.48L47.36 7.48L47.36 11.79L47.36 11.79Q47.36 12.39 47.57 12.69L47.57 12.69L47.57 12.69Q47.77 12.99 48.41 12.99L48.41 12.99L48.41 12.99Q49.15 12.99 49.77 12.57L49.77 12.57L49.66 13.59L49.66 13.59Q49.06 13.92 48.08 13.92ZM57.18 4.69L57.18 4.69L57.18 4.69Q56.81 4.69 56.60 4.76L56.60 4.76L56.60 4.76Q56.38 4.83 56.29 4.99L56.29 4.99L56.29 4.99Q56.20 5.15 56.18 5.29L56.18 5.29L56.18 5.29Q56.15 5.42 56.15 5.67L56.15 5.67L56.15 6.59L58.06 6.59L58.06 7.48L56.15 7.48L56.15 12.87L58.06 12.87L58.06 13.75L53.69 13.75L53.69 12.87L55.17 12.87L55.17 7.48L53.69 7.48L53.69 6.59L55.17 6.59L55.17 5.52L55.17 5.52Q55.17 4.59 55.70 4.19L55.70 4.19L55.70 4.19Q56.22 3.78 57.08 3.78L57.08 3.78L57.08 3.78Q57.82 3.78 58.58 4.12L58.58 4.12L58.58 5.00L58.58 5.00Q57.93 4.69 57.18 4.69Z"></path></g><!----><!----></svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
frontend/logo_black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
frontend/logo_black.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
frontend/logo_white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
frontend/logo_white.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

21
frontend/package.json Normal file
View File

@ -0,0 +1,21 @@
{
"name": "sleeky-frontend",
"version": "2.5.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "gulp",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"gulp": "^4.0.2",
"gulp-sass": "^5.0.0",
"sass": "^1.35.1"
},
"dependencies": {
"bootstrap": "^5.0.2",
"popper.js": "^1.16.1"
}
}

11331
frontend/styles.css Normal file

File diff suppressed because it is too large Load Diff

35
frontend/styles.scss Normal file
View File

@ -0,0 +1,35 @@
// Font Imports
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');
$open-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$montserrat: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
// Bootstrap Overrides
$enable-negative-margins: true;
$font-family-sans-serif: $open-sans;
$input-btn-font-family: $montserrat;
$headings-font-family: $montserrat;
$input-bg: #ebebeb;
$input-font-weight: 700;
$btn-font-weight: 700;
$input-border-width: 0;
$border-radius: 6px;
// Bootstrap Imports
@import '../../node_modules/bootstrap/scss/bootstrap.scss';
// Custom Styles
.bold-link {
font-family: $montserrat;
font-weight: 700;
text-transform: uppercase;
}
@include media-breakpoint-down(md) {
.input-group-block {
input, button {
width: 100%;
border-radius: $border-radius !important;
}
}
}

37
frontend/x.svg Normal file
View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve">
<polygon style="fill:#7289DA;" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018
28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 758 B