content writing
This commit is contained in:
parent
df83c9d3f0
commit
537ac284a1
13 changed files with 104 additions and 108 deletions
|
|
@ -1,23 +0,0 @@
|
|||
"use client"
|
||||
import { useChat } from "ai/react"
|
||||
|
||||
export default function Chat() {
|
||||
const { messages, input, handleInputChange, handleSubmit } = useChat()
|
||||
|
||||
return (
|
||||
<div>
|
||||
{messages.map((m) => (
|
||||
<div key={m.id}>
|
||||
{m.role}: {m.content}
|
||||
</div>
|
||||
))}
|
||||
|
||||
<form onSubmit={handleSubmit}>
|
||||
<label>
|
||||
Say something...
|
||||
<input value={input} onChange={handleInputChange} />
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
@ -1,9 +1,13 @@
|
|||
import Image from "next/image";
|
||||
import Image from "next/image"
|
||||
|
||||
export default function Footer() {
|
||||
return (
|
||||
<footer className="flex justify-center bg-primary-800 p-4 text-primary-100">
|
||||
<Image width={250} height={250} className="block h-8 w-auto" src="/Isacon logo RGB_1.png" alt="Isacon" />
|
||||
<footer className="flex flex-col bg-primary-800 p-4 text-primary-100">
|
||||
<div className="grid mx-auto text-center gap-1">
|
||||
<Image width={250} height={250} className="block mx-auto h-8 w-auto" src="/Isacon logo RGB_1.png" alt="Isacon" />
|
||||
<div>+32496799751</div>
|
||||
<div>Kammenstraat 57, 2000 Antwerpen</div>
|
||||
</div>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ export default function Nav() {
|
|||
current: currentRoute === "/about",
|
||||
},
|
||||
{
|
||||
label: "Projects",
|
||||
href: "/projects",
|
||||
current: currentRoute === "/projects",
|
||||
label: "Services",
|
||||
href: "/services",
|
||||
current: currentRoute === "/services",
|
||||
},
|
||||
{
|
||||
label: "Contact",
|
||||
|
|
@ -67,7 +67,11 @@ export default function Nav() {
|
|||
<NavbarContent className="hidden gap-4 md:flex" justify="center">
|
||||
{menuItems.map((item) => (
|
||||
<NavbarItem key={item.href} isActive={item.current}>
|
||||
<Link href={item.href} aria-current={item.current ? "page" : undefined}>
|
||||
<Link
|
||||
className={item.current ? "border-b-2 border-b-primary-50" : ""}
|
||||
href={item.href}
|
||||
aria-current={item.current ? "page" : undefined}
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
</NavbarItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue