diff --git a/components/footer.tsx b/components/footer.tsx
new file mode 100644
index 000000000..bf2b999d8
--- /dev/null
+++ b/components/footer.tsx
@@ -0,0 +1,41 @@
+import { Box, Container, Flex, Image, Link, Stack, Text } from '@chakra-ui/react';
+
+export function Footer() {
+ return (
+
+
+
+ Roadmaps
+ Guides
+ Videos
+ Podcasts
+ About
+ YouTube
+
+
+
+
+
+
+ roadmap.sh
+
+ by
+ @kamranahmedse
+
+
+ Community created roadmaps, articles, resources and
+ journeys to help you choose your path and grow in your career.
+
+
+ © roadmap.sh·
+ FAQs·
+ Terms·
+ Privacy
+
+
+
+
+ );
+}
diff --git a/components/header.tsx b/components/header.tsx
new file mode 100644
index 000000000..826858ede
--- /dev/null
+++ b/components/header.tsx
@@ -0,0 +1,28 @@
+import { Box, Container, Flex, Image, Link, Stack } from '@chakra-ui/react';
+
+export function Header() {
+ return (
+
+
+
+
+
+ roadmap.sh
+
+
+ Read
+ Watch
+ Get Updates
+
+
+
+
+ );
+}
diff --git a/components/opensource-banner.tsx b/components/opensource-banner.tsx
new file mode 100644
index 000000000..f1deec4e3
--- /dev/null
+++ b/components/opensource-banner.tsx
@@ -0,0 +1,46 @@
+import { Box, Container, Heading, Link, Text } from '@chakra-ui/react';
+
+export function OpensourceBanner() {
+ return (
+
+
+ Open Source
+ The project is OpenSource,
+ 7th most starred project on GitHub and is visited by hundreds of thousands of
+ developers every month.
+
+
+ A considerable amount of my time is spent doing unpaid
+ community work on things that I hope will help humanity in some way. Your sponsorship helps me continue to
+ produce more open-source and free educational material consumed by hundreds of thousands of developers every
+ month.
+
+
+
+
+
+
+ );
+}
diff --git a/components/updates-banner.tsx b/components/updates-banner.tsx
new file mode 100644
index 000000000..a7129a07b
--- /dev/null
+++ b/components/updates-banner.tsx
@@ -0,0 +1,28 @@
+import { Box, Button, Container, Heading, Stack, Text } from '@chakra-ui/react';
+
+export function UpdatesBanner() {
+ return (
+
+
+ Stay Informed
+ Subscribe yourself to get updates, new
+ guides, videos and roadmaps in your inbox.
+
+
+
+
+ Free subscription for updates
+
+
+
+ Support the project by paying as little as 5$
+ per month
+
+
+
+
+ );
+}
diff --git a/pages/icons/video-icon.tsx b/icons/video-icon.tsx
similarity index 100%
rename from pages/icons/video-icon.tsx
rename to icons/video-icon.tsx
diff --git a/pages/icons/text-icon.tsx b/pages/icons/text-icon.tsx
deleted file mode 100644
index eb4ac7ca2..000000000
--- a/pages/icons/text-icon.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-export function TextIcon(props: any) {
- return (
-
- );
-}
diff --git a/pages/index.tsx b/pages/index.tsx
index 902588222..7fec12719 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -14,36 +14,16 @@ import {
VStack
} from '@chakra-ui/react';
import { InfoIcon } from '@chakra-ui/icons';
-import { VideoIcon } from './icons/video-icon';
+import { VideoIcon } from '../icons/video-icon';
+import { Header } from '../components/header';
+import { Footer } from '../components/footer';
+import { UpdatesBanner } from '../components/updates-banner';
+import { OpensourceBanner } from '../components/opensource-banner';
export default function Home() {
return (
-
-
-
-
-
- roadmap.sh
-
- {/**/}
- {/* roadmap.sh*/}
- {/**/}
-
- Read
- Watch
- Get Updates
-
-
-
-
+
@@ -98,9 +78,6 @@ export default function Home() {
Android
Step by step guide for DevOps or Operations role in 2021
- {/**/}
- {/* Community*/}
- {/**/}
@@ -590,104 +567,9 @@ export default function Home() {
-
-
- Open Source
- The project is OpenSource,
- 7th most starred project on GitHub and is visited by hundreds of thousands of
- developers every month.
-
-
- A considerable amount of my time is spent doing unpaid
- community work on things that I hope will help humanity in some way. Your sponsorship helps me continue to
- produce more open-source and free educational material consumed by hundreds of thousands of developers every
- month.
-
-
-
-
-
-
-
-
-
- Stay Informed
- Subscribe yourself to get updates, new
- guides, videos and roadmaps in your inbox.
-
-
-
-
- Free subscription for updates
-
-
-
- Support the project by paying as little as 5$
- per month
-
-
-
-
-
-
-
-
- Roadmaps
- Guides
- Videos
- Podcasts
- About
- YouTube
-
-
-
-
-
-
- roadmap.sh
-
- by
- @kamranahmedse
-
-
- Community created roadmaps, articles, resources and journeys to help you choose your path and grow in your career.
-
-
- © roadmap.sh·
- FAQs·
- Terms·
- Privacy
-
-
-
-
+
+
+
);
}
diff --git a/pages/roadmaps/index.tsx b/pages/roadmaps/index.tsx
new file mode 100644
index 000000000..ff649dd1a
--- /dev/null
+++ b/pages/roadmaps/index.tsx
@@ -0,0 +1,5 @@
+export default function Roadmaps() {
+ return (
+
Hello world
+ );
+}