From 83da6fb210b739284a3018064fcb947665d32b97 Mon Sep 17 00:00:00 2001 From: "limes.pink" Date: Tue, 15 Apr 2025 11:54:52 +0200 Subject: [PATCH] feat: use phosphoricons via Icon, move svg to ext file --- src/components/Footer/Footer.vue | 22 +- src/components/Hero/HeroDeco.vue | 173 ++++++++++++++ src/components/Navbar/Navbar.vue | 399 +++++++++---------------------- src/pages/index.vue | 320 +++---------------------- 4 files changed, 327 insertions(+), 587 deletions(-) create mode 100644 src/components/Hero/HeroDeco.vue diff --git a/src/components/Footer/Footer.vue b/src/components/Footer/Footer.vue index f89de3c..1f0062b 100644 --- a/src/components/Footer/Footer.vue +++ b/src/components/Footer/Footer.vue @@ -139,24 +139,10 @@ function bandwidthClickHandler() {

{{ $t("footer.widget.captions[0]") }}

{{ $t("footer.widget.captions[1]") }}

- - - - + {{ $t("footer.widget.button") }} diff --git a/src/components/Hero/HeroDeco.vue b/src/components/Hero/HeroDeco.vue new file mode 100644 index 0000000..57b3617 --- /dev/null +++ b/src/components/Hero/HeroDeco.vue @@ -0,0 +1,173 @@ + + + diff --git a/src/components/Navbar/Navbar.vue b/src/components/Navbar/Navbar.vue index f55ec8b..a72eb88 100644 --- a/src/components/Navbar/Navbar.vue +++ b/src/components/Navbar/Navbar.vue @@ -31,16 +31,10 @@ onMounted(() => { :class="{ 'dropdown-button': true, 'hide-on-desktop': true, active: openDropdown === 'mobile' }" @click="handleDropdownButton('mobile')" > - - - + {
- - - +

{{ $t("nav.credits") }}

@@ -138,16 +127,11 @@ onMounted(() => {
- - - +

{{ $t("nav.about") }}

@@ -156,16 +140,11 @@ onMounted(() => {
- - - +

{{ $t("nav.faq") }}

@@ -174,16 +153,11 @@ onMounted(() => {
- - - +

{{ $t("nav.blog") }}

@@ -192,16 +166,11 @@ onMounted(() => {
- - - +

{{ $t("nav.progress") }}

@@ -210,16 +179,11 @@ onMounted(() => {
- - - +
@@ -348,22 +276,11 @@ onMounted(() => { class="donate" > @@ -377,16 +294,11 @@ onMounted(() => {
- - - +

{{ $t("nav.credits") }}

@@ -395,16 +307,11 @@ onMounted(() => {
- - - +

{{ $t("nav.about") }}

@@ -413,16 +320,11 @@ onMounted(() => {
- - - +
@@ -524,16 +390,11 @@ onMounted(() => {
- - - +

{{ $t("docs.quickLinks.links[0].header") }}

@@ -542,16 +403,11 @@ onMounted(() => {
- - - +
diff --git a/src/pages/index.vue b/src/pages/index.vue index f05b800..6432eb1 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -59,30 +59,10 @@ function titleSuffixHandler(path: string) { class="button secondary discord icon-btn" focusable="false" > - - - - - - - - - - + - - - + - - - +
@@ -149,154 +106,7 @@ function titleSuffixHandler(path: string) { alt="" >
- - - - - - - - - - - - - - - - - - - - - - - - - +
@@ -393,59 +203,29 @@ function titleSuffixHandler(path: string) {
- +

{{ $t("showcase.cards.0.title") }}

{{ $t("showcase.cards.0.caption") }}

- +

{{ $t("showcase.cards.1.title") }}

{{ $t("showcase.cards.1.caption") }}

- +

{{ $t("showcase.cards.2.title") }}

{{ $t("showcase.cards.2.caption") }}

@@ -491,18 +271,10 @@ function titleSuffixHandler(path: string) { target="_blank" aria-label="Open Github" > - +

@@ -534,7 +306,7 @@ function titleSuffixHandler(path: string) { :key="i" :href="$te(`specialThanks.people[${i}].github`) ? $t(`specialThanks.people[${i}].github`) : undefined" target="_blank" - :class="{'helper-card': true, 'special': $te(`specialThanks.people[${i}].special`)}" + :class="{ 'helper-card': true, 'special': $te(`specialThanks.people[${i}].special`) }" >

+