created basic footer
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
a48039a480
commit
d00cd2763e
@ -1,12 +1,44 @@
|
||||
"use client";
|
||||
|
||||
import { Divider, Link } from "@nextui-org/react";
|
||||
import { Component } from "@typings/component";
|
||||
|
||||
export const Footer: Component = () => {
|
||||
import { ThemeSwitcher } from "./ThemeSwitcher";
|
||||
|
||||
import FooterProps from "@models/footer";
|
||||
|
||||
export const Footer: Component<{ data: FooterProps }> = ({ data }) => {
|
||||
return (
|
||||
<div className="container mx-auto columns-4">
|
||||
<div className="w-full">hi</div>
|
||||
<div className="w-full">hi</div>
|
||||
<div className="w-full">hi</div>
|
||||
<div className="w-full">hi</div>
|
||||
<div className="container mx-auto grid grid-flow-col justify-stretch my-4">
|
||||
<div className="mx-4">
|
||||
<h1 className="text-xl">
|
||||
Created with{" "}
|
||||
<span role="img" aria-label="Red Heart">
|
||||
❤️
|
||||
</span>{" "}
|
||||
by Guus van Meerveld
|
||||
</h1>
|
||||
|
||||
<Divider className="my-4" />
|
||||
|
||||
<ThemeSwitcher />
|
||||
</div>
|
||||
|
||||
{data.columns.map((column) => (
|
||||
<div className="mx-4" key={column.title.toLowerCase()}>
|
||||
<h1 className="text-xl">{column.title}</h1>
|
||||
|
||||
<Divider className="mt-4" />
|
||||
|
||||
{column.links.map((link) => (
|
||||
<div className="my-4" key={link.url}>
|
||||
<Link className="text-default-500" href={link.url}>
|
||||
{link.text}
|
||||
</Link>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -0,0 +1,48 @@
|
||||
"use client";
|
||||
|
||||
import {
|
||||
Button,
|
||||
Link,
|
||||
Navbar,
|
||||
NavbarBrand,
|
||||
NavbarContent,
|
||||
NavbarItem
|
||||
} from "@nextui-org/react";
|
||||
import { Component } from "@typings/component";
|
||||
|
||||
export const Nav: Component = () => {
|
||||
return (
|
||||
<Navbar position="sticky">
|
||||
<NavbarBrand>
|
||||
<p className="font-bold text-inherit">ACME</p>
|
||||
</NavbarBrand>
|
||||
<NavbarContent className="hidden sm:flex gap-4" justify="center">
|
||||
<NavbarItem>
|
||||
<Link color="foreground" href="#">
|
||||
Features
|
||||
</Link>
|
||||
</NavbarItem>
|
||||
<NavbarItem isActive>
|
||||
<Link href="#" aria-current="page">
|
||||
Customers
|
||||
</Link>
|
||||
</NavbarItem>
|
||||
<NavbarItem>
|
||||
<Link color="foreground" href="#">
|
||||
Integrations
|
||||
</Link>
|
||||
</NavbarItem>
|
||||
</NavbarContent>
|
||||
<NavbarContent justify="end">
|
||||
<NavbarItem className="hidden lg:flex">
|
||||
<Link href="#">Login</Link>
|
||||
</NavbarItem>
|
||||
<NavbarItem>
|
||||
<Button as={Link} color="primary" href="#" variant="flat">
|
||||
Sign Up
|
||||
</Button>
|
||||
</NavbarItem>
|
||||
</NavbarContent>
|
||||
</Navbar>
|
||||
);
|
||||
};
|
Loading…
Reference in new issue