-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from bleu/juliano/op-662-ensure-quest-page-ma…
…tches-design-spec Quest page
- Loading branch information
Showing
34 changed files
with
558 additions
and
341 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 |
---|---|---|
|
@@ -41,7 +41,7 @@ | |
"@0no-co/graphqlsp": "^1.12.16", | ||
"@tailwindcss/typography": "^0.5.15", | ||
"@types/node": "^22", | ||
"@types/react": "npm:[email protected]alpha.3", | ||
"@types/react": "npm:[email protected]rc.1", | ||
"@types/react-dom": "npm:[email protected]", | ||
"biome": "^0.3.3", | ||
"lint-staged": "^15.3.0", | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,29 @@ | ||
import { cn } from "@/lib/utils"; | ||
import { ComponentProps } from "react"; | ||
|
||
export const IndicatorPill = ({ | ||
className, | ||
...props | ||
}: ComponentProps<"span">) => { | ||
return ( | ||
<div className="relative border shadow-[1px_1px_0px_0px_#000000] bg-primary border-primary-foreground items-center text-center rounded-lg justify-center flex py-1 px-4"> | ||
<AnchorPoint className="absolute top-1 left-1 " /> | ||
<span | ||
className="text-primary-foreground text-xs font-bold whitespace-nowrap flex items-center" | ||
{...props} | ||
/> | ||
<AnchorPoint className="absolute top-1 right-1 " /> | ||
</div> | ||
); | ||
}; | ||
|
||
const AnchorPoint = ({ className }: { className: string }) => { | ||
return ( | ||
<div | ||
className={cn( | ||
"size-[5px] border-[1.5px] border-primary-foreground rounded-full shadow-[0.5px_0.5px_0px_0px_#0000004D]", | ||
className, | ||
)} | ||
/> | ||
); | ||
}; |
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
22 changes: 22 additions & 0 deletions
22
apps/govquests-frontend/src/components/ui/DividerHeader.tsx
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,22 @@ | ||
import { cn } from "@/lib/utils"; | ||
import { ComponentProps, ReactNode } from "react"; | ||
|
||
export const DividerHeader = ({ | ||
children, | ||
className, | ||
}: ComponentProps<"div">) => { | ||
return ( | ||
<div className="flex items-center justify-center w-full gap-9"> | ||
<div className="border-b h-0 w-full" /> | ||
<div | ||
className={cn( | ||
"text-xl font-medium text-foreground/50 whitespace-nowrap", | ||
className, | ||
)} | ||
> | ||
{children} | ||
</div> | ||
<div className="border-b h-0 w-full" /> | ||
</div> | ||
); | ||
}; |
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
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
Oops, something went wrong.