Skip to content

Commit

Permalink
add Support us button
Browse files Browse the repository at this point in the history
  • Loading branch information
Zishan-7 committed Oct 9, 2024
1 parent bba85ca commit ded1d59
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Layout() {
<div className="flex min-h-screen flex-col gap-4 bg-background text-foreground">
<div className="flex flex-1">
{showSidebar && (
<div className="sticky top-0 flex max-h-screen w-64 flex-col overflow-y-scroll rounded-br-lg border-b border-e border-outline bg-content1 lg:overflow-hidden">
<div className="sticky top-0 flex max-h-screen w-80 flex-col overflow-y-scroll rounded-br-lg border-b border-e border-outline bg-content1 lg:overflow-hidden">
<Sidebar />
</div>
)}
Expand Down
16 changes: 16 additions & 0 deletions src/shared/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,22 @@ export default function Sidebar({ onOpenChange }) {
);
})}
</nav>
<div className="mx-5 mb-5 flex flex-col gap-y-2 rounded-sm bg-content2 p-3">
<span className="text-foreground-1">Support Us</span>
<p className="text-xs text-foreground-2">
take advantage of all the features in one glanceand any other text.
Lets add another line here.
</p>

<Button
className="rounded-md border border-foreground-2"
onPress={() => navigate('/subscriptions')}
variant="bordered"
>
Support Us
</Button>
</div>

<div className="basis-0 px-5 pb-5">
<SignedOut>
<Button
Expand Down

0 comments on commit ded1d59

Please sign in to comment.