Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove back to sei website text from dashboard #547

Merged
Merged
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
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
Loading