Skip to content

Commit 57c4b66

Browse files
committed
feat: rework footer
1 parent c4e673a commit 57c4b66

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

frontend/src/components/HomePage/Main.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const triggerConfetti = () => {
3737
</script>
3838

3939
<template>
40-
<section class="relative mt-[-5rem] flex h-dvh items-center justify-between">
40+
<section id="main" class="relative mt-[-5rem] flex h-dvh items-center justify-between">
4141
<div
4242
class="relative flex flex-col items-start justify-center gap-9"
4343
:class="[hidden ? 'w-full' : '']"

frontend/src/components/ui/Footer.vue

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { FOOTER_NAV_PRODUCT_DATA } from '@/data/FooterNav.data'
3-
import { hidden, openLink } from '@/utils'
3+
import { hidden, moveTo, openLink } from "@/utils";
44
import { Button } from '@/components/ui/button'
55
import Github from '@/components/icons/Socials/Github.vue'
66
import Valory from '@/components/icons/Valory.vue'
@@ -10,14 +10,20 @@ import Telegram from '@/components/icons/Socials/Telegram.vue'
1010
import { Hearts } from 'untitledui-js/vue'
1111
</script>
1212
<template>
13-
<footer class="container m-auto mt-16 flex flex-col gap-10">
13+
<footer class="container m-auto py-16 flex flex-col gap-10">
1414
<div class="flex justify-between gap-8">
15-
<div class="flex flex-col gap-8" :class="[hidden ? 'max-w-52' : '']">
16-
<Valory :size="25" />
17-
<span class="whitespace-pre-line font-normal">
15+
<div class="flex flex-col gap-4" :class="[hidden ? 'max-w-52' : '']">
16+
<div @click="moveTo('main')" class="flex flex-row gap-3 items-center">
17+
<Valory :size="25" />
18+
<span class="font-valory text-lg hover:text-gray-300 cursor-pointer transition-colors">VALORY</span>
19+
</div>
20+
<span class="whitespace-pre-line text-sm font-normal">
1821
{{ $t('footer.left.description') }}
1922
</span>
20-
<div class="flex flex-wrap gap-4">
23+
<span class="text-[#6f6f6f] text-xs">
24+
© 2023-2025 Valory. {{ $t('footer.copyright') }}
25+
</span>
26+
<div class="flex flex-wrap gap-2">
2127
<Button
2228
aria-label="Github"
2329
@click="openLink('https://github.com/ValoryApp/Valory')"
@@ -87,9 +93,5 @@ import { Hearts } from 'untitledui-js/vue'
8793
</div>
8894
</div>
8995
</div>
90-
<div class="flex items-center justify-between gap-3 border-t border-white/20 py-10">
91-
<span class="text-normal">Valory © {{ $t('footer.copyright') }}</span>
92-
<span class="text-normal text-right">{{ $t('footer.love') }}</span>
93-
</div>
9496
</footer>
9597
</template>

frontend/src/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"footer": {
5252
"left": {
53-
"description": "Showcase your Valorant stats live and keep your\naudience engaged with every headshot and clutch! "
53+
"description": "Track Your Game, Own the Stream"
5454
},
5555
"right": {
5656
"sections": {

frontend/src/locales/ru.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"footer": {
5252
"left": {
53-
"description": "Демонстрируйте свою статистику Valorant\n в прямом эфире и привлекайте внимание\n аудитории каждым хедшотом и клатчами!"
53+
"description": "Следи за игрой, властвуй на стриме"
5454
},
5555
"right": {
5656
"sections": {

0 commit comments

Comments
 (0)