Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 8 additions & 20 deletions frontend/src/components/SidebarLeft.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,14 @@
font-display: swap;
}


/* --- κΈ°λ³Έ μ„€μ • μ΄ˆκΈ°ν™” --- */
button:focus {
outline: none;
box-shadow: none;
}


/* --- μ‚¬μ΄λ“œλ°” μ»¨ν…Œμ΄λ„ˆ --- */
.sidebarLeft {
position: relative;
Expand Down Expand Up @@ -104,6 +106,7 @@ button:focus {
padding: 30px;
}


/* --- 둜고, λ²„νŠΌ --- */
.sidebarLeftLogo {
position: absolute;
Expand Down Expand Up @@ -153,6 +156,7 @@ button:focus {
left: 250px;
}


/* --- 약속 생성 λ²„νŠΌ --- */
.newButton {
position: relative;
Expand Down Expand Up @@ -214,6 +218,7 @@ button:focus {
display: none;
}


/* --- νŽ˜μ΄μ§€ 이동 λ²„νŠΌ --- */
.iconRow {
margin-bottom: 108px;
Expand Down Expand Up @@ -252,6 +257,7 @@ button:focus {
white-space: nowrap;
}


/* --- 약속 달λ ₯ --- */
.calendar {
margin: 25px 0;
Expand Down Expand Up @@ -353,6 +359,7 @@ button:focus {
border-radius: 4px;
}


/* --- 약속 λͺ©λ‘ --- */
.appointments {
margin: 25px 0;
Expand Down Expand Up @@ -410,6 +417,7 @@ button:focus {
color: #8aa24b;
}


/* --- ν”„λ‘œν•„ 이미지 --- */
.profile {
position: absolute;
Expand All @@ -424,23 +432,3 @@ button:focus {

background-color: #ffffff;
}

/* --- ν”„λ‘œν•„ 이미지 --- */
.profile {
position: absolute;
left: 38px;
bottom: 38px;

width: 45px;
height: 45px;

border-radius: 50%;
overflow: hidden;
}

.profile img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
2 changes: 1 addition & 1 deletion frontend/src/components/SidebarLeft.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const SidebarLeft = ({ events = [] }) => {
// νŽ˜μ΄μ§€ μƒνƒœ
const isHomePage = location.pathname === "/home";
const isCreatePage = location.pathname === "/create";
const isListPage = location.pathname == -"/list";
const isListPage = location.pathname === "/list";

// 둜고 μƒνƒœ
const [isLogoHovered, setIsLogoHovered] = useState(false);
Expand Down
24 changes: 24 additions & 0 deletions frontend/yakssokFrontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
12 changes: 12 additions & 0 deletions frontend/yakssokFrontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# React + 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 using TypeScript and enable type-aware lint rules. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
33 changes: 33 additions & 0 deletions frontend/yakssokFrontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'

export default [
{ ignores: ['dist'] },
{
files: ['**/*.{js,jsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...reactHooks.configs.recommended.rules,
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
13 changes: 13 additions & 0 deletions frontend/yakssokFrontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading
Loading