UI Update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useMemo, useState } from "react";
|
||||
import { NavLink, Outlet, useNavigate } from "react-router-dom";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faHouse, faBriefcase, faArrowRightFromBracket, faUser } from "@fortawesome/free-solid-svg-icons";
|
||||
import { faHouse, faBriefcase, faArrowRightFromBracket, faUser, faFlaskVial } from "@fortawesome/free-solid-svg-icons";
|
||||
import { Button } from "./ui/button";
|
||||
import { ThemeToggle } from "./ThemeToggle";
|
||||
import { useAuth } from "../providers/auth-provider";
|
||||
@@ -15,7 +15,7 @@ export function DashboardLayout() {
|
||||
const navigation = useMemo(
|
||||
() => [
|
||||
{ label: "Home", to: "/home", icon: faHouse },
|
||||
{ label: "Jobs", to: "/jobs", icon: faBriefcase }
|
||||
{ label: "Jobs", to: "/jobs", icon: faFlaskVial }
|
||||
],
|
||||
[]
|
||||
);
|
||||
@@ -73,7 +73,7 @@ export function DashboardLayout() {
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<main className="flex-1 overflow-y-auto md:ml-64">
|
||||
<main className="flex-1 overflow-y-auto md:ml-64 min-w-0">
|
||||
<div className="mx-auto flex max-w-5xl flex-col gap-6 px-4 py-8 sm:px-6 lg:px-8">
|
||||
<div className="grid gap-6">
|
||||
<Outlet />
|
||||
|
||||
Reference in New Issue
Block a user