Skip to content

Commit

Permalink
fast furious
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Aug 15, 2024
1 parent 94c1ca7 commit 70eb072
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const viewport: Viewport = {

const fontSans = localFont({
src: [{ path: './fonts/Inter.woff2' }],
variable: '--font-sans',
variable: '--font-sans'
})

const fontMono = localFont({
Expand Down
4 changes: 3 additions & 1 deletion components/table-of-contents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ function TocLink({ item, activeId }: { item: TableOfContentsProps; activeId: str
<Link
className={cn(
'outline-none block no-underline tracking-tight lg:text-[0.885rem] duration-200',
item.url.split('#')[1] === activeId ? 'dark:text-primary-400 text-primary-600' : 'text-muted-fg hover:text-primary-600 dark:hover:text-primary-400',
item.url.split('#')[1] === activeId
? 'dark:text-primary-400 text-primary-600'
: 'text-muted-fg hover:text-primary-600 dark:hover:text-primary-400'
)}
href={item.url}
>
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"color-namer": "^1.4.0",
"embla-carousel-autoplay": "^8.1.8",
"embla-carousel-react": "^8.1.8",
"framer-motion": "^11.3.24",
"framer-motion": "^11.3.28",
"input-otp": "^1.2.4",
"justd-icons": "^1.4.30",
"next": "^14.2.5",
Expand All @@ -38,18 +38,18 @@
"react-use-measure": "^2.1.1",
"rehype-pretty-code": "^0.13.2",
"rehype-stringify": "^10.0.0",
"shiki": "^1.12.1",
"shiki": "^1.13.0",
"sonner": "^1.5.0",
"tailwind-merge": "^2.4.0",
"tailwind-merge": "^2.5.2",
"tailwind-variants": "^0.2.1",
"tailwindcss-animate": "^1.0.7",
"tailwindcss-react-aria-components": "^1.1.4",
"title": "^3.5.3",
"use-debounce": "^10.0.2",
"usemods": "^1.6.1"
"usemods": "^1.7.1"
},
"devDependencies": {
"@shikijs/rehype": "^1.12.1",
"@shikijs/rehype": "^1.13.0",
"@tailwindcss/typography": "^0.5.14",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/chroma-js": "^2.4.4",
Expand All @@ -71,7 +71,7 @@
"prettier-plugin-tailwindcss": "^0.6.6",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"tailwindcss": "^3.4.9",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"velite": "0.1.0-beta.11"
},
Expand Down

0 comments on commit 70eb072

Please sign in to comment.