diff --git a/.prettierignore b/.prettierignore index e5915db..60fd5f4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ node_modules out -.next \ No newline at end of file +.next +public diff --git a/components/RUA/loading/VercelLoading.module.css b/components/RUA/loading/VercelLoading.module.css index fb8efa5..73d6121 100644 --- a/components/RUA/loading/VercelLoading.module.css +++ b/components/RUA/loading/VercelLoading.module.css @@ -1,69 +1,69 @@ .container { - position: absolute; - bottom: 10px; - right: 30px; + position: absolute; + bottom: 10px; + right: 30px; - border-radius: 3px; - background: #000; - color: #fff; - font: initial; - cursor: initial; - letter-spacing: initial; - text-shadow: initial; - text-transform: initial; - visibility: initial; + border-radius: 3px; + background: #000; + color: #fff; + font: initial; + cursor: initial; + letter-spacing: initial; + text-shadow: initial; + text-transform: initial; + visibility: initial; - padding: 7px 10px 8px 10px; - align-items: center; - box-shadow: 0 11px 40px 0 rgba(0, 0, 0, 0.25), + padding: 7px 10px 8px 10px; + align-items: center; + box-shadow: 0 11px 40px 0 rgba(0, 0, 0, 0.25), 0 2px 10px 0 rgba(0, 0, 0, 0.12); - display: none; - opacity: 0; - transition: opacity 0.1s ease, bottom 0.1s ease; - animation: fade-in 0.1s ease-in-out; + display: none; + opacity: 0; + transition: opacity 0.1s ease, bottom 0.1s ease; + animation: fade-in 0.1s ease-in-out; } .container.visible { - display: flex; + display: flex; } .container.building { - bottom: 20px; - opacity: 1; + bottom: 20px; + opacity: 1; } .icon-wrapper { - width: 16px; - height: 16px; + width: 16px; + height: 16px; } .icon-wrapper > svg { - width: 100%; - height: 100%; + width: 100%; + height: 100%; } .icon-group { - animation: strokedash 1s ease-in-out both infinite; + animation: strokedash 1s ease-in-out both infinite; } @keyframes fade-in { - from { - bottom: 10px; - opacity: 0; - } - to { - bottom: 20px; - opacity: 1; - } + from { + bottom: 10px; + opacity: 0; + } + to { + bottom: 20px; + opacity: 1; + } } @keyframes strokedash { - 0% { - stroke-dasharray: 0 226; - } - 80%, - 100% { - stroke-dasharray: 659 226; - } + 0% { + stroke-dasharray: 0 226; + } + 80%, + 100% { + stroke-dasharray: 659 226; + } } diff --git a/components/gists/GistsCode.module.css b/components/gists/GistsCode.module.css index 4145650..e052001 100644 --- a/components/gists/GistsCode.module.css +++ b/components/gists/GistsCode.module.css @@ -1,16 +1,16 @@ .wrapper { - @apply overflow-hidden rounded-lg; - @apply mb-8 shadow-lg; - font-size: 16px; - /* box-shadow: 0 13px 27px -5px rgb(50 50 93 / 25%), + @apply overflow-hidden rounded-lg; + @apply mb-8 shadow-lg; + font-size: 16px; + /* box-shadow: 0 13px 27px -5px rgb(50 50 93 / 25%), 0 8px 16px -8px rgb(0 0 0 / 30%), 0 -6px 16px -6px rgb(0 0 0 / 3%); */ } .wrapper pre { - margin: unset; - border-radius: unset; + margin: unset; + border-radius: unset; } .wrapper .loading span { - margin: unset; + margin: unset; } diff --git a/components/mdx/Image.module.css b/components/mdx/Image.module.css index c357d4a..3423dd0 100644 --- a/components/mdx/Image.module.css +++ b/components/mdx/Image.module.css @@ -1,16 +1,16 @@ .imageContainer { - width: 100%; - padding: 10px 0; - position: relative; + width: 100%; + padding: 10px 0; + position: relative; } .imageContainer > span { - position: unset !important; + position: unset !important; } .imageContainer .image { - object-fit: contain; - width: 100% !important; - position: relative !important; - height: unset !important; + object-fit: contain; + width: 100% !important; + position: relative !important; + height: unset !important; } diff --git a/next.config.mjs b/next.config.mjs index 8f27007..8bbb0c9 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -10,7 +10,7 @@ const nextConfig = { output: 'standalone', images: isExport ? { unoptimized: true } : {}, experimental: { - // runtime: 'nodejs', + runtime: 'experimental-edge', largePageDataBytes: 512 * 1000, }, compiler: { diff --git a/tsconfig.json b/tsconfig.json index 0984462..5a633fd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,11 +2,7 @@ "compilerOptions": { "baseUrl": ".", "target": "es6", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -19,14 +15,8 @@ "isolatedModules": true, "jsx": "preserve", // "typeRoots": ["./types", "./node_modules/@types"], - "incremental": true, + "incremental": true }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] +}