aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src
diff options
context:
space:
mode:
authorLynithDev <61880709+LynithDev@users.noreply.github.com>2023-12-27 10:14:04 +0100
committerLynithDev <61880709+LynithDev@users.noreply.github.com>2023-12-27 10:14:04 +0100
commita8b3db9c0344fb82796bad7fc1c3b1b7f20c3fe4 (patch)
treeb00fb2e80bae717cb02f0e28f3a86e3b42dc83dc /apps/website/src
parent4bf354c197e834f563046da9fe2140b23a9faf80 (diff)
downloadNexus-a8b3db9c0344fb82796bad7fc1c3b1b7f20c3fe4.tar.gz
Nexus-a8b3db9c0344fb82796bad7fc1c3b1b7f20c3fe4.tar.bz2
Nexus-a8b3db9c0344fb82796bad7fc1c3b1b7f20c3fe4.zip
Remove padding from oneconfig logo + update footer links
Diffstat (limited to 'apps/website/src')
-rw-r--r--apps/website/src/components/base/Footer.astro6
-rw-r--r--apps/website/src/pages/projects/oneconfig.astro2
-rw-r--r--apps/website/src/types/Config.d.ts16
3 files changed, 15 insertions, 9 deletions
diff --git a/apps/website/src/components/base/Footer.astro b/apps/website/src/components/base/Footer.astro
index 626ff0b..d41ef29 100644
--- a/apps/website/src/components/base/Footer.astro
+++ b/apps/website/src/components/base/Footer.astro
@@ -12,9 +12,9 @@ import Link from './Link.astro';
<Logo logo="polyfrost.full" />
<p>English, USA</p> {/* hardcoded for now, todo i18n */}
<div class="flex flex-row gap-3">
- <a href="" class="hover:text-[#5865F2]"><Icon icon="discord" /></a>
- <a href="" class="hover:text-[#ff0000]"><Icon icon="youtube" /></a>
- <a href="" class="hover:text-[#000000]"><Icon icon="github" /></a>
+ <a href={configConst.socials.discord} target="_blank" class="hover:text-[#5865F2]"><Icon icon="discord" /></a>
+ <a href={configConst.socials.youtube} target="_blank" class="hover:text-[#ff0000]"><Icon icon="youtube" /></a>
+ <a href={configConst.socials.github} target="_blank" class="hover:text-[#000000]"><Icon icon="github" /></a>
</div>
</div>
diff --git a/apps/website/src/pages/projects/oneconfig.astro b/apps/website/src/pages/projects/oneconfig.astro
index 885d2c6..147ea28 100644
--- a/apps/website/src/pages/projects/oneconfig.astro
+++ b/apps/website/src/pages/projects/oneconfig.astro
@@ -161,7 +161,7 @@ import { Code } from 'astro:components';
<Section class="flex-col justify-center items-center md:h-4/5 md:min-h-[600px] mb-[10rem]">
<div class="flex relative md:-left-12">
<img src="/media/oneconfig/page_media_4.png" class="rounded-2xl"/>
- <div class="border border-gray-200 rounded-3xl md:rounded-4xl shadow-sm bg-gray-50 flex flex-col justify-center items-center md:items-start p-4 md:p-8 absolute -bottom-12 translate-x-1/2 right-1/2 md:translate-x-0 md:-right-12">
+ <div class="border border-gray-200 rounded-3xl md:rounded-4xl shadow-sm bg-gray-50 flex flex-col justify-center items-center md:items-start p-4 md:p-8 absolute -bottom-12 translate-x-1/2 right-1/2 md:translate-x-0 md:-right-12 gap-y-8">
<Logo logo="oneconfig.logo_text" class="w-48 h-12 md:min-w-72 md:h-auto"></Logo>
<Button href="/projects/oneconfig/download" iconLeft="download" text="Download now" class="max-w-fit"/>
</div>
diff --git a/apps/website/src/types/Config.d.ts b/apps/website/src/types/Config.d.ts
index f53967a..6ba2756 100644
--- a/apps/website/src/types/Config.d.ts
+++ b/apps/website/src/types/Config.d.ts
@@ -33,11 +33,17 @@ export interface FooterColumn {
}
export interface Config {
- projects: Project[]
- logos: string[]
+ projects: Project[],
+ logos: string[],
+ socials: {
+ youtube: string,
+ // twitter: string,
+ discord: string,
+ github: string,
+ },
navbar: {
- left: NavbarElement[]
- right: NavbarElement[]
+ left: NavbarElement[],
+ right: NavbarElement[],
},
- footer: FooterColumn[]
+ footer: FooterColumn[],
}