Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/publish-website-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
run: yarn build
working-directory: website-next
env:
# TODO: preview deployment only, remove once this targets production.
NEXT_PUBLIC_NOINDEX: "true"
NEXT_PUBLIC_SITE_URL: "https://next.chillicream.com"
NEXT_PUBLIC_ALGOLIA_APP_ID: ${{ vars.NEXT_PUBLIC_ALGOLIA_APP_ID }}
NEXT_PUBLIC_ALGOLIA_API_KEY: ${{ secrets.NEXT_PUBLIC_ALGOLIA_API_KEY }}
NEXT_PUBLIC_ALGOLIA_INDEX: ${{ vars.NEXT_PUBLIC_ALGOLIA_INDEX }}
Expand Down
10 changes: 10 additions & 0 deletions website-next/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"bradlc.vscode-tailwindcss",
"unifiedjs.vscode-mdx",
"jock.svg",
"ms-playwright.playwright"
]
}
7 changes: 0 additions & 7 deletions website-next/TODOS.md

This file was deleted.

7 changes: 1 addition & 6 deletions website-next/app/(content)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ export default function Home() {
<div className="px-5 py-8 sm:px-12">
<div className="mx-auto flex max-w-6xl flex-col gap-12">
<section>
<h2>Docs</h2>
<ul>
<li>
<Link href="/docs/example/getting-started">Example</Link>
</li>
</ul>
<Link href="/docs/hotchocolate/">Docs</Link>
</section>

<FromOurBlog />
Expand Down
2 changes: 1 addition & 1 deletion website-next/app/(content)/resources/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function ResourcesPage() {
return (
<>
<Typography variant="h1">Resources</Typography>
<p className="text-stone-600">
<p className="text-cc-ink-dim">
Brand assets, banners, and other resources are coming soon.
</p>
</>
Expand Down
2 changes: 1 addition & 1 deletion website-next/app/blog/tags/[tag]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default async function TagIndex({ params }: PageProps) {
<div className="mx-auto flex max-w-6xl flex-col gap-6">
<header className="flex flex-col gap-1">
<Typography variant="h1">#{tag}</Typography>
<p className="text-sm text-slate-500">
<p className="text-sm text-cc-ink-dim">
{tagged.length} {tagged.length === 1 ? "post" : "posts"} tagged
“{tag}”.
</p>
Expand Down
2 changes: 1 addition & 1 deletion website-next/app/docs/[...slug]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async function DocsLayout({
const currentPath = `/docs/${slug.join("/")}`;

return (
<div className="grid min-h-[calc(100vh-72px)] grid-cols-1 lg:grid-cols-[20rem_1fr]">
<div className="cc-content-dark grid min-h-[calc(100vh-72px)] grid-cols-1 lg:grid-cols-[20rem_1fr]">
<SidebarDrawer>
<Sidebar
tree={tree}
Expand Down
6 changes: 3 additions & 3 deletions website-next/app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ export default function DocsIndex() {
<div className="px-5 py-8 sm:px-12">
<div className="mx-auto max-w-5xl">
<Typography variant="h1">Documentation</Typography>
<p className="text-stone-600">
<p className="text-cc-ink-dim">
Pick a product to get started. More content is on its way.
</p>
<ul className="mt-6 grid grid-cols-1 gap-3 sm:grid-cols-2">
{PRODUCTS.map((p) => (
<li key={p.slug}>
<Link
href={`/docs/${p.slug}`}
className="block rounded-md border border-stone-200 p-4 text-stone-800 no-underline transition-colors hover:border-secondary-700 hover:text-secondary-700"
className="block rounded-md border border-cc-card-border p-4 text-cc-ink no-underline transition-colors hover:border-cc-accent hover:text-cc-accent"
>
<div className="font-medium">{p.label}</div>
<div className="text-sm text-stone-500">
<div className="text-sm text-cc-ink-dim">
/docs/{p.slug}
</div>
</Link>
Expand Down
Loading
Loading