Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions apps/website/app/(home)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const HomeLayout = async ({
}): Promise<ReactElement> => {
const hasUpdates = !!(await getAllBlogs()).length;
const navigationItems = [
{ href: "/try", label: "Try it" },
{ href: "/#about", label: "About" },
{ href: "/#plugins", label: "Plugins" },
{ href: "/#resources", label: "Resources" },
Expand Down
16 changes: 8 additions & 8 deletions apps/website/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,22 +299,22 @@ const Home = async (): Promise<ReactElement> => {
build on.
</p>
<div className="mt-8 flex flex-col gap-3 sm:flex-row">
<Link
href="/try"
className="inline-flex items-center justify-center gap-2 rounded-md bg-primary px-5 py-3 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-primary/90 hover:text-white"
>
Try a Discourse Graph
<Network className="h-4 w-4" aria-hidden="true" />
</Link>
{/* Use hard navigation across the marketing/docs boundary because client-side transitions can leak docs CSS. */}
{/* eslint-disable-next-line @next/next/no-html-link-for-pages */}
<a
href="/docs"
className="inline-flex items-center justify-center gap-2 rounded-md bg-primary px-5 py-3 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-primary/90 hover:text-white"
className="inline-flex items-center justify-center gap-2 rounded-md border border-white/35 px-5 py-3 text-sm font-semibold text-white transition-colors hover:border-white hover:bg-white/10 hover:text-white"
>
Open docs
<BookOpen className="h-4 w-4" aria-hidden="true" />
</a>
<Link
href="/#plugins"
className="inline-flex items-center justify-center gap-2 rounded-md border border-white/35 px-5 py-3 text-sm font-semibold text-white transition-colors hover:border-white hover:bg-white/10 hover:text-white"
>
Explore plugins
<Puzzle className="h-4 w-4" aria-hidden="true" />
</Link>
<Link
href={SLACK_URL}
className="inline-flex items-center justify-center gap-2 rounded-md border border-white/20 px-5 py-3 text-sm font-semibold text-white/90 transition-colors hover:border-secondary hover:text-white"
Expand Down
17 changes: 17 additions & 0 deletions apps/website/app/(prototype)/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { ReactElement, ReactNode } from "react";
import localFont from "next/font/local";
import "~/globals.css";

const geist = localFont({
src: "../fonts/GeistVF.woff",
});

const PrototypeLayout = ({
children,
}: {
children: ReactNode;
}): ReactElement => (
<div className={`${geist.className} antialiased`}>{children}</div>
);

export default PrototypeLayout;
Loading
Loading