-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄 redesign page, use vector maps (#19)
- Loading branch information
1 parent
7fe2a9d
commit 273db9f
Showing
76 changed files
with
3,837 additions
and
2,631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SCAVENGER_HUNT_DISABLED=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "default", | ||
"rsc": false, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.js", | ||
"css": "styles/globals.css", | ||
"baseColor": "neutral", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { | ||
Accordion, | ||
AccordionContent, | ||
AccordionItem, | ||
AccordionTrigger, | ||
} from '@/components/ui/accordion' | ||
import { COMPONENTS } from '@/components/ui/markdownComponents' | ||
import ReactMarkdown from 'react-markdown' | ||
|
||
export interface GlossaryItem { | ||
title: string | ||
content: string | ||
} | ||
|
||
interface GlossaryAccordionProps { | ||
glossary: GlossaryItem[] | ||
} | ||
|
||
export default function GlossaryAccordion({ | ||
glossary, | ||
}: GlossaryAccordionProps) { | ||
return ( | ||
<Accordion | ||
type="single" | ||
collapsible | ||
> | ||
{glossary.map((item) => ( | ||
<AccordionItem | ||
value={item.title} | ||
key={item.title} | ||
> | ||
<AccordionTrigger className="max-w-full py-6"> | ||
<div className="truncate pr-6">{item.title}</div> | ||
</AccordionTrigger> | ||
<AccordionContent className="text-base"> | ||
<ReactMarkdown components={COMPONENTS}> | ||
{item.content} | ||
</ReactMarkdown> | ||
</AccordionContent> | ||
</AccordionItem> | ||
))} | ||
</Accordion> | ||
) | ||
} |
Oops, something went wrong.