From ea9eadc49592abfadd09b941140a30cdd7edc210 Mon Sep 17 00:00:00 2001 From: Delta1925 Date: Sat, 15 Apr 2023 23:46:29 +0200 Subject: [PATCH] Add basic functionality --- public/favicon.svg | 9 --------- src/layouts/Layout.astro | 4 ++-- src/pages/delete.astro | 32 ++++++++++++++++++++++++++++++++ src/pages/index.astro | 13 +++++++++++-- src/pages/submit.astro | 31 +++++++++++++++++++++++++++++++ src/styles/global.css | 15 +++++++++++++++ 6 files changed, 91 insertions(+), 13 deletions(-) delete mode 100644 public/favicon.svg create mode 100644 src/pages/delete.astro create mode 100644 src/pages/submit.astro create mode 100644 src/styles/global.css diff --git a/public/favicon.svg b/public/favicon.svg deleted file mode 100644 index f157bd1..0000000 --- a/public/favicon.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 9359d22..7465533 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -7,7 +7,7 @@ const { title } = Astro.props; --- - + @@ -15,7 +15,7 @@ const { title } = Astro.props; {title} - + diff --git a/src/pages/delete.astro b/src/pages/delete.astro new file mode 100644 index 0000000..d0436a3 --- /dev/null +++ b/src/pages/delete.astro @@ -0,0 +1,32 @@ +--- +import Layout from "../layouts/Layout.astro"; +import "../styles/global.css"; +--- + + +
+
+
+ + + +
+
+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index cebd905..aa504eb 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,16 @@ --- import Layout from "../layouts/Layout.astro"; +import "../styles/global.css"; --- - -

simple-wkd-website

+ +
+
+

What would you like to do?

+ +
+
diff --git a/src/pages/submit.astro b/src/pages/submit.astro new file mode 100644 index 0000000..941a92b --- /dev/null +++ b/src/pages/submit.astro @@ -0,0 +1,31 @@ +--- +import Layout from "../layouts/Layout.astro"; +import "../styles/global.css"; +--- + + +
+
+
+ + + +
+
+
+
diff --git a/src/styles/global.css b/src/styles/global.css new file mode 100644 index 0000000..d35dd7a --- /dev/null +++ b/src/styles/global.css @@ -0,0 +1,15 @@ +.button { + @apply bg-teal-50; + @apply p-4; + @apply hover:drop-shadow-md; + @apply hover:rounded-lg; +} + +.round, +.button { + @apply border-black; + @apply border; + @apply rounded-tr-lg; + @apply rounded-bl-lg; + @apply transition-all; +} \ No newline at end of file