diff --git a/README.md b/README.md
index 1287137..d274db8 100644
--- a/README.md
+++ b/README.md
@@ -78,7 +78,7 @@
### :camera: Screenshots
-
+
diff --git a/next.config.js b/next.config.js
index ba2b84f..e0f1936 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,6 +1,7 @@
-/** @type {import('next').NextConfig} */
+// @ts-check
-export default {
+/** @type {import('next').NextConfig} */
+const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
@@ -16,3 +17,5 @@ export default {
],
},
};
+
+export default nextConfig;
diff --git a/package.json b/package.json
index e1d9bfd..15ebd25 100644
--- a/package.json
+++ b/package.json
@@ -38,6 +38,7 @@
"@babel/core": "7.23.6",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
+ "@tailwindcss/container-queries": "0.1.1",
"@types/node": "20.10.5",
"@types/react": "18.2.29",
"@types/react-dom": "18.2.18",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 56fa791..de19472 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -79,6 +79,9 @@ devDependencies:
'@commitlint/config-conventional':
specifier: 18.4.3
version: 18.4.3
+ '@tailwindcss/container-queries':
+ specifier: 0.1.1
+ version: 0.1.1(tailwindcss@3.4.0)
'@types/node':
specifier: 20.10.5
version: 20.10.5
@@ -891,6 +894,14 @@ packages:
tslib: 2.5.0
dev: false
+ /@tailwindcss/container-queries@0.1.1(tailwindcss@3.4.0):
+ resolution: {integrity: sha512-p18dswChx6WnTSaJCSGx6lTmrGzNNvm2FtXmiO6AuA1V4U5REyoqwmT6kgAsIMdjo07QdAfYXHJ4hnMtfHzWgA==}
+ peerDependencies:
+ tailwindcss: '>=3.2.0'
+ dependencies:
+ tailwindcss: 3.4.0
+ dev: true
+
/@tanstack/query-core@5.14.2:
resolution: {integrity: sha512-QmoJvC72sSWs3hgGis8JdmlDvqLfYGWUK4UG6OR9Q6t28JMN9m2FDwKPqoSJ9YVocELCSjMt/FGjEiLfk8000Q==}
dev: false
diff --git a/src/app/(home)/page.tsx b/src/app/(home)/page.tsx
index 0d2313b..cc00182 100644
--- a/src/app/(home)/page.tsx
+++ b/src/app/(home)/page.tsx
@@ -15,7 +15,6 @@ import {
} from '@mantine/core';
import Head from 'next/head';
import { useDeferredValue, useState } from 'react';
-import { AppShell } from '@/components/layouts/AppShell';
import { ButtonDemo } from '@/components/modules/ButtonDemo';
import { ComboboxDemo } from '@/components/modules/ComboboxDemo';
import { DataDisplayDemo } from '@/components/modules/DataDisplayDemo';
@@ -56,7 +55,7 @@ const HomePage = () => {
const deferredError = useDeferredValue(error);
const deferredPlaceholder = useDeferredValue(placeholder);
- const defaultProps: ControlledDemoProps = {
+ const defaultProps = {
color,
description: deferredDescription,
disabled,
@@ -67,7 +66,7 @@ const HomePage = () => {
size,
withAsterisk,
loading,
- };
+ } satisfies ControlledDemoProps;
return (
<>
@@ -243,8 +242,4 @@ const HomePage = () => {
);
};
-HomePage.getLayout = (page: React.ReactNode) => {
- return {page};
-};
-
export default HomePage;
diff --git a/src/app/error.tsx b/src/app/error.tsx
index 9c5563b..fdb1eb0 100644
--- a/src/app/error.tsx
+++ b/src/app/error.tsx
@@ -12,8 +12,8 @@ import {
function Error() {
return (
-
-
+
+
{
return (
-
-
+
+
{
return (
- {title}
+ {url ? (
+
+ {title}
+
+ ) : (
+ {title}
+ )}
{group && (
{group}
diff --git a/src/components/modules/ButtonDemo.tsx b/src/components/modules/ButtonDemo.tsx
index fb22b8a..64e2ac7 100644
--- a/src/components/modules/ButtonDemo.tsx
+++ b/src/components/modules/ButtonDemo.tsx
@@ -16,7 +16,11 @@ const ButtonDemo = memo(function ButtonDemo({
}: ControlledDemoProps) {
return (
<>
-
+
-
+