mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
Switch runtime to edge
Format code
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
node_modules
|
||||
out
|
||||
.next
|
||||
.next
|
||||
public
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ const nextConfig = {
|
||||
output: 'standalone',
|
||||
images: isExport ? { unoptimized: true } : {},
|
||||
experimental: {
|
||||
// runtime: 'nodejs',
|
||||
runtime: 'experimental-edge',
|
||||
largePageDataBytes: 512 * 1000,
|
||||
},
|
||||
compiler: {
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user