Skip to content

Commit

Permalink
デプロイ (#84)
Browse files Browse the repository at this point in the history
* docs: add CODE_OF_CONDUCT.md

* content: Add a news

* remove news placeholders

* content: Change to information of 2024

* fix: #64, delete hamburger-menu.svg (#82)

* head内でfontの読み込みがcharsetの指定より先に来てしまう問題を修正 (#81)

* stylelint を追加 (#80)

* deps: add stylelint

* chore: add stylelintrc and browserslist

* chore: add stylelint scripts and githooks

* fix: resolve error

* chore: fix scss config

* chore: update stylelint rules

* chore: add firefox to browserslist

* feat (wip): add sponsor (sakura internet)

* feat: add sponsor

* hotfix: remove shinkan and en

---------

Co-authored-by: OKAMOTO Shigehiro <[email protected]>
  • Loading branch information
Ryoga-exe and oka4shi authored Feb 2, 2024
1 parent e1c1097 commit 22a576b
Show file tree
Hide file tree
Showing 21 changed files with 2,190 additions and 239 deletions.
28 changes: 28 additions & 0 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
customSyntax: "postcss-html"
plugins:
- "stylelint-scss"
- "stylelint-declaration-block-no-ignored-properties"
- "stylelint-no-unsupported-browser-features"
- "stylelint-prettier"
extends:
- "stylelint-config-standard-scss"
- "stylelint-config-recess-order"
- "stylelint-config-prettier-scss"
ignoreFiles:
- node_modules/**/*
rules:
prettier/prettier: true
plugin/declaration-block-no-ignored-properties: true
plugin/no-unsupported-browser-features:
- true
- severity: "warning"
ignore: ["css-nesting"]
font-family-no-missing-generic-family-keyword: true
declaration-block-no-shorthand-property-overrides: true
selector-pseudo-element-colon-notation: "double"
selector-pseudo-class-no-unknown:
- true
- ignorePseudoClasses: ["global"]
no-duplicate-selectors:
- true
- severity: "warning"
4 changes: 3 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ import sitemap from "@astrojs/sitemap";
const defaultLocale = "ja";
const locales = {
ja: "ja-JP",
// en: "en-US",
};
const POSIXlocalesMap = {
ja: "ja_JP",
// en: "en_US",
};

// https://astro.build/config
Expand All @@ -22,7 +24,7 @@ export default defineConfig({
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "src/styles/variables.scss";`,
additionalData: `@use 'sass:color';@import "src/styles/variables.scss";`,
},
},
},
Expand Down
5 changes: 5 additions & 0 deletions browserslist
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
last 2 Chrome versions
last 2 Edge versions
last 2 Safari versions
last 2 Firefox versions
ios >= 15
Loading

0 comments on commit 22a576b

Please sign in to comment.