From b22461cd61ffee4b0405b00a8cbbf264577cebb1 Mon Sep 17 00:00:00 2001
From: ASOwnerYT
Date: Fri, 29 Nov 2024 21:53:46 +1300
Subject: [PATCH] i forgot
---
src/app/assets/close.svg | 4 ++++
src/app/components/Button.js | 7 +++++++
src/app/components/Button.module.css | 20 ++++++++++++++++++++
src/app/components/Navbar.js | 21 ++++++++++++++++-----
src/app/components/Navbar.module.css | 26 +++++++++++---------------
src/app/globals.css | 14 +++-----------
src/app/page.js | 24 ++++++++++++++++++++++++
src/app/page.module.css | 2 ++
8 files changed, 87 insertions(+), 31 deletions(-)
create mode 100644 src/app/assets/close.svg
create mode 100644 src/app/components/Button.js
create mode 100644 src/app/components/Button.module.css
diff --git a/src/app/assets/close.svg b/src/app/assets/close.svg
new file mode 100644
index 0000000..c72beee
--- /dev/null
+++ b/src/app/assets/close.svg
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/src/app/components/Button.js b/src/app/components/Button.js
new file mode 100644
index 0000000..1ab86c0
--- /dev/null
+++ b/src/app/components/Button.js
@@ -0,0 +1,7 @@
+import styles from "./Button.module.css";
+
+export default function Button({ children, onClick }) {
+ return (
+
+ );
+}
\ No newline at end of file
diff --git a/src/app/components/Button.module.css b/src/app/components/Button.module.css
new file mode 100644
index 0000000..a4854b2
--- /dev/null
+++ b/src/app/components/Button.module.css
@@ -0,0 +1,20 @@
+.button {
+ background-color: white;
+ border: none;
+ color: black;
+ padding: 1em 2em;
+ text-align: center;
+ text-decoration: none;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 0.5em;
+ font-size: 1em;
+ cursor: pointer;
+ border-radius: 5px;
+}
+
+.button svg {
+ width: 1em;
+ height: 1em;
+}
\ No newline at end of file
diff --git a/src/app/components/Navbar.js b/src/app/components/Navbar.js
index afa895c..9de0ab3 100644
--- a/src/app/components/Navbar.js
+++ b/src/app/components/Navbar.js
@@ -1,10 +1,21 @@
+"use client"
+
+import { useState } from "react";
import Image from "next/image";
-import Link from 'next/link'
+import Link from "next/link";
import styles from "./Navbar.module.css";
import logo from "../assets/logo.svg";
import menu from "../assets/menu.svg";
+import close from "../assets/close.svg"
export default function Navbar() {
+ const [isActive, setActive] = useState("false");
+
+ function handleToggle() {
+ setActive(!isActive);
+ console.log("asdhjiuashd")
+ }
+
return (
+
+
+
+ Get in touch with us today
+
+
+
+
);
diff --git a/src/app/page.module.css b/src/app/page.module.css
index 8de1aa9..57d1168 100644
--- a/src/app/page.module.css
+++ b/src/app/page.module.css
@@ -1,6 +1,7 @@
.header {
position: relative;
height: 50em;
+ margin-bottom: 3.5em;
}
.header img {
@@ -24,6 +25,7 @@
.header {
height: 50em;
clip-path: polygon(0 0, 100% 0, 100% 25em, 0 100%);
+ margin-bottom: none;
}
.textbox {