Skip to content

Commit

Permalink
refactor(header): remove import/export buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ruru-m07 committed Sep 19, 2024
1 parent 55b7718 commit 5ca0706
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions apps/www/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const CodeBlockServer = dynamic(
<Spinner className="mr-4" /> Loading...
</div>
),
}
},
);

export default function HomePage() {
Expand Down Expand Up @@ -391,7 +391,7 @@ export default function App() {
className={cn(
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
"bg-primary text-primary-foreground shadow hover:bg-primary/85 hover:shadow-md",
"h-9 px-4 py-2"
"h-9 px-4 py-2",
)}
href={"/docs"}
>
Expand All @@ -401,7 +401,7 @@ export default function App() {
className={cn(
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
"border-input border-[1.5px] bg-primary-foreground hover:bg-[#f3f3f3] dark:hover:bg-[#202020]",
"h-9 px-4 py-2"
"h-9 px-4 py-2",
)}
href={"https://github.com/ruru-m07/ruru-ui"}
target="_blank"
Expand Down Expand Up @@ -434,7 +434,7 @@ const StepCounter = ({
<div
className={cn(
"bg-primary rounded-full w-7 h-7 flex items-center justify-center mb-3",
className
className,
)}
>
<label className="text-primary-foreground">{count}</label>
Expand Down
4 changes: 2 additions & 2 deletions apps/www/components/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Header() {
</TooltipContent>
</Tooltip>

<Tooltip>
{/* <Tooltip>
<TooltipTrigger asChild>
<ThemeFeatures />
</TooltipTrigger>
Expand All @@ -43,7 +43,7 @@ export default function Header() {
<ThemeImport />
</TooltipTrigger>
<TooltipContent>Import a theme from a JSON file</TooltipContent>
</Tooltip>
</Tooltip> */}
</TooltipProvider>
</div>
</div>
Expand Down
Loading

0 comments on commit 5ca0706

Please sign in to comment.