Update src/app/faq/page.tsx
This commit is contained in:
@@ -6,7 +6,6 @@ import FaqDouble from "@/components/sections/faq/FaqDouble";
|
|||||||
import ContactCTA from "@/components/sections/contact/ContactCTA";
|
import ContactCTA from "@/components/sections/contact/ContactCTA";
|
||||||
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
|
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
|
||||||
import { MessageCircle } from "lucide-react";
|
import { MessageCircle } from "lucide-react";
|
||||||
import Link from "next/link";
|
|
||||||
|
|
||||||
export default function FAQPage() {
|
export default function FAQPage() {
|
||||||
const navItems = [
|
const navItems = [
|
||||||
@@ -52,20 +51,6 @@ export default function FAQPage() {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const CustomNavbarWrapper = () => (
|
|
||||||
<div id="nav" data-section="nav">
|
|
||||||
<NavbarStyleCentered
|
|
||||||
navItems={navItems.map((item) => ({
|
|
||||||
name: item.name,
|
|
||||||
id: item.id,
|
|
||||||
}))}
|
|
||||||
button={{
|
|
||||||
text: "Jetzt anfragen", href: "/kontakt"}}
|
|
||||||
brandName="KFZ Gutachter Berlin"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="expand-hover"
|
defaultButtonVariant="expand-hover"
|
||||||
@@ -79,7 +64,17 @@ export default function FAQPage() {
|
|||||||
secondaryButtonStyle="solid"
|
secondaryButtonStyle="solid"
|
||||||
headingFontWeight="normal"
|
headingFontWeight="normal"
|
||||||
>
|
>
|
||||||
<CustomNavbarWrapper />
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered
|
||||||
|
navItems={navItems.map((item) => ({
|
||||||
|
name: item.name,
|
||||||
|
id: item.id,
|
||||||
|
}))}
|
||||||
|
button={{
|
||||||
|
text: "Jetzt anfragen", href: "/kontakt"}}
|
||||||
|
brandName="KFZ Gutachter Berlin"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="faq" data-section="faq">
|
<div id="faq" data-section="faq">
|
||||||
<FaqDouble
|
<FaqDouble
|
||||||
|
|||||||
Reference in New Issue
Block a user