Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: design updates + new components #801

Merged
merged 53 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
f89b39d
add initial design to components and remove old references to langs
ryanwaits Oct 30, 2024
16d6bd1
add custom table component
ryanwaits Oct 30, 2024
67d2dc6
adjust font size
ryanwaits Oct 30, 2024
10afa02
add bun
ryanwaits Oct 30, 2024
48a2fd2
remove unused components
ryanwaits Oct 30, 2024
3c45182
remove references to twoslash and outdated removed syntax highlighter
ryanwaits Oct 30, 2024
4616322
remove unused import
ryanwaits Nov 1, 2024
63a47fb
add scroll area
ryanwaits Nov 1, 2024
114d0e1
update theme colors for code highlighting
ryanwaits Nov 1, 2024
2e51613
override and add custom ordered list
ryanwaits Nov 1, 2024
0ebac7d
update quickstart with new components
ryanwaits Nov 1, 2024
ba4be16
use new code syntax
ryanwaits Nov 1, 2024
11a4918
adjust title and desc size
ryanwaits Nov 2, 2024
2249419
consolidate pages
ryanwaits Nov 2, 2024
919525f
update utils
ryanwaits Nov 2, 2024
9a3e794
add components and update imports
ryanwaits Nov 2, 2024
e7f59b8
add components config
ryanwaits Nov 2, 2024
dc2ac7c
add checkbox
ryanwaits Nov 2, 2024
2d79d98
remove unused page
ryanwaits Nov 2, 2024
d676692
fix language switcher animation
ryanwaits Nov 2, 2024
3dda9ea
update highlight colors
ryanwaits Nov 3, 2024
221a9d2
add debugging section
ryanwaits Nov 3, 2024
e803e21
docs: update stacks.js tx package content (#800)
janniks Nov 8, 2024
b867e8b
add font and new snippet page
ryanwaits Nov 8, 2024
4294bf1
add font to tailwind
ryanwaits Nov 8, 2024
f8d7f53
remove toc:false
ryanwaits Nov 8, 2024
078da6d
add custom unordered list
ryanwaits Nov 8, 2024
f6a4197
Merge branch 'main' into develop
ryanwaits Nov 8, 2024
727a15f
Merge branch 'develop' into feat/update-components
ryanwaits Nov 8, 2024
98a1654
add inter font weight and update color styling
ryanwaits Nov 10, 2024
8ddf56d
update component styling
ryanwaits Nov 10, 2024
424fc88
update config
ryanwaits Nov 10, 2024
91c712c
minor updates
ryanwaits Nov 10, 2024
c7620b0
styling update
ryanwaits Nov 10, 2024
1d4b9e1
use strict equality
ryanwaits Nov 10, 2024
2c8f189
style updates
ryanwaits Nov 10, 2024
73ab218
override hr and code elements
ryanwaits Nov 10, 2024
1cf57e9
update color config
ryanwaits Nov 10, 2024
8294ed7
update component styling
ryanwaits Nov 10, 2024
dc1a4c4
update styling
ryanwaits Nov 10, 2024
b724531
fix border gradient styling
ryanwaits Nov 10, 2024
1d55aa6
adjust gradient styling
ryanwaits Nov 10, 2024
e8819f2
remove snippets page
ryanwaits Nov 11, 2024
ac3c17c
add banner for stacks.js v7
ryanwaits Nov 11, 2024
9d3261d
update styling
ryanwaits Nov 11, 2024
9d78fd3
update broken list items and update installation code snippet
ryanwaits Nov 11, 2024
2d7a613
update text color for list items
ryanwaits Nov 11, 2024
3ae3704
update to use step component
ryanwaits Nov 11, 2024
f6f049a
add new icons
ryanwaits Nov 11, 2024
8c1d345
add custom hack badge
ryanwaits Nov 11, 2024
0b73023
update to use currentColor
ryanwaits Nov 11, 2024
0e2cd06
use HackBadge component
ryanwaits Nov 11, 2024
e8969cb
cleanup formatting
ryanwaits Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions app/(docs)/[...slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { ExternalLinkIcon } from "lucide-react";
import type { Metadata } from "next";
import { Card, Cards } from "fumadocs-ui/components/card";
import { RollButton } from "fumadocs-ui/components/roll-button";
Expand Down Expand Up @@ -90,7 +89,7 @@ export default function Page({ params }: { params: Param }): JSX.Element {
>
<RollButton />
{page.data.title !== "Home" && (
<h1 className="text-3xl font-bold text-foreground sm:text-4xl">
<h1 className="text-2xl text-foreground sm:text-3xl">
{prefix} {page.data.title}
</h1>
)}
Expand All @@ -99,6 +98,9 @@ export default function Page({ params }: { params: Param }): JSX.Element {
{page.data.description}
</p>
)}
{page.data.title !== "Home" && (
<hr className="border-t border-border/50" />
)}
<DocsBody>
{page.data.index ? (
<Category page={page} />
Expand Down
6 changes: 3 additions & 3 deletions app/(docs)/layout.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { cva } from "class-variance-authority";
import Link from "next/link";
import { useParams, usePathname } from "next/navigation";
import type { ReactNode } from "react";
import { cn } from "@/utils/cn";
import { cn } from "@/lib/utils";
import { modes } from "@/utils/modes";
import { ChevronLeft } from "lucide-react";

Expand All @@ -15,7 +15,7 @@ const itemVariants = cva(
{
variants: {
active: {
true: "text-accent-foreground",
true: "text-accent-foreground pointer-events-none",
},
mode: {
bitcoin: "bg-hiro",
Expand All @@ -31,7 +31,7 @@ const itemVariants = cva(
{
active: true,
mode: "stacks",
className: "bg-background",
className: "bg-inverted text-background",
},
],
}
Expand Down
78 changes: 0 additions & 78 deletions app/(home)/docs/page.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion app/(home)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function HomeLayout({
children: ReactNode;
}): JSX.Element {
return (
<div className="max-w-7xl mx-auto *:border-none">
<div className="px-10 *:border-none">
<Layout {...homeLayoutOptions}>{children}</Layout>
</div>
);
Expand Down
Loading