Merge version_3 into main #9

Merged
bender merged 3 commits from version_3 into main 2026-03-08 05:00:25 +00:00
3 changed files with 33 additions and 51 deletions

View File

@@ -1,5 +1,5 @@
"use client";
import { ThemeProvider } from "@/components/ThemeProvider";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
@@ -17,25 +17,28 @@ export default function AboutPage() {
secondaryButtonStyle="glass"
headingFontWeight="bold"
>
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Contact", id: "contact" },
]}
brandName="Inspire Store"
bottomLeftText="Novo Hamburgo, RS"
bottomRightText="hello@inspire.com"
/>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Contact", id: "/contact" },
]}
brandName="Inspire Store"
bottomLeftText="Novo Hamburgo, RS"
bottomRightText="hello@inspire.com"
/>
</div>
<div id="about" data-section="about">
<TextSplitAbout
title="About Us"
description={[
"We are passionate about creating exceptional fashion experiences for women. Our curated collection brings together style, elegance, and quality in every piece.", "Based in Novo Hamburgo, we believe that every woman deserves clothing that makes her feel confident and beautiful. From casual wear to special occasion dresses, we have something for everyone."]}
"We are passionate about creating exceptional fashion experiences for women. Our curated collection brings together style, elegance, and quality in every piece.", "Based in Novo Hamburgo, we believe that every woman deserves clothing that makes her feel confident and beautiful. From casual wear to special occasion dresses, we have something for everyone."
]}
useInvertedBackground={false}
buttons={[
{ text: "Shop Now", href: "/" },
{ text: "Contact Us", href: "contact" },
{ text: "Contact Us", href: "/contact" },
]}
showBorder={false}
/>

View File

@@ -1,15 +1,8 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import "./styles/variables.css";
import "./styles/base.css";
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
import "./styles/globals.css";
export const metadata: Metadata = {
title: "Inspire Store - Moda Feminina em Novo Hamburgo", description: "Vestidinhos femininos, camisa social feminina e looks incríveis para todas as ocasiões. Descubra a Inspire Store, sua loja de roupas femininas perfeita para estilo, elegância e qualidade."};
title: "Inspire Store", description: "Fashion and lifestyle inspiration"};
export default function RootLayout({
children,
@@ -17,24 +10,8 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="pt-BR" suppressHydrationWarning>
<body className={`${inter.variable}`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
(function() {
try {
const saved = localStorage.getItem('theme');
if (saved === 'dark' || (!saved && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
}
} catch (e) {}
})();
`,
}}
/>
<html lang="en">
<body>{children}
<script
dangerouslySetInnerHTML={{
__html: `

View File

@@ -1,5 +1,5 @@
"use client";
import { ThemeProvider } from "@/components/ThemeProvider";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
export default function Home() {
@@ -16,16 +16,18 @@ export default function Home() {
secondaryButtonStyle="glass"
headingFontWeight="bold"
>
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Contact", id: "contact" },
]}
brandName="Inspire Store"
bottomLeftText="Novo Hamburgo, RS"
bottomRightText="hello@inspire.com"
/>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Contact", id: "/contact" },
]}
brandName="Inspire Store"
bottomLeftText="Novo Hamburgo, RS"
bottomRightText="hello@inspire.com"
/>
</div>
</ThemeProvider>
);
}