Merge version_3 into main
Merge version_3 into main
This commit was merged in pull request #6.
This commit is contained in:
@@ -12,9 +12,27 @@ import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleAp
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
|
||||
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
|
||||
import { Heart, Palette, Scissors, Sparkles, User, Wind } from "lucide-react";
|
||||
import { Heart, Palette, Scissors, Sparkles, User, Wind, Languages } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const [lang, setLang] = useState("RU");
|
||||
|
||||
const LanguageSwitcher = () => (
|
||||
<div className="flex items-center gap-2 bg-card px-3 py-1 rounded-full border border-accent/20">
|
||||
<Languages size={16} />
|
||||
{['RU', 'RO', 'EN'].map((l) => (
|
||||
<button
|
||||
key={l}
|
||||
onClick={() => setLang(l)}
|
||||
className={`text-xs font-medium ${lang === l ? 'text-primary-cta' : 'text-foreground/60 hover:text-foreground'}`}
|
||||
>
|
||||
{l}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
@@ -187,7 +205,7 @@ export default function LandingPage() {
|
||||
logoText="INESSA"
|
||||
columns={[
|
||||
{ title: "Navigation", items: [{ label: "Home", href: "#hero" }, { label: "Services", href: "#services" }] },
|
||||
{ title: "Languages", items: [{ label: "RO / RU / FR / EN", href: "#" }] },
|
||||
{ title: "Languages", items: [{ label: <LanguageSwitcher />, href: "#" }] },
|
||||
{ title: "Legal", items: [{ label: "Privacy Policy", href: "#" }] },
|
||||
]}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user