Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Bosh Sahifa",
|
||||
"href": "#hero"
|
||||
"name": "Bosh Sahifa", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Sayyoralar",
|
||||
"href": "#features"
|
||||
"name": "Sayyoralar", "href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Quiz",
|
||||
"href": "#faq"
|
||||
"name": "Quiz", "href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Product",
|
||||
"href": "#product"
|
||||
"name": "Product", "href": "#product"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -43,11 +36,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Koinot"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1614730321146-b6fa6a46bcb4?w=128&h=128&fit=crop&q=80"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/cartoon-style-portrait-two-child-austronauts_23-2151108876.jpg"
|
||||
ctaButton={{
|
||||
text: "Boshlash",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Boshlash", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -58,25 +49,19 @@ export default function Layout() {
|
||||
brand="Koinot Sayohati"
|
||||
columns={[
|
||||
{
|
||||
title: "Bolalar uchun",
|
||||
items: [
|
||||
title: "Bolalar uchun", items: [
|
||||
{
|
||||
label: "Sayyoralar",
|
||||
href: "#features",
|
||||
},
|
||||
label: "Sayyoralar", href: "#features"},
|
||||
{
|
||||
label: "O'yinlar",
|
||||
href: "#product",
|
||||
},
|
||||
label: "O'yinlar", href: "#product"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
]
|
||||
}
|
||||
copyright="2024 Koinot Sayohati Inc."
|
||||
links={[
|
||||
{
|
||||
label: "Maxfiylik",
|
||||
href: "#",
|
||||
},
|
||||
label: "Maxfiylik", href: "#"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user