From 38bec6c326ad7ac02f2db74f189144239fcbc336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyril=20=C5=A0ebek?= Date: Tue, 2 Apr 2024 21:04:11 +0200 Subject: [PATCH] Started work on the Hero section. --- src/components/Hero.astro | 11 +++++++++++ src/components/Navbar.astro | 12 ++++++------ src/components/Navlink.astro | 9 +++++++-- src/layouts/MainLayout.astro | 8 ++++---- src/pages/[lang]/contact/index.astro | 16 ++++++++++++++++ src/pages/[lang]/index.astro | 5 +++-- src/pages/index.astro | 10 +++++++--- src/style/index.css | 8 ++++---- tailwind.config.mjs | 19 ++++++++++++++----- 9 files changed, 72 insertions(+), 26 deletions(-) create mode 100644 src/components/Hero.astro create mode 100644 src/pages/[lang]/contact/index.astro diff --git a/src/components/Hero.astro b/src/components/Hero.astro new file mode 100644 index 0000000..f4fb3ff --- /dev/null +++ b/src/components/Hero.astro @@ -0,0 +1,11 @@ +
+
+

Lorem Ipsum

+

Dolor sit amet Et non saepe harum corrupti dicta. Placeat dignissimos quia atque velit distinctio amet Et non saepe harum corrupti dicta. Placeat dignissimos quia atque velit distinctio consequatur aut.

+
+
+ +
+ + +
\ No newline at end of file diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 72653f2..2eada85 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -3,21 +3,21 @@ import Navlink from "./Navlink.astro"; const links = [ { display: "Home", - icon: "H", href: "/" - },{ + }, { display: "Blog", - icon: "B", href: "/blog" }, { display: "About", - icon: "A", href: "/about" + }, { + display: "Contact", + href: "/contact" } ]; --- -