Skip to content

Commit

Permalink
Merge pull request #23 from study2895/main
Browse files Browse the repository at this point in the history
[Docs] 11μ°¨ 회의둝 μ—…λ‘œλ“œ 및 λ§ˆμ΄νŽ˜μ΄μ§€ μˆ˜μ • 쀑
  • Loading branch information
study2895 authored Oct 28, 2024
2 parents 56da546 + e5fa155 commit cf61fe9
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 28 deletions.
31 changes: 16 additions & 15 deletions docs/회의둝.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# [Notion 회의둝]

| μ°¨μ‹œ | λ‚ μ§œ | νšŒμ˜μœ ν˜• | μ°Έμ—¬μž | μ„œκΈ° | 회의둝 |
| ------ | ------ | ------ | ------ | ------ | ------ |
| 1μ°¨ | 2024λ…„ 9μ›” 23일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 졜민 | https://www.notion.so/1-12db4ba0516b817c9781cb1513ef7775 |
| 2μ°¨ | 2024λ…„ 9μ›” 25일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ •μ˜ˆλΉˆ | https://www.notion.so/2-12db4ba0516b81aca613df549f2ae93f |
| 2.5μ°¨ | 2024λ…„ 9μ›” 28일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | x | https://www.notion.so/2-5-12db4ba0516b81198bacc42b2d655ed4 |
| 3μ°¨ | 2024λ…„ 9μ›” 30일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ΄μ†Œμ€ | https://www.notion.so/3-12db4ba0516b81cebf4de50fce7a80c9 |
| 4μ°¨ | 2024λ…„ 10μ›” 2일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 정지원 | https://www.notion.so/4-12db4ba0516b81818a9ac9e70ede61ac |
| 4.5μ°¨ | 2024λ…„ 10μ›” 6일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | x | https://www.notion.so/4-5-12db4ba0516b81f99348dba5cf262245 |
| 5μ°¨ | 2024λ…„ 10μ›” 6일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 졜민 | https://www.notion.so/5-12db4ba0516b811eb401cc1adfbbd781 |
| 6μ°¨ | 2024λ…„ 10μ›” 9일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ •μ˜ˆλΉˆ | https://www.notion.so/6-12db4ba0516b8141900cd613da96458c |
| 7μ°¨ | 2024λ…„ 10μ›” 14일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ΄μ†Œμ€ | https://www.notion.so/7-12db4ba0516b8198b6edc271ceaffbff |
| 7.5μ°¨ | 2024λ…„ 10μ›” 15일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | x | https://www.notion.so/7-5-12db4ba0516b815e83edde8e54e8bbd6 |
| 8μ°¨ | 2024λ…„ 10μ›” 16일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ΄μ†Œμ€ | https://www.notion.so/8-12db4ba0516b81178342cc75df07750b |
| 9μ°¨ | 2024λ…„ 10μ›” 21일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 정지원 | https://www.notion.so/9-12db4ba0516b8164b602fd248747296b|
| 10μ°¨ | 2024λ…„ 10μ›” 23일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 졜민 | https://www.notion.so/10-12db4ba0516b81d9a131f2c52ae5ee89|
| μ°¨μ‹œ | λ‚ μ§œ | νšŒμ˜μœ ν˜• | μ°Έμ—¬μž | μ„œκΈ° | 회의둝 |
| ----- | ---------------- | --------- | ---------------------------- | ------ | --------------------------------------------------------------- |
| 1μ°¨ | 2024λ…„ 9μ›” 23일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 졜민 | https://www.notion.so/1-12db4ba0516b817c9781cb1513ef7775 |
| 2μ°¨ | 2024λ…„ 9μ›” 25일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ •μ˜ˆλΉˆ | https://www.notion.so/2-12db4ba0516b81aca613df549f2ae93f |
| 2.5μ°¨ | 2024λ…„ 9μ›” 28일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | x | https://www.notion.so/2-5-12db4ba0516b81198bacc42b2d655ed4 |
| 3μ°¨ | 2024λ…„ 9μ›” 30일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ΄μ†Œμ€ | https://www.notion.so/3-12db4ba0516b81cebf4de50fce7a80c9 |
| 4μ°¨ | 2024λ…„ 10μ›” 2일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 정지원 | https://www.notion.so/4-12db4ba0516b81818a9ac9e70ede61ac |
| 4.5μ°¨ | 2024λ…„ 10μ›” 6일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | x | https://www.notion.so/4-5-12db4ba0516b81f99348dba5cf262245 |
| 5μ°¨ | 2024λ…„ 10μ›” 6일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 졜민 | https://www.notion.so/5-12db4ba0516b811eb401cc1adfbbd781 |
| 6μ°¨ | 2024λ…„ 10μ›” 9일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ •μ˜ˆλΉˆ | https://www.notion.so/6-12db4ba0516b8141900cd613da96458c |
| 7μ°¨ | 2024λ…„ 10μ›” 14일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ΄μ†Œμ€ | https://www.notion.so/7-12db4ba0516b8198b6edc271ceaffbff |
| 7.5μ°¨ | 2024λ…„ 10μ›” 15일 | μž„μ‹œ 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | x | https://www.notion.so/7-5-12db4ba0516b815e83edde8e54e8bbd6 |
| 8μ°¨ | 2024λ…„ 10μ›” 16일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ΄μ†Œμ€ | https://www.notion.so/8-12db4ba0516b81178342cc75df07750b |
| 9μ°¨ | 2024λ…„ 10μ›” 21일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 정지원 | https://www.notion.so/9-12db4ba0516b8164b602fd248747296b |
| 10μ°¨ | 2024λ…„ 10μ›” 23일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | 졜민 | https://www.notion.so/10-12db4ba0516b81d9a131f2c52ae5ee89 |
| 11μ°¨ | 2024λ…„ 10μ›” 28일 | μ •κΈ° 회의 | μ΄μ†Œμ€, 졜민, 정지원, μ •μ˜ˆλΉˆ | μ •μ˜ˆλΉˆ | https://www.notion.so/11-12db4ba0516b8071b0f8fcce55a7a442?pvs=4 |
27 changes: 24 additions & 3 deletions src/views/login/mypage/MypageScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,28 @@ export async function updatePassword() {
}
}

// μœ μ € ν”„λ‘œν•„ μˆ˜μ • (좔가적인 ν”„λ‘œν•„ μˆ˜μ • ν•¨μˆ˜κ°€ ν•„μš”ν•˜λ‹€λ©΄ 여기에 μž‘μ„±)
export async function updateProfile() {
// ν”„λ‘œν•„ μˆ˜μ • 둜직 μž‘μ„±
// μœ μ € ν”„λ‘œν•„ μˆ˜μ •
export async function updateProfile(profileData) {
const url = `${process.env.VUE_APP_BE_API_URL}/api/users/profile`
const options = {
method: 'PATCH',
headers: {
'Content-Type': 'application/json'
// ν•„μš”ν•œ 경우 인증 토큰 μΆ”κ°€
// 'Authorization': `Bearer ${token}`,
},
body: JSON.stringify(profileData)
}

try {
const response = await fetch(url, options)
if (!response.ok) {
throw new Error('Network response was not ok')
}
const data = await response.json()
return data
} catch (error) {
console.error('There was a problem with the fetch operation:', error)
throw error
}
}
43 changes: 33 additions & 10 deletions src/views/login/mypage/MypageView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,40 @@
λ‹˜μ˜ <br />λ§ˆμ΄νŽ˜μ΄μ§€
</h1>

<h2 class="mb-2 text-lg font-semibold font-nanum-square-round">
λ‚˜μ˜ μ•„μ½”μžκ΅­λ“€
</h2>
<ul v-if="goals.length > 0" class="space-y-3">
<ul v-if="goals.length > 0" class="space-y-3 p-4 bg-white rounded-lg">
<h2
class="mb-2 text-lg font-semibold font-nanum-square-round"
style="margin-bottom: -50px"
>
λ‚˜μ˜ μ•„μ½”μžκ΅­λ“€
</h2>
<li
v-for="(goal, index) in goals"
:key="index"
class="p-3 bg-white rounded-lg"
class="flex items-center justify-between"
>
<p class="text-sm font-nanum-square-round">{{ goal.content }}</p>
<p class="text-xs text-gray-500">
{{ formatDate(goal.createdAt) }}
<!-- λ‚ μ§œ λΆ€λΆ„: 주황색 μ •μ‚¬κ°ν˜• -->
<p
class="text-xxs font-nanum-square-round flex-shrink-0 mr-2 p-1 rounded-sm text-center"
style="
background-color: #ff7f00;
color: white;
width: 30px;
height: 30px;
"
>
{{ formatDate2(goal.createdAt) }}
</p>

<!-- λͺ©ν‘œ λ‚΄μš© λΆ€λΆ„ -->
<p
class="text-sm font-nanum-square-round flex-grow text-left ml-3"
>
{{ goal.content }}
</p>
</li>
</ul>

<p v-else class="text-sm font-nanum-square-round">
아직 λͺ©ν‘œ 기둝이 μ—†μŠ΅λ‹ˆλ‹€.
</p>
Expand Down Expand Up @@ -235,6 +254,10 @@ const formatDate = (date) => {
const options = { month: 'long', day: 'numeric' }
return new Date(date).toLocaleDateString('ko-KR', options)
}
</script>
<style scoped></style>
// λ‚ μ§œ ν˜•μ‹ 포맷
const formatDate2 = (date) => {
const options = { month: '2-digit', day: '2-digit' } // 'MM.DD' ν˜•μ‹
return new Date(date).toLocaleDateString('ko-KR', options).replace(/\//g, '.')
}
</script>
3 changes: 3 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ module.exports = {
},
colors: {
customBg: '#FFF9F2'
},
fontSize: {
xxs: '0.625rem' // 10px
}
}
},
Expand Down

0 comments on commit cf61fe9

Please sign in to comment.