Update src/app/page.tsx
This commit is contained in:
100
src/app/page.tsx
100
src/app/page.tsx
@@ -30,17 +30,11 @@ export default function LandingPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "/",
|
||||
},
|
||||
name: "Home", id: "/"},
|
||||
{
|
||||
name: "Stories",
|
||||
id: "/stories",
|
||||
},
|
||||
name: "Stories", id: "/stories"},
|
||||
{
|
||||
name: "Admin Hub",
|
||||
id: "/admin",
|
||||
},
|
||||
name: "Admin Hub", id: "/admin"},
|
||||
]}
|
||||
brandName="Pulse News"
|
||||
/>
|
||||
@@ -49,41 +43,22 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardRotatedCarousel
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
title="Stay Informed, Stay Ahead."
|
||||
description="The pulse of the world, delivered with precision. Explore stories that matter and manage your content with ease."
|
||||
carouselItems={[
|
||||
{
|
||||
id: "1",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg?_wi=1",
|
||||
imageAlt: "Hero visual",
|
||||
},
|
||||
id: "1", imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg", imageAlt: "Hero visual"},
|
||||
{
|
||||
id: "2",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg?_wi=2",
|
||||
imageAlt: "Hero visual",
|
||||
},
|
||||
id: "2", imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg", imageAlt: "Hero visual"},
|
||||
{
|
||||
id: "3",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg?_wi=3",
|
||||
imageAlt: "Hero visual",
|
||||
},
|
||||
id: "3", imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg", imageAlt: "Hero visual"},
|
||||
{
|
||||
id: "4",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg?_wi=4",
|
||||
imageAlt: "Hero visual",
|
||||
},
|
||||
id: "4", imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg", imageAlt: "Hero visual"},
|
||||
{
|
||||
id: "5",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg?_wi=5",
|
||||
imageAlt: "Hero visual",
|
||||
},
|
||||
id: "5", imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg", imageAlt: "Hero visual"},
|
||||
{
|
||||
id: "6",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg?_wi=6",
|
||||
imageAlt: "Hero visual",
|
||||
},
|
||||
id: "6", imageSrc: "http://img.b2bpic.net/free-photo/composition-workplace-with-vase-laptop-desk_23-2148225531.jpg", imageAlt: "Hero visual"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -97,32 +72,11 @@ export default function LandingPage() {
|
||||
description="Discover our latest news and features."
|
||||
blogs={[
|
||||
{
|
||||
id: "b1",
|
||||
title: "The Future of Digital News",
|
||||
excerpt: "How AI is changing the landscape of journalism.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-creating-home-office_329181-18126.jpg?_wi=1",
|
||||
authorName: "Jane Doe",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/close-up-woman-creating-home-office_329181-18126.jpg",
|
||||
date: "Oct 12, 2023",
|
||||
},
|
||||
id: "b1", category: "Journalism", title: "The Future of Digital News", excerpt: "How AI is changing the landscape of journalism.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-creating-home-office_329181-18126.jpg", authorName: "Jane Doe", authorAvatar: "http://img.b2bpic.net/free-photo/close-up-woman-creating-home-office_329181-18126.jpg", date: "Oct 12, 2023"},
|
||||
{
|
||||
id: "b2",
|
||||
title: "Global Innovation Hubs",
|
||||
excerpt: "Exploring the cities leading technology adoption.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/photo-editing-software-computer-screen-empty-studio-used-enhancing-digital-images_482257-82274.jpg?_wi=1",
|
||||
authorName: "John Smith",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/photo-editing-software-computer-screen-empty-studio-used-enhancing-digital-images_482257-82274.jpg",
|
||||
date: "Oct 15, 2023",
|
||||
},
|
||||
id: "b2", category: "Technology", title: "Global Innovation Hubs", excerpt: "Exploring the cities leading technology adoption.", imageSrc: "http://img.b2bpic.net/free-photo/photo-editing-software-computer-screen-empty-studio-used-enhancing-digital-images_482257-82274.jpg", authorName: "John Smith", authorAvatar: "http://img.b2bpic.net/free-photo/photo-editing-software-computer-screen-empty-studio-used-enhancing-digital-images_482257-82274.jpg", date: "Oct 15, 2023"},
|
||||
{
|
||||
id: "b3",
|
||||
title: "Sustainable Tech Practices",
|
||||
excerpt: "Why energy efficiency matters for modern servers.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cloud-download-icon-line-connection-circuit-board_1379-888.jpg",
|
||||
authorName: "Alice Wong",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/cloud-download-icon-line-connection-circuit-board_1379-888.jpg",
|
||||
date: "Oct 18, 2023",
|
||||
},
|
||||
id: "b3", category: "Sustainability", title: "Sustainable Tech Practices", excerpt: "Why energy efficiency matters for modern servers.", imageSrc: "http://img.b2bpic.net/free-photo/cloud-download-icon-line-connection-circuit-board_1379-888.jpg", authorName: "Alice Wong", authorAvatar: "http://img.b2bpic.net/free-photo/cloud-download-icon-line-connection-circuit-board_1379-888.jpg", date: "Oct 18, 2023"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -137,25 +91,13 @@ export default function LandingPage() {
|
||||
description="Quantifying our reach and content influence."
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "1.2M",
|
||||
title: "Monthly Readers",
|
||||
description: "Global reach on our platform.",
|
||||
icon: Users,
|
||||
id: "m1", value: "1.2M", title: "Monthly Readers", description: "Global reach on our platform.", icon: Users,
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
value: "500+",
|
||||
title: "Published Stories",
|
||||
description: "High-quality journalism daily.",
|
||||
icon: Newspaper,
|
||||
id: "m2", value: "500+", title: "Published Stories", description: "High-quality journalism daily.", icon: Newspaper,
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
value: "99.9%",
|
||||
title: "Uptime",
|
||||
description: "Consistent access to news.",
|
||||
icon: ShieldCheck,
|
||||
id: "m3", value: "99.9%", title: "Uptime", description: "Consistent access to news.", icon: ShieldCheck,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
@@ -168,12 +110,7 @@ export default function LandingPage() {
|
||||
title="Trusted by Leaders"
|
||||
description="Partnering with industry pioneers."
|
||||
names={[
|
||||
"Global Media Group",
|
||||
"Tech Innovation Press",
|
||||
"Creative Studio Hub",
|
||||
"Digital Journalism Inc",
|
||||
"Future News Network",
|
||||
]}
|
||||
"Global Media Group", "Tech Innovation Press", "Creative Studio Hub", "Digital Journalism Inc", "Future News Network"]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -181,8 +118,7 @@ export default function LandingPage() {
|
||||
<ContactCenter
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
tag="Newsletter"
|
||||
title="Stay Updated"
|
||||
description="Receive the most relevant daily headlines directly in your inbox."
|
||||
|
||||
Reference in New Issue
Block a user