From d3a93eab3eabdb7b3729e581fb05e45d395ab2b3 Mon Sep 17 00:00:00 2001 From: daniyal Date: Mon, 16 Sep 2024 12:36:35 +0500 Subject: [PATCH] chore: add social nav component in main layout --- src/layout/index.tsx | 2 + src/layout/socialNav.tsx | 115 +++++++++++++++++++++++++++++++++++++++ src/pages/search.tsx | 3 + src/routes/index.tsx | 6 ++ src/styles/socialNav.css | 98 +++++++++++++++++++++++++++++++++ 5 files changed, 224 insertions(+) create mode 100644 src/layout/socialNav.tsx create mode 100644 src/pages/search.tsx create mode 100644 src/styles/socialNav.css diff --git a/src/layout/index.tsx b/src/layout/index.tsx index d4796dd..257fa74 100644 --- a/src/layout/index.tsx +++ b/src/layout/index.tsx @@ -1,6 +1,7 @@ import { Outlet } from 'react-router-dom' import { Footer } from './footer' import { Header } from './header' +import { SocialNav } from './socialNav' export const Layout = () => { return ( @@ -8,6 +9,7 @@ export const Layout = () => {