From 1cb220ef54ddaf635b322d8c24f38613f371285e Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 5 Jun 2022 15:43:08 +0200 Subject: feat: New frontpage --- apps/frontpage/src/app.d.ts | 10 ---- apps/frontpage/src/app.html | 20 ++++--- apps/frontpage/src/routes/__layout.svelte | 80 ++++++++++++++++++++++++++ apps/frontpage/src/routes/app.scss | 7 +++ apps/frontpage/src/routes/docs/__layout.svelte | 4 ++ apps/frontpage/src/routes/docs/index.svelte | 1 + apps/frontpage/src/routes/index.svelte | 2 +- apps/frontpage/src/routes/privacy.svelte | 1 + apps/frontpage/src/routes/terms.svelte | 1 + 9 files changed, 106 insertions(+), 20 deletions(-) delete mode 100644 apps/frontpage/src/app.d.ts create mode 100644 apps/frontpage/src/routes/__layout.svelte create mode 100644 apps/frontpage/src/routes/app.scss create mode 100644 apps/frontpage/src/routes/docs/__layout.svelte create mode 100644 apps/frontpage/src/routes/docs/index.svelte create mode 100644 apps/frontpage/src/routes/privacy.svelte create mode 100644 apps/frontpage/src/routes/terms.svelte (limited to 'apps/frontpage/src') diff --git a/apps/frontpage/src/app.d.ts b/apps/frontpage/src/app.d.ts deleted file mode 100644 index 121720c..0000000 --- a/apps/frontpage/src/app.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/// - -// See https://kit.svelte.dev/docs/types#app -// for information about these interfaces -declare namespace App { - // interface Locals {} - // interface Platform {} - // interface Session {} - // interface Stuff {} -} diff --git a/apps/frontpage/src/app.html b/apps/frontpage/src/app.html index 3dff376..917c2aa 100644 --- a/apps/frontpage/src/app.html +++ b/apps/frontpage/src/app.html @@ -1,12 +1,14 @@ - - - - - %sveltekit.head% - - -
%sveltekit.body%
- + + + + + %sveltekit.head% + + +
%sveltekit.body%
+ diff --git a/apps/frontpage/src/routes/__layout.svelte b/apps/frontpage/src/routes/__layout.svelte new file mode 100644 index 0000000..f1a7eaa --- /dev/null +++ b/apps/frontpage/src/routes/__layout.svelte @@ -0,0 +1,80 @@ + + +
+ Greatoffice + +
+ + + +
+ + +
+ +
+
diff --git a/apps/frontpage/src/routes/app.scss b/apps/frontpage/src/routes/app.scss new file mode 100644 index 0000000..73a46ba --- /dev/null +++ b/apps/frontpage/src/routes/app.scss @@ -0,0 +1,7 @@ +@use '../../web-shared/src/styles/base' as *; +@use '../../web-shared/src/styles/custom-style/colors'; +@use '../../web-shared/src/styles/custom-style/spacing'; +@use '../../web-shared/src/styles/custom-style/shared-styles'; +@use '../../web-shared/src/styles/custom-style/typography'; +@use '../../web-shared/src/styles/custom-style/util'; +@use '../../web-shared/src/styles/components/responsive-sidebar'; diff --git a/apps/frontpage/src/routes/docs/__layout.svelte b/apps/frontpage/src/routes/docs/__layout.svelte new file mode 100644 index 0000000..34c3139 --- /dev/null +++ b/apps/frontpage/src/routes/docs/__layout.svelte @@ -0,0 +1,4 @@ + + \ No newline at end of file diff --git a/apps/frontpage/src/routes/docs/index.svelte b/apps/frontpage/src/routes/docs/index.svelte new file mode 100644 index 0000000..da83065 --- /dev/null +++ b/apps/frontpage/src/routes/docs/index.svelte @@ -0,0 +1 @@ +

Documentation

\ No newline at end of file diff --git a/apps/frontpage/src/routes/index.svelte b/apps/frontpage/src/routes/index.svelte index 8038f19..ae068f6 100644 --- a/apps/frontpage/src/routes/index.svelte +++ b/apps/frontpage/src/routes/index.svelte @@ -1 +1 @@ -

Welcome to Greatoffice

+

About

diff --git a/apps/frontpage/src/routes/privacy.svelte b/apps/frontpage/src/routes/privacy.svelte new file mode 100644 index 0000000..aaff3a9 --- /dev/null +++ b/apps/frontpage/src/routes/privacy.svelte @@ -0,0 +1 @@ +

Privacy Policy

diff --git a/apps/frontpage/src/routes/terms.svelte b/apps/frontpage/src/routes/terms.svelte new file mode 100644 index 0000000..d495e19 --- /dev/null +++ b/apps/frontpage/src/routes/terms.svelte @@ -0,0 +1 @@ +

Terms of service

-- cgit v1.3