Skip to content

Commit

Permalink
remove dev projects
Browse files Browse the repository at this point in the history
  • Loading branch information
martincham committed Dec 14, 2024
1 parent 37c6259 commit 02112ac
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const aboutItems = [

const sidebarItems = [
{ name: "Sculpture", items: artItems },
{ name: "Coding", items: devItems },
// { name: "Coding", items: devItems },
{ name: "Info", items: aboutItems },
];

Expand All @@ -43,33 +43,30 @@ interface SidebarProps {

const Sidebar: React.FC<SidebarProps> = ({ toggleSidebar }) => {
return (
<nav className="flex flex-col md:flex-row md:items-center md:justify-between md:px-4 md:py-4">
<nav className="text-sm flex flex-col md:flex-row md:items-center md:justify-between md:px-4 md:py-4">
<Accordion type="multiple" className="w-full">
{/* Art Projects */}
{sidebarItems.map((sidebarItem, index) => (
<AccordionItem value={"item-" + index} key={index}>
<AccordionTrigger className="text-lg font-medium">
{sidebarItem.name}
</AccordionTrigger>
<AccordionContent key={index} className="pl-2">
{sidebarItem.items.map((item, index) => (
<div key={index}>
<div key={index} className="pl-2 pb-4">
{sidebarItem.items.map((item, jindex) => (
<Link
to={item.href}
onClick={toggleSidebar}
key={index}
key={jindex}
className=""
>
<div
className=" hover:bg-zinc-200 dark:hover:bg-zinc-800 p-2 rounded justify-between flex text-md"
key={index}
key={jindex}
>
<div className="font-medium">{item.name}</div>
<div className="">{item.name}</div>
<div className="italic opacity-50">{item.date}</div>
</div>
</Link>
))}
</AccordionContent>
</AccordionItem>
</div>
</div>
))}
</Accordion>
</nav>
Expand Down

0 comments on commit 02112ac

Please sign in to comment.