optimized aesthetics

This commit is contained in:
Andreas Schaafsma 2024-06-08 06:15:19 +02:00
parent 0c5f9eb74b
commit e841ba8938

View File

@ -20,7 +20,7 @@ type Props = {
export default async function Sidebar(props:Props){
return (
<div className='w-fit h[100%]'>
<div className='w-fit h[100%] drop-shadow-2xl shadow-xl'>
<ul className={`navbar-light bg-light nav nav-pills flex-column mb-auto container-fluid h-[100%] items-start justify-start p-0 w-fit`}>
{props.sidebarEntries.map((sidebarEntry)=>{
return <li key={sidebarEntry.view} className='nav-item w-[100%]'><Link className={`nav-link m-2 whitespace-nowrap outline outline-1 ${(props.slug == sidebarEntry.view) ? 'active' : ''}`} href={`/admin/${sidebarEntry.view}`}>