From 5b9d95bb25180ba8934eb16e7bc1da508e2ed08a Mon Sep 17 00:00:00 2001 From: Nayam Amarshe <25067102+NayamAmarshe@users.noreply.github.com> Date: Thu, 8 Feb 2024 03:12:14 +0530 Subject: [PATCH] Update background --- components/Background.jsx | 61 ++++++++++++++++++++++++++++ components/Layout.jsx | 7 ++-- components/bottom-sidebar/Card.jsx | 6 +-- components/home/Form.jsx | 8 ++-- components/home/LinkOptionsModal.jsx | 6 +-- pages/index.jsx | 15 +++---- styles/globals.css | 5 ++- tailwind.config.js | 12 +++--- utils/bgColors.js | 40 +----------------- 9 files changed, 94 insertions(+), 66 deletions(-) create mode 100644 components/Background.jsx diff --git a/components/Background.jsx b/components/Background.jsx new file mode 100644 index 0000000..24b7ea0 --- /dev/null +++ b/components/Background.jsx @@ -0,0 +1,61 @@ +import React from "react"; + +const Background = ({ ...rest }) => { + return ( + + + + + + + + + + + + + ); +}; + +export default Background; diff --git a/components/Layout.jsx b/components/Layout.jsx index 9340f96..b48656b 100644 --- a/components/Layout.jsx +++ b/components/Layout.jsx @@ -4,6 +4,7 @@ import React, { useEffect, useState } from "react"; import { navbarState } from "../atoms/navbarAtom"; import Navbar from "./right-sidebar/Navbar"; import { useAtom } from "jotai"; +import Background from "./Background"; const Layout = ({ children }) => { const [navbarOpen, setNavbarOpen] = useAtom(navbarState); @@ -20,12 +21,12 @@ const Layout = ({ children }) => { ) : ( -
+
{/* LINKS CARDS */} - -
{children}
+ +
{children}