Skip to content

Commit 2c33216

Browse files
authored
Merge pull request #2 from Gachon-Univ-Creative-Code-Innovation/feat/GUC-43-main-page
메인페이지 초기 디자인
2 parents f8673c2 + f2ea66a commit 2c33216

File tree

16 files changed

+3839
-0
lines changed

16 files changed

+3839
-0
lines changed

eslint.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import js from '@eslint/js'
2+
import globals from 'globals'
3+
import reactHooks from 'eslint-plugin-react-hooks'
4+
import reactRefresh from 'eslint-plugin-react-refresh'
5+
6+
export default [
7+
{ ignores: ['dist'] },
8+
{
9+
files: ['**/*.{js,jsx}'],
10+
languageOptions: {
11+
ecmaVersion: 2020,
12+
globals: globals.browser,
13+
parserOptions: {
14+
ecmaVersion: 'latest',
15+
ecmaFeatures: { jsx: true },
16+
sourceType: 'module',
17+
},
18+
},
19+
plugins: {
20+
'react-hooks': reactHooks,
21+
'react-refresh': reactRefresh,
22+
},
23+
rules: {
24+
...js.configs.recommended.rules,
25+
...reactHooks.configs.recommended.rules,
26+
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
27+
'react-refresh/only-export-components': [
28+
'warn',
29+
{ allowConstantExport: true },
30+
],
31+
},
32+
},
33+
]

index.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>ALog</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<style>
8+
@import url("https://fonts.googleapis.com/css?family=Inter:400,600");
9+
</style>
10+
<style>
11+
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
12+
* {
13+
-webkit-font-smoothing: antialiased;
14+
box-sizing: border-box;
15+
}
16+
html,
17+
body {
18+
margin: 0px;
19+
height: 100%;
20+
}
21+
/* a blue color as a generic focus style */
22+
button:focus-visible {
23+
outline: 2px solid #4a90e2 !important;
24+
outline: -webkit-focus-ring-color auto 5px !important;
25+
}
26+
a {
27+
text-decoration: none;
28+
}
29+
</style>
30+
</head>
31+
<body>
32+
<div id="app"></div>
33+
<script type="module" src="./src/main.jsx"></script>
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)