From 7f0fe5342f80f2f9b1efe89e5f9ae7db69b7aae3 Mon Sep 17 00:00:00 2001 From: Xperior28 Date: Sat, 20 May 2023 02:54:48 +0530 Subject: [PATCH] Added header and footer --- src/App.js | 42 +++++++++++++++++++--------------- src/assets/logo.png | Bin 0 -> 2482 bytes src/components/LandingPage.js | 8 +++++++ src/index.css | 5 +++- src/styles/LandingPage.css | 40 +++++++++++++++++++++++++++++--- 5 files changed, 72 insertions(+), 23 deletions(-) create mode 100644 src/assets/logo.png diff --git a/src/App.js b/src/App.js index c13cb74..6f542c2 100644 --- a/src/App.js +++ b/src/App.js @@ -1,4 +1,6 @@ +import './styles/LandingPage.css' + import React, { useContext, useEffect } from 'react'; import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'; import axios from 'axios'; @@ -47,27 +49,29 @@ function App() { } return ( +
+ - -
- - } /> - } /> - } /> - } /> - {/* Add the following route with the authentication check */} - - /> - } /> - } /> - } /> - - + +
+ + } /> + } /> + } /> + } /> + {/* Add the following route with the authentication check */} + + /> + } /> + } /> + } /> + + +
+
-
- ); } diff --git a/src/assets/logo.png b/src/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..56bd13fab837e86cee1c5da172afaf469dbad32d GIT binary patch literal 2482 zcmb7GXH=8f7X6S80R;pB>Ae|>0ftZ`5Tt||ng$3A4v`j+5_%D%6cJI10zsI;|`K5SF$e@P$tL|Fm|e5Bz${nrkz^!V&}$HB`X1hFRk&VIMh zGz~pR@>dH#^pFRG)4P(c_Gc*ny*m2Fq{g+IQ_FujX6|E{O~I-}Yw)*etFC9liiv#J zQk|Q^P2b+CSnYl;8nCmV+ZcILBcvN{`{Vok+v5YqIYke#2F#RYu?1d&olhybIqJ-e zGL*y1up9mBTwYW!GTE`=UN5altKVj7YogAAPpEq!7-{dsnLck5F{!0sX}cE`}TMRd8cZ+l{rV1K=?Dwh39AML3k_u*W& z3yKVomhABgN6k7j=;G53z&)=t zebp|srG5z60nYeuI}_&F!|nm7zU%Mn3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/components/LandingPage.js index 314556a..0f20e03 100644 --- a/src/components/LandingPage.js +++ b/src/components/LandingPage.js @@ -4,6 +4,10 @@ import { MDBBtn } from 'mdb-react-ui-kit'; function LandingPage() { return (
+
+
+

IEEEBlogs

+
); diff --git a/src/index.css b/src/index.css index aac2572..821a14b 100644 --- a/src/index.css +++ b/src/index.css @@ -1,4 +1,4 @@ -/* <<<<<<< HEAD */ + body { font-family: Roboto, Helvetica, Arial, sans-serif; } @@ -26,6 +26,9 @@ body { position: fixed; } + + + */ diff --git a/src/styles/LandingPage.css b/src/styles/LandingPage.css index 5e25d88..42b5496 100644 --- a/src/styles/LandingPage.css +++ b/src/styles/LandingPage.css @@ -54,15 +54,49 @@ } .lp_footer { - background-color: black; + background-color: rgb(12, 12, 12); color: white; padding: 1rem; - text-align: center; position: absolute; bottom: 0; width: 100%; + display: flex; + flex-direction: row; + justify-content: space-between; } .lp_a{ color:white; - } \ No newline at end of file + } + +.lp_header { + background-color: rgb(12, 12, 12); + color: white; + padding: 1rem; + position: absolute; + top: 0; + width: 100%; + display: flex; + flex-direction: row; + +} + +.lp_header > .header_logo { + background-image: url("../assets/logo.png"); + background-size:cover; + padding: 1.5rem; + margin-top: -10px; + margin-left: -10px; +} + +.lp_header > h3 { + margin-left: 30px; +} + +.links > a { + margin-left: 40px; + margin-right: 20px; +} + + +