From 7e3cff959183386f5120acf1eb956ee41f7bd713 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Mon, 1 Jan 2024 18:33:51 +0100 Subject: Add socials + links to buttons --- apps/website/config.ts | 1 + apps/website/src/pages/mods.astro | 9 +++++---- apps/website/src/types/Config.d.ts | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/website/config.ts b/apps/website/config.ts index f55f380..eaffaf3 100644 --- a/apps/website/config.ts +++ b/apps/website/config.ts @@ -7,6 +7,7 @@ export const configConst = { youtube: 'https://youtube.com/', discord: 'https://discord.gg/', github: 'https://github.com/Polyfrost', + modrinth: 'https://modrinth.com/user/Wyvest', }, navbar: { left: [ diff --git a/apps/website/src/pages/mods.astro b/apps/website/src/pages/mods.astro index c36c7c8..55a6cdf 100644 --- a/apps/website/src/pages/mods.astro +++ b/apps/website/src/pages/mods.astro @@ -5,6 +5,7 @@ import Header from '@components/base/Header.astro'; import Paragraph from '@components/base/Paragraph.astro'; import Section from '@components/base/Section.astro'; import Slider from '@components/base/Slider.astro'; +import configConst from '@config'; import Layout from '@layouts/Layout.astro'; import { Code } from 'astro:components'; @@ -41,8 +42,8 @@ import { Code } from 'astro:components';