From 727a768b55a5a7ee85376212449c658e2eb9fb14 Mon Sep 17 00:00:00 2001 From: vishal035 Date: Fri, 26 Aug 2022 23:58:05 +0530 Subject: [PATCH] Basic Structure --- components/Buttons/Default/index.tsx | 16 ++++++++++++++ components/Header/Navbar/index.tsx | 2 +- components/HeroSection/index.tsx | 31 ++++++++++++++++++++++++++++ pages/index.tsx | 4 +++- styles/globals.css | 1 + tailwind.config.js | 3 +++ 6 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 components/Buttons/Default/index.tsx create mode 100644 components/HeroSection/index.tsx diff --git a/components/Buttons/Default/index.tsx b/components/Buttons/Default/index.tsx new file mode 100644 index 0000000..c848c02 --- /dev/null +++ b/components/Buttons/Default/index.tsx @@ -0,0 +1,16 @@ +import React from 'react'; + +const Button = () => { + return ( +
+ + Resume + +
+ ); +}; + +export default Button; diff --git a/components/Header/Navbar/index.tsx b/components/Header/Navbar/index.tsx index 13a1528..6656eb1 100644 --- a/components/Header/Navbar/index.tsx +++ b/components/Header/Navbar/index.tsx @@ -5,7 +5,7 @@ const NavBar = () => { <>
- + VK
diff --git a/components/HeroSection/index.tsx b/components/HeroSection/index.tsx new file mode 100644 index 0000000..26a3e00 --- /dev/null +++ b/components/HeroSection/index.tsx @@ -0,0 +1,31 @@ +import React from 'react'; +import Button from '../Buttons/Default'; + +const HeroSection = () => { + return ( +
+
+

+ Hi +

+

+ I'm Vishal Kumar +

+

+ A Self Taught +

+

+ FullStack Developer +

+

+ on the way to become Senior of MySelf 🔥 +

+
+
+
+
+ ); +}; + +export default HeroSection; diff --git a/pages/index.tsx b/pages/index.tsx index 41cf0e5..0fee757 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,6 +1,7 @@ import type { NextPage } from 'next'; import Head from 'next/head'; import NavBar from '../components/Header/Navbar'; +import HeroSection from '../components/HeroSection'; const Home: NextPage = () => { return ( @@ -10,8 +11,9 @@ const Home: NextPage = () => { -
+
+
); diff --git a/styles/globals.css b/styles/globals.css index b5c61c9..8bc23a5 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -1,3 +1,4 @@ +@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;300;400;500;600;700&display=swap'); @tailwind base; @tailwind components; @tailwind utilities; diff --git a/tailwind.config.js b/tailwind.config.js index 97a1fcf..990dfb5 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -6,6 +6,9 @@ module.exports = { ], theme: { extend: { + fontFamily: { + sans: 'Josefin Sans', + }, colors: { primary: '#E7E7E5', 'primary-black': '#2A2A2A',