-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from nkc-ug/develop
09/28 Developからmainへマージ
- Loading branch information
Showing
20 changed files
with
444 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1 @@ | ||
# React + TypeScript + Vite | ||
|
||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. | ||
|
||
Currently, two official plugins are available: | ||
|
||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh | ||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh | ||
|
||
## Expanding the ESLint configuration | ||
|
||
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: | ||
|
||
- Configure the top-level `parserOptions` property like this: | ||
|
||
```js | ||
export default tseslint.config({ | ||
languageOptions: { | ||
// other options... | ||
parserOptions: { | ||
project: ['./tsconfig.node.json', './tsconfig.app.json'], | ||
tsconfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
}) | ||
``` | ||
|
||
- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked` | ||
- Optionally add `...tseslint.configs.stylisticTypeChecked` | ||
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config: | ||
|
||
```js | ||
// eslint.config.js | ||
import react from 'eslint-plugin-react' | ||
|
||
export default tseslint.config({ | ||
// Set the react version | ||
settings: { react: { version: '18.3' } }, | ||
plugins: { | ||
// Add the react plugin | ||
react, | ||
}, | ||
rules: { | ||
// other rules... | ||
// Enable its recommended rules | ||
...react.configs.recommended.rules, | ||
...react.configs['jsx-runtime'].rules, | ||
}, | ||
}) | ||
``` | ||
# NKC-UG 公式サイト用リポジトリ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Toppage } from "./pages/Toppage"; | ||
import { Routers } from "./routes/Routers"; | ||
|
||
function App() { | ||
return <Toppage />; | ||
return <Routers />; | ||
} | ||
|
||
export default App; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Box, List, ListItem, Typography } from "@mui/material"; | ||
import { Box, Link, List, ListItem, Typography } from "@mui/material"; | ||
|
||
//行動規範 | ||
export const CodeOfConduct = () => { | ||
|
@@ -43,6 +43,51 @@ export const CodeOfConduct = () => { | |
</ListItem> | ||
</List> | ||
</Box> | ||
<Box sx={{ padding: 2 }}> | ||
<Typography variant="h5">アンチハラスメントポリシー</Typography> | ||
<Typography> | ||
イベントに参加するみなさんは以下のポリシーを遵守するように心がけて | ||
ください。 | ||
<br /> | ||
ハラスメント行為には下記のことが含まれますが、これらに限定はされません。 | ||
</Typography> | ||
<List sx={{ width: "fit-content", margin: "auto" }}> | ||
<ListItem> | ||
社会的構造などの不適切なコメント(性別、性同一性と表現、性的指向、障がい、身体的 | ||
外観、体格、人種、年齢、宗教) | ||
</ListItem> | ||
<ListItem>脅迫、つきまとい、ストーカー行為</ListItem> | ||
<ListItem>不適切な画像、動画、録音。またはその再生</ListItem> | ||
<ListItem> | ||
発表やその他のイベントに対する妨害行為 不適切な身体的接触 | ||
</ListItem> | ||
<ListItem> | ||
特定の技術・サービス・企業・個人に対する否定や誹謗中傷など攻撃的な発言や行為 | ||
</ListItem> | ||
<ListItem>上記の行動のいずれかを支持または奨励する行為</ListItem> | ||
</List> | ||
<Typography> | ||
スポンサーや登壇者、主催スタッフもこのポリシーの対象となります。 | ||
<br /> | ||
ポリシーに違反する言葉や | ||
画像などのメディアはいかなる発表やワークショップ、Twitterのようなオンラインメディアにおいて | ||
も不適切です。 | ||
<br /> | ||
※もしハラスメントを受けていると感じたり、他の誰かがハラスメントされていることに気がついた | ||
場合、または他に何かお困りのことがあれば、すぐに運営までご連絡ください。 | ||
<br /> | ||
運営で迅速に適切 | ||
な対応をとり、みなさんが安心してコミュニティイベントに参加できるよう最善を尽くします。 | ||
<br /> | ||
連絡先: | ||
<Link href="mailto:[email protected]">[email protected] </Link> | ||
(NKC-UG運営) | ||
</Typography> | ||
<Typography> | ||
このアンチハラスメントポリシーは「Geek Feminism | ||
Wiki」を元に作成しています | ||
</Typography> | ||
</Box> | ||
</Box> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.