Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions src/pages/Index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ const Index = () => {
<Menu />
</Button>
</SheetTrigger>
<SheetContent side="left">
<SheetContent side="left" className="flex flex-col">
<SheetHeader>
<SheetTitle>Categories</SheetTitle>
</SheetHeader>
<div className="flex flex-col gap-2 mt-4">
<div className="flex-grow flex flex-col gap-2 mt-4">
{categories.map((category) => {
const Icon = getCategoryIcon(category);
const categoryCount = category === "All" ? people.length : people.filter(p => p.category === category).length;
Expand All @@ -115,6 +115,16 @@ const Index = () => {
);
})}
</div>
<div className="mt-auto pt-4 border-t border-gray-200">
<Button
onClick={handleSignOut}
variant="ghost"
className="w-full justify-start flex items-center gap-2 text-red-500 hover:text-red-600 hover:bg-red-50"
>
<LogOut size={16} />
Sign Out
</Button>
</div>
</SheetContent>
</Sheet>
</div>
Expand All @@ -134,10 +144,10 @@ const Index = () => {
onClick={handleSignOut}
variant="outline"
size="sm"
className="flex items-center gap-2"
className="hidden md:flex items-center gap-2"
>
<LogOut size={16} />
<span className="hidden md:inline">Sign Out</span>
Sign Out
</Button>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions src/pages/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ const Landing = () => {
<header className="container mx-auto px-4 py-6">
<nav className="flex items-center justify-between">
<div className="flex items-center gap-2">
<div className="w-8 h-8 bg-gradient-to-br from-indigo-500 to-purple-600 rounded-lg flex items-center justify-center">
<Users className="w-5 h-5 text-white" />
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" className="w-8 h-8"><text y=".9em" font-size="90">🧠</text></svg>
<span className="text-xl font-bold text-gray-800">Ariyo</span>
</div>
<div className="flex items-center gap-4">
Expand Down