- {MARKETING.PreviousTalks.map((previousTalk, index) => {
+ {HOMEPAGE.PreviousTalks.map((previousTalk, index) => {
return (
-
+
);
diff --git a/config/marketing.tsx b/config/home.tsx
similarity index 86%
rename from config/marketing.tsx
rename to config/home.tsx
index 2695a07..f9c6844 100644
--- a/config/marketing.tsx
+++ b/config/home.tsx
@@ -1,33 +1,7 @@
-import { MarketingData } from "@/types";
+import { Home } from "@/types";
import speakerImage from "public/assets/hero_image_guest_v1.png";
-export const MARKETING: MarketingData = {
- Navigation: [
- {
- title: "Home",
- href: "/",
- },
- {
- title: "Meetups",
- href: "/meetups",
- },
- {
- title: "Jobs",
- href: "/jobs",
- },
- {
- title: "Speakers",
- href: "/speakers",
- },
- {
- title: "Collaboration",
- href: "/collaboration",
- },
- {
- title: "About",
- href: "/about",
- },
- ],
+export const HOMEPAGE: Home = {
Achievements: [
{
title: "10,000+ Members",
diff --git a/config/navigation.tsx b/config/navigation.tsx
new file mode 100644
index 0000000..127cdcb
--- /dev/null
+++ b/config/navigation.tsx
@@ -0,0 +1,30 @@
+import { Navigation } from "@/types";
+
+export const NAVIGATION: Navigation = {
+ Navigation: [
+ {
+ title: "Home",
+ href: "/",
+ },
+ {
+ title: "Meetups",
+ href: "/meetups",
+ },
+ {
+ title: "Jobs",
+ href: "/jobs",
+ },
+ {
+ title: "Speakers",
+ href: "/speakers",
+ },
+ {
+ title: "Collaboration",
+ href: "/collaboration",
+ },
+ {
+ title: "About",
+ href: "/about",
+ },
+ ]
+};
diff --git a/types/index.ts b/types/index.ts
index 8c8ba0f..aa12409 100644
--- a/types/index.ts
+++ b/types/index.ts
@@ -32,12 +32,15 @@ export interface WorkShopData {
workshopDate: string;
}
-export interface MarketingData {
- Navigation: NavItem[];
+export interface Home {
Achievements: AchievementItem[];
PreviousTalks: TalkItem[];
WorkshopData: WorkShopData;
}
+
+export interface Navigation {
+ Navigation: NavItem[];
+}
export interface FooterData {
QuickLinks: FooterItem[];
FollowUs: FooterItem[];