Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Jul 7, 2024
1 parent 6239b8b commit e361d7d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions www/src/components/docs/introductionTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ export function IntroductionTab() {
const [isAppRouterSelected, setIsAppRouterSelected] = useState(true);
return (
<>
<div className="flex w-full justify-center gap-10 py-5">
<div className="flex w-full justify-center gap-10 py-5">
<button
className={`${isAppRouterSelected ? "bg-primary text-white" : "bg-transparent"} inline-flex cursor-pointer items-center rounded-lg px-4 py-2 text-sm font-semibold transition-colors duration-500 hover:no-underline md:px-5 md:text-base lg:px-4 lg:py-3 `}
className={`${isAppRouterSelected ? "bg-primary text-white" : "bg-transparent"} inline-flex cursor-pointer items-center rounded-lg px-4 py-2 text-sm font-semibold transition-colors duration-500 hover:no-underline md:px-5 md:text-base lg:px-4 lg:py-3`}
onClick={() => setIsAppRouterSelected(true)}
>
App Router
</button>
<button
className={`${!isAppRouterSelected ? "bg-primary text-white" : "bg-transparent"} inline-flex cursor-pointer items-center rounded-lg px-4 py-2 text-sm font-semibold transition-colors duration-500 hover:no-underline md:px-5 md:text-base lg:px-4 lg:py-3 `}
className={`${!isAppRouterSelected ? "bg-primary text-white" : "bg-transparent"} inline-flex cursor-pointer items-center rounded-lg px-4 py-2 text-sm font-semibold transition-colors duration-500 hover:no-underline md:px-5 md:text-base lg:px-4 lg:py-3`}
onClick={() => setIsAppRouterSelected(false)}
>
{" "}
Expand Down
5 changes: 1 addition & 4 deletions www/src/components/landingPage/cli.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ export default function CodeCard() {
className="mx-auto w-full overflow-hidden rounded-lg sm:w-[600px]"
aria-hidden="true"
>
<div
className="inverse-toggle h-[300px] overflow-hidden rounded-lg border border-t3-purple-200/20 bg-white/10 px-1 pb-6 pt-4
font-mono text-[10px] leading-normal text-t3-purple-50 subpixel-antialiased shadow-lg transition-all sm:h-[400px] sm:px-2 sm:text-xs md:px-5"
>
<div className="inverse-toggle h-[300px] overflow-hidden rounded-lg border border-t3-purple-200/20 bg-white/10 px-1 pb-6 pt-4 font-mono text-[10px] leading-normal text-t3-purple-50 subpixel-antialiased shadow-lg transition-all sm:h-[400px] sm:px-2 sm:text-xs md:px-5">
<div className="top mb-2 flex">
<div className="h-3 w-3 rounded-full bg-red-500"></div>
<div className="ml-2 h-3 w-3 rounded-full bg-orange-300"></div>
Expand Down
3 changes: 1 addition & 2 deletions www/src/components/navigation/LanguageSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ export default function LanguageSelect({ language }: LanguageSelectProps) {
className={({ selected, active }) =>
`focus-none relative cursor-pointer bg-t3-purple-200/50 px-4 py-2 text-slate-900 outline-none hover:bg-t3-purple-300/75 dark:bg-t3-purple-200/10 dark:text-t3-purple-100 dark:hover:bg-t3-purple-200/20 ${
selected && "bg-t3-purple-400/75 dark:bg-t3-purple-400/20"
}
${active && "bg-t3-purple-300/75 dark:bg-t3-purple-200/20"}`
} ${active && "bg-t3-purple-300/75 dark:bg-t3-purple-200/20"}`
}
value={code}
>
Expand Down

0 comments on commit e361d7d

Please sign in to comment.