Update src/app/news/page.tsx
This commit is contained in:
@@ -7,7 +7,7 @@ import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
|
||||
export default function LandingPage() {
|
||||
export default function NewsPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
@@ -25,28 +25,14 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Dashboard",
|
||||
id: "/",
|
||||
},
|
||||
{
|
||||
name: "Academy",
|
||||
id: "/academy",
|
||||
},
|
||||
{
|
||||
name: "Commands",
|
||||
id: "/commands",
|
||||
},
|
||||
{
|
||||
name: "News",
|
||||
id: "/news",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "/about",
|
||||
},
|
||||
{ name: "Dashboard", id: "/" },
|
||||
{ name: "Academy", id: "/academy" },
|
||||
{ name: "Commands", id: "/commands" },
|
||||
{ name: "News", id: "/news" },
|
||||
{ name: "About", id: "/about" }
|
||||
]}
|
||||
brandName="MHI Cyber Shield"
|
||||
button={{ text: "Contact", href: "/contact" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -58,36 +44,9 @@ export default function LandingPage() {
|
||||
title="Latest Threat Intelligence"
|
||||
description="Stay ahead of global cyber risks."
|
||||
blogs={[
|
||||
{
|
||||
id: "b1",
|
||||
category: "CRITICAL",
|
||||
title: "New Ransomware Strain",
|
||||
excerpt: "Full detail of the vulnerability...",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/two-smartphones-black-background_187299-46672.jpg?_wi=3",
|
||||
authorName: "Arsh Patel",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/cyberpunk-warrior-urban-scenery_23-2150712522.jpg",
|
||||
date: "Oct 24, 2024",
|
||||
},
|
||||
{
|
||||
id: "b2",
|
||||
category: "HIGH",
|
||||
title: "Browser Zero-Day",
|
||||
excerpt: "Update now for security.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/photo-metal-texture-pattern_58702-13510.jpg?_wi=5",
|
||||
authorName: "Arsh Patel",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/cyberpunk-warrior-urban-scenery_23-2150712522.jpg",
|
||||
date: "Oct 23, 2024",
|
||||
},
|
||||
{
|
||||
id: "b3",
|
||||
category: "INFO",
|
||||
title: "Phishing Trends",
|
||||
excerpt: "New tactics discovered.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mystery-box-with-gifts-concept_23-2150063184.jpg?_wi=3",
|
||||
authorName: "Arsh Patel",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/cyberpunk-warrior-urban-scenery_23-2150712522.jpg",
|
||||
date: "Oct 22, 2024",
|
||||
},
|
||||
{ id: "b1", category: "CRITICAL", title: "New Ransomware Strain", excerpt: "Full detail of the vulnerability...", imageSrc: "http://img.b2bpic.net/free-photo/two-smartphones-black-background_187299-46672.jpg", authorName: "Arsh Patel", authorAvatar: "http://img.b2bpic.net/free-photo/cyberpunk-warrior-urban-scenery_23-2150712522.jpg", date: "Oct 24, 2024" },
|
||||
{ id: "b2", category: "HIGH", title: "Browser Zero-Day", excerpt: "Update now for security.", imageSrc: "http://img.b2bpic.net/free-photo/photo-metal-texture-pattern_58702-13510.jpg", authorName: "Arsh Patel", authorAvatar: "http://img.b2bpic.net/free-photo/cyberpunk-warrior-urban-scenery_23-2150712522.jpg", date: "Oct 23, 2024" },
|
||||
{ id: "b3", category: "INFO", title: "Phishing Trends", excerpt: "New tactics discovered.", imageSrc: "http://img.b2bpic.net/free-photo/mystery-box-with-gifts-concept_23-2150063184.jpg", authorName: "Arsh Patel", authorAvatar: "http://img.b2bpic.net/free-photo/cyberpunk-warrior-urban-scenery_23-2150712522.jpg", date: "Oct 22, 2024" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -96,15 +55,7 @@ export default function LandingPage() {
|
||||
<SocialProofOne
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"CrowdStrike",
|
||||
"FireEye",
|
||||
"DarkTrace",
|
||||
"PaloAlto",
|
||||
"Fortinet",
|
||||
"Cisco",
|
||||
"Kaspersky",
|
||||
]}
|
||||
names={["CrowdStrike", "FireEye", "DarkTrace", "PaloAlto", "Fortinet", "Cisco", "Kaspersky"]}
|
||||
title="Trusted Intelligence Partners"
|
||||
description="Data driven by global security leaders."
|
||||
/>
|
||||
@@ -113,32 +64,8 @@ export default function LandingPage() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
columns={[
|
||||
{
|
||||
title: "Platform",
|
||||
items: [
|
||||
{
|
||||
label: "Academy",
|
||||
href: "/academy",
|
||||
},
|
||||
{
|
||||
label: "Commands",
|
||||
href: "/commands",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "/about",
|
||||
},
|
||||
{
|
||||
label: "News",
|
||||
href: "/news",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ title: "Platform", items: [{ label: "Academy", href: "/academy" }, { label: "Commands", href: "/commands" }] },
|
||||
{ title: "Company", items: [{ label: "About", href: "/about" }, { label: "News", href: "/news" }] }
|
||||
]}
|
||||
logoText="MHI Cyber Shield"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user