From 928e025114c58b0865c826bb30516de046dc82eb Mon Sep 17 00:00:00 2001 From: Akis Date: Sat, 18 Jun 2022 19:26:58 +0300 Subject: [PATCH] fix build and format files to match code style --- .github/dependabot.yml | 8 +- .github/workflows/build.yml | 1 - package.json | 2 +- src/app.html | 10 +- src/lib/Footer.svelte | 112 +++++++++--------- src/lib/Nav.svelte | 143 ++++++++++++----------- src/lib/app.css | 40 +++---- src/lib/content.svelte | 47 ++++---- src/lib/strings.json | 18 +-- src/routes/__layout.svelte | 10 +- src/routes/contact.md | 22 ++-- src/routes/donate.md | 6 +- src/routes/faq.md | 8 +- src/routes/index.md | 4 +- src/routes/minecraft/client-side-mods.md | 9 +- src/routes/minecraft/index.md | 39 ++++--- svelte.config.js | 15 ++- 17 files changed, 265 insertions(+), 229 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 000d73e..75ec0c0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ version: 2 updates: - - package-ecosystem: "npm" # See documentation for possible values - directory: "/" # Location of package manifests - schedule: - interval: "daily" + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4e6505..577b3ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,4 +22,3 @@ jobs: commit-message: Successfully built clean: true single-commit: false - diff --git a/package.json b/package.json index a638027..10aa6da 100644 --- a/package.json +++ b/package.json @@ -29,4 +29,4 @@ "unplugin-icons": "^0.14.5" }, "type": "module" -} \ No newline at end of file +} diff --git a/src/app.html b/src/app.html index ee1800b..ead14c1 100644 --- a/src/app.html +++ b/src/app.html @@ -2,8 +2,14 @@ - - + + %sveltekit.head% diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index a750ead..292c903 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -1,70 +1,70 @@ \ No newline at end of file + div.links { + margin-left: 0; + } + } + diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 609fb42..f4baa93 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -1,86 +1,91 @@ diff --git a/src/lib/app.css b/src/lib/app.css index 6acbf8a..7202f57 100644 --- a/src/lib/app.css +++ b/src/lib/app.css @@ -1,33 +1,33 @@ @font-face { - font-family: Comfortaa; - src: url("/Comfortaa.ttf"); - font-display: swap; + font-family: Comfortaa; + src: url("/Comfortaa.ttf"); + font-display: swap; } html { - --primary: #151515; - --secondary: #252525; - --tertiary: #353535; - --accent-primary: #00d4aa; - --accent-secondary: #ce1717; - --text: #fff; - --font-primary: Comfortaa; - --accent-tertiary: #4beacb; + --primary: #151515; + --secondary: #252525; + --tertiary: #353535; + --accent-primary: #00d4aa; + --accent-secondary: #ce1717; + --text: #fff; + --font-primary: Comfortaa; + --accent-tertiary: #4beacb; } body { - font-family: var(--font-primary); - background-color: var(--primary); - color: var(--text); - margin: 0; + font-family: var(--font-primary); + background-color: var(--primary); + color: var(--text); + margin: 0; } main { - padding: 1rem; + padding: 1rem; } a { - text-decoration: underline; - color: var(--accent-primary); - text-underline-offset: 5px; -} \ No newline at end of file + text-decoration: underline; + color: var(--accent-primary); + text-underline-offset: 5px; +} diff --git a/src/lib/content.svelte b/src/lib/content.svelte index 6102559..294c22b 100644 --- a/src/lib/content.svelte +++ b/src/lib/content.svelte @@ -1,32 +1,31 @@ @@ -35,4 +34,4 @@
-
\ No newline at end of file + diff --git a/src/lib/strings.json b/src/lib/strings.json index 54a9dfb..6c8f2c2 100644 --- a/src/lib/strings.json +++ b/src/lib/strings.json @@ -1,10 +1,10 @@ { - "PROJECT": "Project", - "SEGFAULT": "Segfault", - "INSTANCES": "Instances & Gameservers", - "MINECRAFT": "Minecraft", - "DONATE": "Donate", - "FAQ": "FAQ", - "CONTACT": "Contact", - "BLOG": "Blog" -} \ No newline at end of file + "PROJECT": "Project", + "SEGFAULT": "Segfault", + "INSTANCES": "Instances & Gameservers", + "MINECRAFT": "Minecraft", + "DONATE": "Donate", + "FAQ": "FAQ", + "CONTACT": "Contact", + "BLOG": "Blog" +} diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index fafc756..a9be525 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -1,11 +1,11 @@