From 634d75560bcb3e15687ddf97ed0e5e0ba24091e0 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Mon, 1 Jan 2024 11:30:36 +0100 Subject: Contact page --- apps/website/src/components/base/Button.astro | 4 +-- apps/website/src/components/icons/Icon.astro | 2 ++ apps/website/src/components/icons/impl/chat.svg | 3 ++ apps/website/src/components/icons/impl/code.svg | 3 ++ apps/website/src/layouts/Layout.astro | 13 ++++---- apps/website/src/pages/contact.astro | 42 ++++++++++++++++++++++++- apps/website/src/styles/global.css | 6 ++-- apps/website/tailwind.config.ts | 3 ++ 8 files changed, 64 insertions(+), 12 deletions(-) create mode 100644 apps/website/src/components/icons/impl/chat.svg create mode 100644 apps/website/src/components/icons/impl/code.svg diff --git a/apps/website/src/components/base/Button.astro b/apps/website/src/components/base/Button.astro index fef01f6..e529dc5 100644 --- a/apps/website/src/components/base/Button.astro +++ b/apps/website/src/components/base/Button.astro @@ -17,8 +17,8 @@ const sizes = { }; const iconSize = { - sm: 15, - md: 18, + sm: 17, + md: 20, lg: 24, }; diff --git a/apps/website/src/components/icons/Icon.astro b/apps/website/src/components/icons/Icon.astro index fc4fc21..7353c7d 100644 --- a/apps/website/src/components/icons/Icon.astro +++ b/apps/website/src/components/icons/Icon.astro @@ -27,6 +27,8 @@ type _Icons = | 'download' | 'book-open' | 'link-external' + | 'code' + | 'chat' | External | ModIcons; export type Icons = _Icons; // bypass for Astro compiler issue https://github.com/withastro/compiler/issues/554#issuecomment-1741702411 diff --git a/apps/website/src/components/icons/impl/chat.svg b/apps/website/src/components/icons/impl/chat.svg new file mode 100644 index 0000000..d0dd187 --- /dev/null +++ b/apps/website/src/components/icons/impl/chat.svg @@ -0,0 +1,3 @@ + diff --git a/apps/website/src/components/icons/impl/code.svg b/apps/website/src/components/icons/impl/code.svg new file mode 100644 index 0000000..bc87d0a --- /dev/null +++ b/apps/website/src/components/icons/impl/code.svg @@ -0,0 +1,3 @@ + diff --git a/apps/website/src/layouts/Layout.astro b/apps/website/src/layouts/Layout.astro index 660083a..6f34d9c 100644 --- a/apps/website/src/layouts/Layout.astro +++ b/apps/website/src/layouts/Layout.astro @@ -1,10 +1,11 @@ --- import Footer from '@components/base/Footer.astro'; import Favicon from '/media/polyfrost/minimal_bg.svg?url'; -import 'locomotive-scroll/dist/locomotive-scroll.min.css'; import Navbar from '../components/base/navbar/Navbar.astro'; import '../styles/global.css'; +// import 'locomotive-scroll/dist/locomotive-scroll.min.css'; + interface Props { title?: string description?: string @@ -37,18 +38,18 @@ const {
-