Skip to content

Commit

Permalink
Merge pull request #38 from calvo-jp/optimization
Browse files Browse the repository at this point in the history
Optimization
  • Loading branch information
calvo-jp authored Feb 29, 2024
2 parents c1d0801 + ffa41b0 commit 399c253
Show file tree
Hide file tree
Showing 31 changed files with 694 additions and 757 deletions.
100 changes: 56 additions & 44 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@untitled-theme/colors": "workspace:*",
"@untitled-theme/icons-react": "workspace:*",
"geist": "1.2.2",
"next": "14.1.0",
"next": "14.1.1-canary.80",
"next-themes": "0.2.1",
"react": "^18",
"react-dom": "^18",
Expand Down
3 changes: 3 additions & 0 deletions website/src/@modal/(.)icons/[slug]/default.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Default() {
return null;
}
19 changes: 19 additions & 0 deletions website/src/@modal/(.)icons/[slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import {Dialog} from '@ark-ui/react';
import {XCloseIcon} from '@untitled-theme/icons-react';

export default function IconDetailsModal() {
return (
<Dialog.Root open lazyMount unmountOnExit>
<Dialog.Backdrop className="fixed inset-0 z-overlay bg-white/25 backdrop-blur-sm data-open:animate-fade-in data-closed:animate-fade-out dark:bg-gray-true-950/50" />
<Dialog.Positioner>
<Dialog.Content className="fixed bottom-0 right-0 z-modal w-full border-t bg-white p-4 data-open:animate-slide-up data-closed:animate-slide-down md:p-6 lg:p-8 dark:bg-gray-true-950">
<div>It works</div>

<Dialog.CloseTrigger className="absolute right-3 top-3 p-1">
<XCloseIcon />
</Dialog.CloseTrigger>
</Dialog.Content>
</Dialog.Positioner>
</Dialog.Root>
);
}
3 changes: 3 additions & 0 deletions website/src/@modal/(.)icons/default.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Default() {
return null;
}
52 changes: 0 additions & 52 deletions website/src/app/(index)/gallery.tsx

This file was deleted.

Loading

0 comments on commit 399c253

Please sign in to comment.