Skip to content

Commit 225f9a5

Browse files
refactor: Remove old Navbar1 component from LearnMore and Resources pages; update email in ContactSection
1 parent 3644684 commit 225f9a5

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

app/learn-more/page.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
import Link from "next/link";
44
import { motion } from "framer-motion";
55
import { TabContainer } from "./components/TabContainer";
6-
import Navbar1 from "@/components/navbar";
6+
// import Navbar1 from "@/components/navbar";
77
import Footer from "@/components/footer";
88
import ShinyButton from "@/components/ui/shiny-button";
9-
9+
// Removed the old navbar componet raising the conflict
10+
// by: Yash Kumar Saini
1011
export default function LearnMorePage() {
1112
return (
1213
<div className="">
13-
<Navbar1 />
14+
{/* <Navbar1 /> */}
1415
<div className="min-h-screen bg-grey-500 bg-texture">
1516
<div className="container mx-auto px-4 md:px-32 pb-16 pt-8 md:pt-16">
1617
{/* Changed the x-padding for small devices + reduced y-padding-top for small devices */}

app/resources/page.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import { ResourceCard } from "../../components/ui/resource-card";
22
import { Globe, Laptop } from "lucide-react";
3-
import Navbar1 from '@/components/navbar';
43
import { Ripple } from "../../components/ui/ripple";
54
import SupportSection from "../../components/ui/support-section";
65
import Footer from "@/components/footer";
76

7+
// Removed the old navbar componet raising the conflict
8+
// by: Yash Kumar Saini
89
export default function ResourcesPage() {
910
return (
1011
<div className="">
11-
<Navbar1 />
12+
{/* <Navbar1 /> */}
1213
<div className="min-h-screen bg-background relative">
1314
{/* Hero Section */}
1415
<div className="relative pt-32 pb-16 px-4 text-center">

components/DashboardV2/ContactSection.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const ContactSection = () => {
5252
const { firstName, lastName, email, subject, message } = values;
5353
console.log(values);
5454

55-
const mailToLink = `mailto:leomirandadev@gmail.com?subject=${subject}&body=Hello I am ${firstName} ${lastName}, my Email is ${email}. %0D%0A${message}`;
55+
const mailToLink = `mailto:yashkumarsaini366@gmail.com?subject=${subject}&body=Hello I am ${firstName} ${lastName}, my Email is ${email}. %0D%0A${message}`;
5656

5757
window.location.href = mailToLink;
5858
}

0 commit comments

Comments
 (0)