Skip to content

Commit

Permalink
refactor: remove back to sei website text from dashboard (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshchandra10 committed Nov 11, 2023
1 parent 8b8d56a commit 6c122f6
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,26 +66,15 @@ export default function Layout({ title, description, children }: LayoutProps) {
{/* NAVBAR */}
<aside className="inset-y-0 hidden w-72 overflow-y-scroll border-r-2 bg-secondary px-8 py-5 lg:fixed lg:flex lg:flex-col">
<div className="flex flex-1">
<nav className="mt-10 flex flex-col">
<Link href="/" className="font-iregular text-quinary">
&lt; Back to SEI website
</Link>

<div className="my-4">
<nav className="mt-8 flex flex-col">
<Link href="/" className="pb-8">
<Image
src="/images/sei-logo.svg"
alt="SEI Logo"
width="220"
height="120"
/>
</div>

{user.type === "attendee" && (
<div className="text-md mt-2 mb-4 text-white">
<p className="font-ibold">You have:</p>
<p className="font-iregular">💰 {user.token_balance} Tokens</p>
</div>
)}
</Link>

{links.map((link) => (
<ActiveLink
Expand Down Expand Up @@ -173,7 +162,7 @@ function MobileNavbar({
>
<aside className="flex h-full flex-col justify-between">
<div>
<div className="flex justify-between">
<div className="flex items-center justify-between">
<Link href="/" className="font-iregular text-quinary">
<Image
src="/images/sei-logo.svg"
Expand Down

0 comments on commit 6c122f6

Please sign in to comment.