Skip to content

Commit 71e8b40

Browse files
committed
๐ŸšŒ develop
version: 2.8.0 - Nuxt 3.11.2 ์—…๋ฐ์ดํŠธ - ๋ชจ๋…ธ๋ ˆํฌ @nuxt/eslint ์ ์šฉ์ฒ˜๋ฆฌ - ๋ฆฐํŒ… ์Šคํƒ€์ผ ๋ณ€๊ฒฝ - ์ข…์†์„ฑ ๋ชจ๋“ˆ ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ
1 parent 95b5c39 commit 71e8b40

File tree

108 files changed

+1118
-1170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1118
-1170
lines changed

โ€Ž.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ logs
2424
.env
2525
.env.*
2626
!.env.example
27-
.stylelintcache
27+
.stylelintcache
28+
.eslintcache

โ€Ž.vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"eslint.experimental.useFlatConfig": true,
23
"cSpell.words": [
34
"acceptable",
45
"Accordion",

โ€Žapp.vue

+7-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
</template>
1616

1717
<script setup lang="ts">
18-
1918
const { coords, resume } = useGeolocation()
2019
2120
const { meta, fullPath } = useRoute()
@@ -41,7 +40,7 @@ useHead({
4140
return title && !title?.includes(t('pageTitle.yeonju'))
4241
? title?.concat(' | ', t('pageTitle.yeonju'))
4342
: null
44-
}
43+
},
4544
})
4645
4746
watch(() => genDateFormat('HH'), () => {
@@ -51,7 +50,6 @@ watch(() => genDateFormat('HH'), () => {
5150
}
5251
})
5352
54-
5553
watch(() => coords.value, () => {
5654
if (coords.value.latitude === Infinity) {
5755
resume()
@@ -79,7 +77,7 @@ const initWeatherData = () => {
7977
const seoUrl = 'https://www.dewdew.dev'
8078
const seoImage = 'https://api.dewdew.dev/storage/v1/object/public/assets/banner/main_banner.webp'
8179
82-
if (process.server) {
80+
if (import.meta.server) {
8381
useHead({
8482
title: (meta.title as string) ?? '๊ฐœ๋ฐœ์ž ์ด์—ฐ์ฃผ | Dewdew',
8583
meta: () => [
@@ -99,7 +97,7 @@ if (process.server) {
9997
{ property: 'og:image:height', content: '200' },
10098
{ property: 'og:image:type', content: 'image/png' },
10199
{ property: 'og:title', content: (meta.title as string) ?? t('pageTitle.yeonju') },
102-
{ property: 'og:description', content: (meta.description as string) ?? t('openGraph.main') }
100+
{ property: 'og:description', content: (meta.description as string) ?? t('openGraph.main') },
103101
],
104102
link: [
105103
{ rel: 'canonical', href: fullPath },
@@ -110,17 +108,16 @@ if (process.server) {
110108
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' },
111109
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' },
112110
{ rel: 'manifest', href: '/manifest.webmanifest' },
113-
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5' }
111+
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5' },
114112
],
115113
script: [
116114
{
117115
hid: 'spiine-viewer',
118116
src: 'https://unpkg.com/@splinetool/[email protected]/build/spline-viewer.js',
119117
type: 'module',
120-
defer: true
121-
}
122-
]
118+
defer: true,
119+
},
120+
],
123121
})
124122
}
125-
126123
</script>

โ€Žcomponents/A/Accordion.vue

+13-15
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,19 @@
3838
</template>
3939

4040
<script setup lang="ts">
41-
4241
withDefaults(
4342
defineProps<{
44-
accordionItems: AccordionItem[],
45-
accordionVariant?: 'solid' | 'outline' | 'ghost' | 'soft',
46-
accordionColor?: string,
47-
accordionSize?: string,
48-
educateGroupClass?: string,
49-
careerGroupClass?: string,
50-
educateIconClass?: string,
51-
careerIconClass?: string,
52-
educateIconName?: string,
53-
careerIconName?: string,
54-
educateText?: string,
43+
accordionItems: AccordionItem[]
44+
accordionVariant?: 'solid' | 'outline' | 'ghost' | 'soft'
45+
accordionColor?: string
46+
accordionSize?: string
47+
educateGroupClass?: string
48+
careerGroupClass?: string
49+
educateIconClass?: string
50+
careerIconClass?: string
51+
educateIconName?: string
52+
careerIconName?: string
53+
educateText?: string
5554
careerText?: string
5655
}>(),
5756
{
@@ -65,8 +64,7 @@ withDefaults(
6564
educateIconName: 'line-md:buy-me-a-coffee-twotone',
6665
careerIconName: 'line-md:construction-twotone',
6766
educateText: 'text',
68-
careerText: 'text'
69-
}
67+
careerText: 'text',
68+
},
7069
)
71-
7270
</script>

โ€Žcomponents/A/Badge.vue

+9-10
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ import type { BadgeSize, BadgeVariant } from '@nuxt/ui/dist/runtime/types'
2222
2323
withDefaults(
2424
defineProps<{
25-
customClass?: string,
26-
badgeColor?: string,
27-
badgeSize?: BadgeSize | undefined,
28-
badgeVariant?: BadgeVariant | undefined,
29-
useIcon?: boolean,
30-
iconName?: string,
31-
iconSize?: number,
25+
customClass?: string
26+
badgeColor?: string
27+
badgeSize?: BadgeSize | undefined
28+
badgeVariant?: BadgeVariant | undefined
29+
useIcon?: boolean
30+
iconName?: string
31+
iconSize?: number
3232
badgeText?: string | number
3333
}>(),
3434
{
@@ -39,8 +39,7 @@ withDefaults(
3939
useIcon: true,
4040
iconName: '',
4141
iconSize: 22,
42-
badgeText: ''
43-
}
42+
badgeText: '',
43+
},
4444
)
45-
4645
</script>

โ€Žcomponents/A/Button.vue

+17-18
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@ import type { ButtonSize, ButtonVariant } from '@nuxt/ui/dist/runtime/types/butt
4848
4949
withDefaults(
5050
defineProps<{
51-
customClass?: string,
52-
roundButton?: boolean,
53-
buttonDisabled?: boolean,
54-
buttonPadding?: boolean,
55-
buttonColor?: string,
56-
buttonSize?: ButtonSize | undefined,
57-
buttonVariant?: ButtonVariant | undefined,
58-
buttonLabel?: string,
59-
useLeading?: boolean,
60-
iconName?: string,
61-
imageSrc?: string,
62-
iconSize?: number,
63-
imageSize?: number,
64-
buttonTextStyle?: string,
51+
customClass?: string
52+
roundButton?: boolean
53+
buttonDisabled?: boolean
54+
buttonPadding?: boolean
55+
buttonColor?: string
56+
buttonSize?: ButtonSize | undefined
57+
buttonVariant?: ButtonVariant | undefined
58+
buttonLabel?: string
59+
useLeading?: boolean
60+
iconName?: string
61+
imageSrc?: string
62+
iconSize?: number
63+
imageSize?: number
64+
buttonTextStyle?: string
6565
buttonText?: string
6666
}>(),
6767
{
@@ -79,14 +79,13 @@ withDefaults(
7979
iconSize: 24,
8080
imageSize: 36,
8181
buttonTextStyle: '',
82-
buttonText: ''
83-
}
82+
buttonText: '',
83+
},
8484
)
8585
8686
defineEmits([
8787
'click:button',
8888
'mouseenter:button',
89-
'mouseleave:button'
89+
'mouseleave:button',
9090
])
91-
9291
</script>

โ€Žcomponents/A/Dialog.vue

+13-15
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,20 @@
4848
</template>
4949

5050
<script setup lang="ts">
51-
5251
const modalTrigger = ref(false)
5352
5453
const props = withDefaults(
5554
defineProps<{
56-
dialogTrigger?: boolean,
57-
fullScreen?: boolean,
58-
preventClose?: boolean,
59-
dialogTitleClass?: string,
60-
title?: string,
61-
doubleFirstText?: string,
62-
doubleSecondText?: string,
63-
hideDoubleButton?: boolean,
64-
hideFirstButton?: boolean,
65-
hideSecondButton?: boolean,
55+
dialogTrigger?: boolean
56+
fullScreen?: boolean
57+
preventClose?: boolean
58+
dialogTitleClass?: string
59+
title?: string
60+
doubleFirstText?: string
61+
doubleSecondText?: string
62+
hideDoubleButton?: boolean
63+
hideFirstButton?: boolean
64+
hideSecondButton?: boolean
6665
disableFirstButton?: boolean
6766
}>(),
6867
{
@@ -76,14 +75,14 @@ const props = withDefaults(
7675
hideDoubleButton: false,
7776
hideFirstButton: false,
7877
hideSecondButton: false,
79-
disableFirstButton: false
80-
}
78+
disableFirstButton: false,
79+
},
8180
)
8281
8382
const emits = defineEmits([
8483
'close-dialog',
8584
'click-first-button',
86-
'click-second-button'
85+
'click-second-button',
8786
])
8887
8988
watch(() => props.dialogTrigger, (value) => {
@@ -95,5 +94,4 @@ watch(() => modalTrigger.value, (value) => {
9594
emits('close-dialog')
9695
}
9796
}, { immediate: true })
98-
9997
</script>

โ€Žcomponents/A/Header.vue

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@
1616
</template>
1717

1818
<script setup lang="ts">
19-
2019
const { isDesktop } = useDevice()
21-
2220
</script>

โ€Žcomponents/A/IconText.vue

+8-10
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313
</template>
1414

1515
<script setup lang="ts">
16-
1716
withDefaults(
1817
defineProps<{
19-
useIcon?: boolean,
20-
defaultClass?: string,
21-
customClass?: string,
22-
textClass?: string,
23-
iconName?: string,
24-
iconSize?: number,
18+
useIcon?: boolean
19+
defaultClass?: string
20+
customClass?: string
21+
textClass?: string
22+
iconName?: string
23+
iconSize?: number
2524
text?: string
2625
}>(),
2726
{
@@ -31,8 +30,7 @@ withDefaults(
3130
textClass: '',
3231
iconName: '',
3332
iconSize: 34,
34-
text: ''
35-
}
33+
text: '',
34+
},
3635
)
37-
3836
</script>

โ€Žcomponents/A/LanguageChange.vue

+4-6
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,19 @@
2020
</template>
2121

2222
<script setup lang="ts">
23-
2423
const { t, locale, setLocale } = useLocale()
2524
2625
const locales = [
2726
{ label: t('localeMenu.korean'), value: 'ko' },
28-
{ label: t('localeMenu.english'), value: 'en' }
27+
{ label: t('localeMenu.english'), value: 'en' },
2928
]
3029
3130
const selectLocale = computed({
32-
get () {
31+
get() {
3332
return locale.value
3433
},
35-
set (value) {
34+
set(value) {
3635
setLocale(value)
37-
}
36+
},
3837
})
39-
4038
</script>

โ€Žcomponents/A/NuxtDate.vue

+4-6
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@
1010
</template>
1111

1212
<script setup lang="ts">
13-
1413
const { locale } = useLocale()
1514
1615
withDefaults(
1716
defineProps<{
18-
dateTime?: string,
19-
customClass?: string,
17+
dateTime?: string
18+
customClass?: string
2019
fullDate?: boolean
2120
}>(),
2221
{
2322
dateTime: '',
2423
customClass: 'time flex',
25-
fullDate: true
26-
}
24+
fullDate: true,
25+
},
2726
)
28-
2927
</script>

โ€Žcomponents/A/NuxtTime.vue

+5-7
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,20 @@
2525
</template>
2626

2727
<script setup lang="ts">
28-
2928
const { locale } = useLocale()
3029
3130
withDefaults(
3231
defineProps<{
33-
dateTime?: string,
34-
customClass?: string,
35-
fullDateTime?: boolean,
32+
dateTime?: string
33+
customClass?: string
34+
fullDateTime?: boolean
3635
capitalDateTime?: boolean
3736
}>(),
3837
{
3938
dateTime: '',
4039
customClass: 'time flex mb-default',
4140
fullDateTime: true,
42-
capitalDateTime: true
43-
}
41+
capitalDateTime: true,
42+
},
4443
)
45-
4644
</script>

0 commit comments

Comments
ย (0)