Skip to content

Commit

Permalink
feat: add submission link to mobile navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
dada878 committed Nov 23, 2024
1 parent 51691d4 commit 7a027a9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/cfp/(submission)/_components/table-of-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ export default function TableOfContent({
</nav>
{/* mobile */}
<nav className="relative md:hidden">
<Link
href={submitUrl}
className="fixed bottom-2 left-2 right-2 block rounded-md bg-background-light p-3 text-center text-lg brightness-150"
target="_blank"
>
立刻投稿
</Link>
<div
onClick={() => setShowDropdown((prev) => !prev)}
className={`${theme === "light" ? "bg-background-light" : "bg-foreground"} flex h-[40px] items-center justify-between rounded-xl px-4`}
Expand Down

0 comments on commit 7a027a9

Please sign in to comment.