new title and links

This commit is contained in:
Emily Neighbour 2025-03-17 13:21:02 +00:00
parent 4b0c6025ad
commit e296c56778
9 changed files with 78 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -0,0 +1,11 @@
import Navbar from "@/components/navbar";
export default function Earthquakes() {
return (
<div className="w-full h-full">
<Navbar></Navbar>
<p>Earthquakes</p>
</div>
)
}

View File

10
src/app/login/page.tsx Normal file
View File

@ -0,0 +1,10 @@
import Navbar from "@/components/navbar";
export default function User() {
return (
<div className="w-full h-full">
<Navbar></Navbar>
<p>User</p>
</div>
)
}

View File

@ -0,0 +1,10 @@
import Navbar from "@/components/navbar";
export default function Observatories() {
return (
<div className="w-full h-full">
<Navbar></Navbar>
<p>Observatories</p>
</div>
)
}

View File

@ -11,10 +11,11 @@ return (
</div> </div>
<div className="absolute inset-0 bg-gradient-to-b from-transparent via-black/50 to-black/80"></div> <div className="absolute inset-0 bg-gradient-to-b from-transparent via-black/50 to-black/80"></div>
<div className="flex inset-0 w-full absolute mt-24 float"> <div className="flex inset-0 w-full absolute mt-24 float">
<p className="mx-auto text-7xl text-white font-bold font-[roboto]">Tremor Tracker</p> <p className="mx-auto text-7xl text-white font-bold font-[roboto]">
<Image height={300} width={750} alt="Title Image" src="/tremortrackertext.png"></Image>
</p>
</div> </div>
</div> </div>
</main> </main>
) )

10
src/app/shop/page.tsx Normal file
View File

@ -0,0 +1,10 @@
import Navbar from "@/components/navbar";
export default function Shop() {
return (
<div className="w-full h-full">
<Navbar></Navbar>
<p>Shop</p>
</div>
)
}

View File

@ -0,0 +1,10 @@
import Navbar from "@/components/navbar";
export default function Warehouse() {
return (
<div className="w-full h-full">
<Navbar></Navbar>
<p>Warehouse</p>
</div>
)
}

View File

@ -2,7 +2,7 @@
import Image from "next/image"; import Image from "next/image";
import Link from "next/link"; import Link from "next/link";
import { useState, useEffect, useRef} from "react"; import { useState, useEffect, useRef } from "react";
export default function Navbar() { export default function Navbar() {
const [isDropdownOpen, setIsDropdownOpen] = useState(false); const [isDropdownOpen, setIsDropdownOpen] = useState(false);
@ -42,10 +42,26 @@ export default function Navbar() {
{/* <p className="m-auto text-sm">Logo</p> */} {/* <p className="m-auto text-sm">Logo</p> */}
</div> </div>
<div className="flex"> <div className="flex">
<button className="px-6">Earthquakes</button> <button className="px-6">
<button className="px-6">Observatories</button> <Link href="/earthquakes">
<button className="px-6">Warehouse</button> Earthquakes
<button className="px-6">Shop</button> </Link>
</button>
<button className="px-6">
<Link href="/observatories">
Observatories
</Link>
</button>
<button className="px-6">
<Link href="/warehouse">
Warehouse
</Link>
</button>
<button className="px-6">
<Link href="/shop">
Shop
</Link>
</button>
<div className="my-auto relative"> <div className="my-auto relative">
<button <button