feat(nav): Go to Library button on the marketing site
deploy / build-and-deploy (push) Canceled after 0s

This commit is contained in:
pat
2026-09-02 12:57:33 +00:00
parent 6173d478c7
commit 51d3d9a6ae
+11 -4
View File
@@ -6,7 +6,6 @@ const LINKS = [
{ href: "#contents", label: "Contents" }, { href: "#contents", label: "Contents" },
{ href: "#letter", label: "Why" }, { href: "#letter", label: "Why" },
{ href: "#faq", label: "FAQ" }, { href: "#faq", label: "FAQ" },
{ href: "/read", label: "Library" },
]; ];
function NavItem({ href, label, onClick }) { function NavItem({ href, label, onClick }) {
@@ -67,9 +66,14 @@ export default function Nav() {
))} ))}
</div> </div>
<a href="#get" className="btn btn-primary nav-cta"> <div className="nav-actions">
Get the preview <Link href="/read" className="btn btn-ghost nav-cta" onClick={close}>
</a> Go to Library
</Link>
<a href="#get" className="btn btn-primary nav-cta">
Get the preview
</a>
</div>
<button <button
type="button" type="button"
@@ -87,6 +91,9 @@ export default function Nav() {
{LINKS.map((l) => ( {LINKS.map((l) => (
<NavItem key={l.href} href={l.href} label={l.label} onClick={close} /> <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}> <a href="#get" className="btn btn-primary" onClick={close}>
Get the preview Get the preview
</a> </a>