-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Re-Nav was created in one month during
- TiMaSoMo 2022!
-
-
-
-
-{% endblock %}
diff --git a/source/re-nav/share/index.html b/source/re-nav/share/index.html
deleted file mode 100644
index 09256bd..0000000
--- a/source/re-nav/share/index.html
+++ /dev/null
@@ -1,61 +0,0 @@
-{% extends "source/includes/base.html" %}
-{% import "source/includes/macros.html" as macros %}
-
-{% set title = "Re-Nav ↩ Share" %}
-
-{% block head %}
-
-
- Welcome to Re-Nav's share page!
-
- Use the share button in Re-Nav's options page to create a link with your
- redirect.
-
-
-
-
-
- {{-":"-}}
-
-
-
↓
-
-
- {{-":"-}}
-
-
-
-
- {#
- This element will be shown by JS on page load, and if Re-Nav is installed,
- it will be used as the root container for the import button.
- #}
-
-
- With Re-Nav installed, you'll see a button here to import
- this redirect.
-
-
-
-
-
-
-
-{% endblock %}
diff --git a/source/scss/common.scss b/source/scss/common.scss
index 3f27dc3..a5e39c1 100644
--- a/source/scss/common.scss
+++ b/source/scss/common.scss
@@ -1,4 +1,6 @@
+@use "modern-normalize/modern-normalize.css";
@use "reset";
+@use "love";
html {
font-size: 62.5%;
diff --git a/source/scss/mixins.scss b/source/scss/mixins.scss
index 1066e4f..16df4d2 100644
--- a/source/scss/mixins.scss
+++ b/source/scss/mixins.scss
@@ -17,7 +17,7 @@ $large-breakpoint: 1200px;
&::after {
--shadow-size: #{$size};
- background: url("/assets/shadow-pattern.png") repeat;
+ background: url("/shadow-pattern.png") repeat;
content: "";
height: 100%;
left: var(--shadow-size);
diff --git a/source/scss/modern-normalize.scss b/source/scss/modern-normalize.scss
deleted file mode 100644
index 38bdf7a..0000000
--- a/source/scss/modern-normalize.scss
+++ /dev/null
@@ -1 +0,0 @@
-@use "../../node_modules/modern-normalize/modern-normalize.css";
diff --git a/source/scss/fangs/fangs.scss b/source/scss/pages/fangs.scss
similarity index 100%
rename from source/scss/fangs/fangs.scss
rename to source/scss/pages/fangs.scss
diff --git a/source/scss/home/sections.scss b/source/scss/pages/home-sections.scss
similarity index 100%
rename from source/scss/home/sections.scss
rename to source/scss/pages/home-sections.scss
diff --git a/source/scss/home/home.scss b/source/scss/pages/home.scss
similarity index 96%
rename from source/scss/home/home.scss
rename to source/scss/pages/home.scss
index d40cdcb..1cce5cd 100644
--- a/source/scss/home/home.scss
+++ b/source/scss/pages/home.scss
@@ -1,5 +1,5 @@
@use "../mixins";
-@use "sections";
+@use "home-sections";
.page-header {
@include mixins.responsive-container;
diff --git a/source/scss/queue/queue.scss b/source/scss/pages/queue.scss
similarity index 100%
rename from source/scss/queue/queue.scss
rename to source/scss/pages/queue.scss
diff --git a/source/scss/re-nav/share.scss b/source/scss/pages/re-nav-share.scss
similarity index 100%
rename from source/scss/re-nav/share.scss
rename to source/scss/pages/re-nav-share.scss
diff --git a/source/scss/re-nav/re-nav.scss b/source/scss/pages/re-nav.scss
similarity index 100%
rename from source/scss/re-nav/re-nav.scss
rename to source/scss/pages/re-nav.scss
diff --git a/source/ts/common.ts b/source/ts/common.ts
deleted file mode 100644
index 65525dd..0000000
--- a/source/ts/common.ts
+++ /dev/null
@@ -1 +0,0 @@
-import "../../node_modules/@fontsource/inter/latin.css";
diff --git a/source/ts/re-nav/share.ts b/source/ts/re-nav-share.ts
similarity index 100%
rename from source/ts/re-nav/share.ts
rename to source/ts/re-nav-share.ts
diff --git a/tsconfig.json b/tsconfig.json
index 3bb6f21..a8327d1 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,15 +1,14 @@
{
"compilerOptions": {
"esModuleInterop": true,
- "module": "ESNext",
+ "module": "ES2022",
"moduleResolution": "Node",
"noEmit": true,
"outDir": "build",
"strict": true,
- "target": "ESNext"
+ "target": "ES2022"
},
"include": [
- "source/**/*.ts",
- "vite.config.ts"
+ "source/**/*.ts"
]
}
diff --git a/vite.config.ts b/vite.config.ts
deleted file mode 100644
index 80f8039..0000000
--- a/vite.config.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import path from "node:path";
-import {defineConfig} from "vite";
-import nunjucks from "vite-plugin-nunjucks";
-
-const relative = (input: string) => new URL(input, import.meta.url).pathname;
-
-const buildDir = relative("build");
-const sourceDir = relative("source");
-
-export default defineConfig({
- build: {
- minify: false,
- outDir: buildDir,
- rollupOptions: {
- input: {
- fangs: path.join(sourceDir, "fangs/index.html"),
- home: path.join(sourceDir, "index.html"),
- queue: path.join(sourceDir, "queue/index.html"),
- "re-nav": path.join(sourceDir, "re-nav/index.html"),
- "re-nav/share": path.join(sourceDir, "re-nav/share/index.html"),
- },
- },
- sourcemap: true,
- },
- plugins: [
- nunjucks({
- nunjucksConfigure: {
- throwOnUndefined: true,
- },
- }),
- ],
- publicDir: path.join(sourceDir, "static"),
- root: sourceDir,
-});