Skip to content

Commit 5134d3c

Browse files
committed
refactor: remove unused imports and clean up code in page and rainbow-glow components
1 parent 1085aaa commit 5134d3c

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/app/(home)/page.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import dynamic from "next/dynamic";
32
import HeroSection from "@components/heros/home-hero";
43
import OrganizationStructuredData from "@components/organization-structured-data";
@@ -26,7 +25,7 @@ const HomeAboutMe = dynamic(() => import("./sections/home-aboutme").then(mod =>
2625
const HomeFAQSection = dynamic(() => import("./sections/home-faq").then(mod => ({ default: mod.HomeFAQSection })), {
2726
loading: () => <div className="min-h-25" />,
2827
});
29-
// const GetInTouchSections = dynamic(() => import("./sections/home-getintouch"));
28+
3029
const homeSearchImage = `${NEXT_PUBLIC_APP_URL}/assets/screenshots/home-dark.png`;
3130
const homeTitle = `${appName} | Senior Front-end Developer & UI/UX Designer`;
3231
const homeDescription = "Sophat LEAT (PPhat, Sophat L.) is a Senior Front-end Developer at TURBOTECH CO., LTD and Freelance UI/UX Designer in Phnom Penh, Cambodia. Explore projects, case studies, technical articles, blogs, and contact details.";
@@ -40,7 +39,6 @@ export const metadata: Metadata = {
4039
}],
4140
generator: appName,
4241
keywords: [
43-
"Sophat LEAT",
4442
"PPhat",
4543
"pphat",
4644
"pphatdev",
@@ -84,7 +82,7 @@ export const metadata: Metadata = {
8482
url: homeSearchImage,
8583
width: 1900,
8684
height: 926,
87-
alt: `${appName} - Senior Front-end Developer and UI/UX Designer`,
85+
alt: `${appName} - ${homeDescription}`,
8886
type: "image/png",
8987
},
9088
],
@@ -150,10 +148,6 @@ export default function Home() {
150148
<HomeFAQSection />
151149
</BlurFade>
152150
</section>
153-
{/*
154-
<section id="contact" className="flex flex-col snap-end">
155-
<GetInTouchSections />
156-
</section> */}
157151

158152
<Footer />
159153

src/components/ui/rainbow-glow.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client";
22

3-
import React from "react";
43
import { cn } from "@lib/utils";
54

65
interface RainbowGlowProps {

0 commit comments

Comments
 (0)