1 Commits

Author SHA1 Message Date
BlackDives
4d43f2c3bd SR-010: Basic layout for navigation created 2023-04-30 13:00:33 -05:00

View File

@@ -25,6 +25,7 @@ export default Home;
const Hero = () => {
return (
<>
<Nav />
<h1 className="py-3 font-roadster text-5xl text-black">Sunrise</h1>
<p className="leading-relaxed text-black">
Creating software that looks and works great is our specialty at
@@ -35,6 +36,30 @@ const Hero = () => {
</>
);
};
const Nav = () => {
const Links = [
{ id: 1, title: "Services" },
{ id: 2, title: "Projects" },
{ id: 3, title: "About" },
{ id: 4, title: "Contact" },
];
return (
<div className="flex h-[100px] w-full flex-row items-center justify-around">
<div className="flex flex-row items-center">
<img src="icons/sun-full.svg" />
<h3 className="h-full px-3 font-roadster text-[32px]">Sunrise</h3>
</div>
<nav className="flex list-none flex-row">
{Links.map((link) => (
<li className="px-5">
<a className="text-[20px] font-extrabold">{link.title}</a>
</li>
))}
</nav>
</div>
);
};
// const Services = () => {}
// const Projects = () => {}
// const About = () => {}