diff options
author | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2024-01-07 14:06:40 +0100 |
---|---|---|
committer | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2024-01-07 14:06:40 +0100 |
commit | b5e0f464afff6f58b3ac40c9aa5859dfd326bab5 (patch) | |
tree | 0bf364ba9a794ef798591abe50bcc4de3c72e20d /apps | |
parent | 9e95047521bd886e3104532712eb929d2e475c6d (diff) | |
download | Nexus-b5e0f464afff6f58b3ac40c9aa5859dfd326bab5.tar.gz Nexus-b5e0f464afff6f58b3ac40c9aa5859dfd326bab5.tar.bz2 Nexus-b5e0f464afff6f58b3ac40c9aa5859dfd326bab5.zip |
TOS + Privacy
Diffstat (limited to 'apps')
-rw-r--r-- | apps/website/config.ts | 2 | ||||
-rw-r--r-- | apps/website/src/layouts/Layout.astro | 5 | ||||
-rw-r--r-- | apps/website/src/pages/about.astro | 2 | ||||
-rw-r--r-- | apps/website/src/pages/privacy.astro | 22 | ||||
-rw-r--r-- | apps/website/src/pages/tos.astro | 22 |
5 files changed, 48 insertions, 5 deletions
diff --git a/apps/website/config.ts b/apps/website/config.ts index b0d7211..07cbf0f 100644 --- a/apps/website/config.ts +++ b/apps/website/config.ts @@ -84,7 +84,7 @@ export const configConst = { links: [ { text: 'Terms of service', - url: '/terms', + url: '/tos', }, { text: 'Privacy policy', diff --git a/apps/website/src/layouts/Layout.astro b/apps/website/src/layouts/Layout.astro index 6f34d9c..a14bc65 100644 --- a/apps/website/src/layouts/Layout.astro +++ b/apps/website/src/layouts/Layout.astro @@ -38,11 +38,10 @@ const { <body class="bg-gray-50 overflow-x-hidden"> - <main class="min-h-screen h-auto flex flex-col gap-40" > - <Navbar /> + <Navbar /> + <main class="min-h-screen h-auto flex flex-col gap-40" > <slot/> - <Footer /> </main> diff --git a/apps/website/src/pages/about.astro b/apps/website/src/pages/about.astro index 11568d3..035d3ae 100644 --- a/apps/website/src/pages/about.astro +++ b/apps/website/src/pages/about.astro @@ -11,7 +11,7 @@ import Layout from '@layouts/Layout.astro'; <Section class="flex-col justify-center items-center h-screen max-h-4/5-screen md:max-h-[600px] md:min-h-[400px]"> <div class="max-w-[600px] flex flex-col text-center justify-center items-center gap-y-2"> <Header align="center" size="xxl" class="text-navy-peony">Our journey</Header> - <Paragraph size="lg" class="text-blue-gray">From an aspring team just trying to make a cool thing, to what we now call Polyfrost, we've made a lot of progress.</Paragraph> + <Paragraph size="lg" class="text-blue-gray">From an aspiring team just trying to make a cool thing, to what we now call Polyfrost, we've made a lot of progress.</Paragraph> </div> </Section> diff --git a/apps/website/src/pages/privacy.astro b/apps/website/src/pages/privacy.astro new file mode 100644 index 0000000..d3940f2 --- /dev/null +++ b/apps/website/src/pages/privacy.astro @@ -0,0 +1,22 @@ +--- +import Header from '@components/base/Header.astro'; +import Paragraph from '@components/base/Paragraph.astro'; +import Section from '@components/base/Section.astro'; +import Layout from '@layouts/Layout.astro'; + +const policy = ` +Currently, we do not offer any services that require a privacy policy! +This will be updated in the future, if necessary. +`.trim(); +--- + +<Layout> + <Section hFull class="justify-center items-start pt-32"> + <div class="flex flex-col justify-start items-start w-full text-navy-peony"> + <Header> + Privacy Policy + </Header> + <Paragraph class="whitespace-pre-line">{policy}</Paragraph> + </div> + </Section> +</Layout> diff --git a/apps/website/src/pages/tos.astro b/apps/website/src/pages/tos.astro new file mode 100644 index 0000000..6ed2009 --- /dev/null +++ b/apps/website/src/pages/tos.astro @@ -0,0 +1,22 @@ +--- +import Header from '@components/base/Header.astro'; +import Paragraph from '@components/base/Paragraph.astro'; +import Section from '@components/base/Section.astro'; +import Layout from '@layouts/Layout.astro'; + +const tos = ` +Currently, we do not offer any services that require a terms of service! +This will be updated in the future, if necessary. +`.trim(); +--- + +<Layout> + <Section hFull class="justify-center items-start pt-32"> + <div class="flex flex-col justify-start items-start w-full text-navy-peony"> + <Header> + Terms of Service + </Header> + <Paragraph class="whitespace-pre-line">{tos}</Paragraph> + </div> + </Section> +</Layout> |