Merge version_2 into main #2
@@ -1,49 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "@/styles/globals.css";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const nunito = Nunito({
|
||||
variable: "--font-nunito", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Supermercado Tropical | Qualidade e Economia no Seu Bairro", description: "Supermercado de bairro em Senador Canedo com produtos frescos, preços acessíveis e atendimento rápido. Confira horários, localização e promoções.", keywords: "supermercado, bairro, Senador Canedo, compras, alimentos frescos, promoções, hortifruti, açougue", robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
title: "Supermercado Tropical - Qualidade Perto de Você", description: "Supermercado local com produtos frescos, preços econômicos e atendimento de excelência.", url: "https://supermercadotropical.com.br", siteName: "Supermercado Tropical", type: "website"},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Supermercado Tropical", description: "Qualidade e economia perto de você"},
|
||||
};
|
||||
title: "Supermercado Tropical", description: "Supermercado de bairro com qualidade e economia"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="pt-BR">
|
||||
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1411,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import { Heart, Leaf, DollarSign, Users, Beef, ShoppingBag, Wine, Sparkles, Gift, MapPin, MessageCircle, Phone, Mail, Star } from 'lucide-react';
|
||||
import { Heart, Leaf, DollarSign, Users, Beef, ShoppingBag, Wine, Sparkles, Gift, MapPin, MessageCircle, Phone, Mail, Star, Navigation, Smartphone } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const navItems = [
|
||||
@@ -19,6 +19,19 @@ export default function LandingPage() {
|
||||
{ name: "Contato", id: "contact" },
|
||||
];
|
||||
|
||||
const handleDirections = () => {
|
||||
const address = "Av. Rio de Janeiro, 542 - Condomínio Portugal, Senador Canedo - GO, 75254-540";
|
||||
const mapsUrl = `https://www.google.com/maps/search/${encodeURIComponent(address)}`;
|
||||
window.open(mapsUrl, "_blank");
|
||||
};
|
||||
|
||||
const handleWhatsApp = () => {
|
||||
const address = "Av. Rio de Janeiro, 542 - Condomínio Portugal, Senador Canedo - GO, 75254-540";
|
||||
const message = `Olá! Gostaria de obter mais informações sobre a localização: ${address}`;
|
||||
const whatsappUrl = `https://wa.me/556298426-0146?text=${encodeURIComponent(message)}`;
|
||||
window.open(whatsappUrl, "_blank");
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
@@ -152,9 +165,9 @@ export default function LandingPage() {
|
||||
imageAlt="Mapa com localização do Supermercado Tropical"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
inputPlaceholder="seu@email.com"
|
||||
buttonText="Enviar Direções"
|
||||
termsText="Clique para enviar localização via WhatsApp"
|
||||
inputPlaceholder="Clique para abrir opções"
|
||||
buttonText="Obter Direções"
|
||||
termsText="Escolha: Abrir Mapa ou Enviar WhatsApp"
|
||||
onSubmit={() => {}}
|
||||
ariaLabel="Seção de localização e contato"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user