From 601e1ae833abf95a08f4a2953282eb9230862996 Mon Sep 17 00:00:00 2001 From: Rubem Neto Date: Wed, 5 Feb 2025 11:34:30 +0000 Subject: [PATCH] feat:hide shop --- app/(site)/{shop => (shop)}/page.tsx | 0 app/(site)/{shop => (shop)}/pageContent.tsx | 0 app/(site)/landing/landingInfoData.tsx | 2 +- components/Header/menuData.tsx | 4 ++-- lib/sendEmail.ts | 2 -- 5 files changed, 3 insertions(+), 5 deletions(-) rename app/(site)/{shop => (shop)}/page.tsx (100%) rename app/(site)/{shop => (shop)}/pageContent.tsx (100%) diff --git a/app/(site)/shop/page.tsx b/app/(site)/(shop)/page.tsx similarity index 100% rename from app/(site)/shop/page.tsx rename to app/(site)/(shop)/page.tsx diff --git a/app/(site)/shop/pageContent.tsx b/app/(site)/(shop)/pageContent.tsx similarity index 100% rename from app/(site)/shop/pageContent.tsx rename to app/(site)/(shop)/pageContent.tsx diff --git a/app/(site)/landing/landingInfoData.tsx b/app/(site)/landing/landingInfoData.tsx index 2e423ac..4ba9b8a 100644 --- a/app/(site)/landing/landingInfoData.tsx +++ b/app/(site)/landing/landingInfoData.tsx @@ -8,7 +8,7 @@ export const landingInfoData = [ text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In convallis tortor.", imageSrc: "/images/landing/merch.png", link: { - path: "store", //link to page + path: "/www.instagram.com/aefeup/", //link to page text: "Ver Novidades!", showIcon: true, icon: , diff --git a/components/Header/menuData.tsx b/components/Header/menuData.tsx index f3bf030..d7506c7 100644 --- a/components/Header/menuData.tsx +++ b/components/Header/menuData.tsx @@ -83,10 +83,10 @@ const menuData: Menu[] = [ }, ], }, - { +/* { title: "Loja", path: "/shop", - }, + }, */ //{ // title: "Contactos", // path: "/contact", diff --git a/lib/sendEmail.ts b/lib/sendEmail.ts index 7411d9b..c7ae825 100644 --- a/lib/sendEmail.ts +++ b/lib/sendEmail.ts @@ -1,7 +1,5 @@ 'use server' -import { render } from "@react-email/render" -import { JSX } from "react" import { Resend } from "resend" export const sendEmail = async (from: string, to: string, subject: string, content: string) => {