Skip to content

Commit

Permalink
fix: modified props
Browse files Browse the repository at this point in the history
  • Loading branch information
anonfedora committed Dec 16, 2024
1 parent c3705a8 commit 380515a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/ui/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ import { Button } from "@/components/ui/button";
import { SidebarFooter } from "@/components/ui/sidebar";
import { Gem, GemIcon } from "lucide-react";

const Profile = ({ name }: { name: string }) => {
const Profile = ({ username }: { username: string }) => {
return (
<>
<SidebarFooter className="mt-auto border-t p-4">
<div className="flex items-center text-purple-700 text-xs font-medium gap-2">
<GemIcon /> Navbar Profile
</div>
<Button
variant="ghost"
className="w-full justify-start gap-2 bg-[#2c5154] text-white hover:bg-[#3d4f59] hover:text-white rounded-full"
Expand All @@ -25,7 +22,7 @@ const Profile = ({ name }: { name: string }) => {
</div>
</AvatarFallback>
</Avatar>
<span>{name}</span>
<span>{username}</span>
</Button>
</SidebarFooter>
</>
Expand Down

0 comments on commit 380515a

Please sign in to comment.