feat(nav): Go to Library button on the marketing site
deploy / build-and-deploy (push) Canceled after 0s
deploy / build-and-deploy (push) Canceled after 0s
This commit is contained in:
@@ -6,7 +6,6 @@ const LINKS = [
|
||||
{ href: "#contents", label: "Contents" },
|
||||
{ href: "#letter", label: "Why" },
|
||||
{ href: "#faq", label: "FAQ" },
|
||||
{ href: "/read", label: "Library" },
|
||||
];
|
||||
|
||||
function NavItem({ href, label, onClick }) {
|
||||
@@ -67,9 +66,14 @@ export default function Nav() {
|
||||
))}
|
||||
</div>
|
||||
|
||||
<a href="#get" className="btn btn-primary nav-cta">
|
||||
Get the preview
|
||||
</a>
|
||||
<div className="nav-actions">
|
||||
<Link href="/read" className="btn btn-ghost nav-cta" onClick={close}>
|
||||
Go to Library
|
||||
</Link>
|
||||
<a href="#get" className="btn btn-primary nav-cta">
|
||||
Get the preview
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
@@ -87,6 +91,9 @@ export default function Nav() {
|
||||
{LINKS.map((l) => (
|
||||
<NavItem key={l.href} href={l.href} label={l.label} onClick={close} />
|
||||
))}
|
||||
<Link href="/read" className="btn btn-ghost" onClick={close}>
|
||||
Go to Library
|
||||
</Link>
|
||||
<a href="#get" className="btn btn-primary" onClick={close}>
|
||||
Get the preview
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user