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 { -
- +
+ -
+
- --> diff --git a/apps/website/src/pages/contact.astro b/apps/website/src/pages/contact.astro index 0dc70bd..fcaba1b 100644 --- a/apps/website/src/pages/contact.astro +++ b/apps/website/src/pages/contact.astro @@ -1,13 +1,53 @@ --- +import Button from '@components/base/Button.astro'; +import Header from '@components/base/Header.astro'; +import Paragraph from '@components/base/Paragraph.astro'; import Section from '@components/base/Section.astro'; +import Icon from '@components/icons/Icon.astro'; import Layout from '@layouts/Layout.astro'; --- -
+
+
Feeling social? Come chat with us
+ + We primarily connect with our community with Discord, however we regularly check Github as well blah blah blah + +
+ {/* GitHub */} +
+ +
GitHub
+
+ + 69 commits a week +
+ + We love open source, so all of our projects are OSS. Anyone is welcome to contribute new features (and bugs) to our mods + + + +
+ + {/* Discord */} +
+ +
Discord
+
+ + 69 commits a week +
+ + + Join us today! It's the easiest way to chat with other members, suggest new features, and get support with your mods + + + +
+
diff --git a/apps/website/src/styles/global.css b/apps/website/src/styles/global.css index f29f0f0..371d5e6 100644 --- a/apps/website/src/styles/global.css +++ b/apps/website/src/styles/global.css @@ -24,7 +24,7 @@ html, body { - @apply text-[15px] md:text-[16px] lg:text-[19px] overflow-hidden; + @apply text-[15px] md:text-[16px] lg:text-[19px] /* overflow-hidden */; } a { @@ -32,11 +32,11 @@ } } -[data-scroll-container], [data-scroll-section] { +/* [data-scroll-container], [data-scroll-section] { transform-style: preserve-3d; will-change: transform; perspective: 1px; -} +} */ main { @apply overflow-x-hidden; diff --git a/apps/website/tailwind.config.ts b/apps/website/tailwind.config.ts index efc7364..3085e78 100644 --- a/apps/website/tailwind.config.ts +++ b/apps/website/tailwind.config.ts @@ -18,6 +18,9 @@ const config: Config = { 600: 'rgba(9, 84, 165, 1)', 800: 'rgba(19, 43, 83, 1)', }, + 'green': { + 300: 'rgba(35, 154, 96, 0.5)', + }, 'gray': { 50: 'rgba(240, 242, 244, 1)', 200: 'rgba(196, 202, 212, 1)', -- cgit