Compare commits

...

2 Commits

Author SHA1 Message Date
f1f8db340b update 2025-08-08 17:17:28 +08:00
519713ffb4 update 2025-08-08 17:17:20 +08:00
8 changed files with 88 additions and 56 deletions

File diff suppressed because one or more lines are too long

1
.husky/pre-commit Normal file
View File

@@ -0,0 +1 @@
pnpm test

1
.stylelintcache Normal file
View File

@@ -0,0 +1 @@
[["1","2","3"],{"key":"4","value":"5"},{"key":"6","value":"7"},{"key":"8","value":"9"},"/Users/y/Workspace/ds.pages.yoshino-s.xyz/app/pages/Exception/ErrorPage.module.css",{"size":890,"mtime":1754644590804,"data":"10"},"/Users/y/Workspace/ds.pages.yoshino-s.xyz/app/main.css",{"size":526,"mtime":1752488689137,"data":"11"},"/Users/y/Workspace/ds.pages.yoshino-s.xyz/app/component/Hits/Hits.module.css",{"size":573,"mtime":1754644590795,"data":"12"},{"hashOfConfig":"13"},{"hashOfConfig":"13"},{"hashOfConfig":"13"},"1evb2tp"]

28
.stylelintrc.json Normal file
View File

@@ -0,0 +1,28 @@
{
"extends": ["stylelint-config-standard-scss"],
"rules": {
"custom-property-pattern": null,
"selector-class-pattern": null,
"scss/no-duplicate-mixins": null,
"declaration-empty-line-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"alpha-value-notation": null,
"custom-property-empty-line-before": null,
"property-no-vendor-prefix": null,
"color-function-notation": null,
"length-zero-no-unit": null,
"selector-not-notation": null,
"no-descending-specificity": null,
"comment-empty-line-before": null,
"scss/at-mixin-pattern": null,
"scss/at-rule-no-unknown": null,
"value-keyword-case": null,
"media-feature-range-notation": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
]
}
}

View File

@@ -5,9 +5,11 @@
@media screen and (min-width: 500px) {
column-count: 2;
}
@media screen and (min-width: 720px) {
column-count: 3;
}
@media screen and (min-width: 1100px) {
column-count: 5;
}
@@ -18,6 +20,7 @@
@media (max-width: $mantine-breakpoint-md) {
column-count: 2;
}
@media (max-width: $mantine-breakpoint-sm) {
column-count: 1;
}

View File

@@ -18,9 +18,7 @@
}
.title {
font-family:
Greycliff CF,
var(--mantine-font-family);
font-family: "Greycliff CF", var(--mantine-font-family);
text-align: center;
font-weight: 900;
font-size: rem(38px);

View File

@@ -56,7 +56,7 @@ export default function SettingsPage() {
try {
new URL(v.s3Url, location.origin);
form.clearFieldError("s3Url");
} catch (e) {
} catch {
form.setFieldError("s3Url", "Invalid Minio URL");
}
@@ -69,7 +69,7 @@ export default function SettingsPage() {
setMeilisearchVersion(version.pkgVersion);
form.clearFieldError("meilisearchUrl");
form.clearFieldError("meilisearchToken");
} catch (e) {
} catch {
form.setFieldError("meilisearchUrl", "Invalid Meilisearch URL");
form.setFieldError("meilisearchToken", "Invalid Meilisearch Token");
}

1
tsconfig.tsbuildinfo Normal file

File diff suppressed because one or more lines are too long