🏗️ Migrating Navbar to TailwindCSS

This commit is contained in:
2023-12-04 11:12:44 -05:00
parent d36138c800
commit 7f3a1caa3c
13 changed files with 315 additions and 659 deletions

View File

@@ -1,12 +1,12 @@
import React, { ReactElement } from "react";
import { Outlet } from "react-router-dom";
import Navbar from "./shared/Navbar";
import { Navbar2 } from "./shared/Navbar2";
import "../assets/scss/App.scss";
export const App = (): ReactElement => {
return (
<>
<Navbar />
<Navbar2 />
<Outlet />
</>
);

View File

@@ -56,7 +56,7 @@ export const Dashboard = (): ReactElement => {
// (state: RootState) => state.comicInfo.libraryStatistics,
// );
return (
<div className="container">
<div className="container mx-auto">
<section className="section">
<h1 className="title">Dashboard</h1>
</section>

View File

@@ -0,0 +1,11 @@
import React from "react";
export const Navbar2: React.FunctionComponent = () => {
return (
<header className="dark:bg-gray h-18 bg-white gap-8 px-5 py-5">
<div className="mx-auto flex">
<img src="/src/client/assets/img/threetwo.png" alt="ThreeTwo!" />
</div>
</header>
);
};