Skip to content

Commit 7755e71

Browse files
committed
prettier to v3
1 parent 7d09ead commit 7755e71

Some content is hidden

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

48 files changed

+181
-172
lines changed

Diff for: .prettierrc.cjs

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ module.exports = {
44
singleQuote: true,
55
printWidth: 100,
66
tabWidth: 2,
7+
quoteProps: 'preserve',
78
}

Diff for: app/assets/fonts.css

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
@font-face {
55
font-family: 'din-2014';
6-
src: url('https://use.typekit.net/af/c2b6e5/00000000000000007735afee/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3')
6+
src:
7+
url('https://use.typekit.net/af/c2b6e5/00000000000000007735afee/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3')
78
format('woff2'),
89
url('https://use.typekit.net/af/c2b6e5/00000000000000007735afee/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3')
910
format('woff'),
@@ -17,7 +18,8 @@
1718

1819
@font-face {
1920
font-family: 'din-2014';
20-
src: url('https://use.typekit.net/af/1fe1ce/00000000000000007735aff6/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3')
21+
src:
22+
url('https://use.typekit.net/af/1fe1ce/00000000000000007735aff6/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3')
2123
format('woff2'),
2224
url('https://use.typekit.net/af/1fe1ce/00000000000000007735aff6/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3')
2325
format('woff'),
@@ -31,7 +33,8 @@
3133

3234
@font-face {
3335
font-family: 'din-2014';
34-
src: url('https://use.typekit.net/af/dc88f0/00000000000000007735aff7/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n8&v=3')
36+
src:
37+
url('https://use.typekit.net/af/dc88f0/00000000000000007735aff7/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n8&v=3')
3538
format('woff2'),
3639
url('https://use.typekit.net/af/dc88f0/00000000000000007735aff7/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n8&v=3')
3740
format('woff'),

Diff for: app/components/DialogArea.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ css({
3737
'.root': {
3838
padding: 'calc({space.8} * 4) calc({space.8} * 3)',
3939
width: '90%',
40-
}
41-
}
40+
},
41+
},
4242
})
4343
</style>

Diff for: app/components/DragDropArea.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ css({
7575
color: '{color.vue.blue}',
7676
'&.-isDragEnter': {
7777
border: 'dotted calc({space.8} * 0.5) {color.vue.blue}',
78-
color: '{color.vue.blue}'
79-
}
78+
color: '{color.vue.blue}',
79+
},
8080
},
8181
'.uploadarea input': {
8282
display: 'none',

Diff for: app/components/FormPageSection.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ css({
103103
maxWidth: '768px',
104104
margin: '0 auto',
105105
width: '100%',
106-
'grid-template-columns': 'minmax(0, 1fr)'
106+
'grid-template-columns': 'minmax(0, 1fr)',
107107
},
108108
'.subtitle': {
109109
display: 'grid',
@@ -125,7 +125,7 @@ css({
125125
},
126126
},
127127
'.form-button': {
128-
textAlign: 'center'
128+
textAlign: 'center',
129129
},
130130
'.form': {
131131
'form': {
@@ -140,8 +140,8 @@ css({
140140
'.subtitle': {
141141
'::v-deep(p)': {
142142
fontSize: '16px',
143-
}
144-
}
145-
}
143+
},
144+
},
145+
},
146146
})
147147
</style>

Diff for: app/components/MessagePageSection.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ css({
7878
marginTop: '0px',
7979
fontSize: '16px',
8080
},
81-
}
81+
},
8282
})
8383
</style>

Diff for: app/components/NavPageSection.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ css({
124124
},
125125
},
126126
},
127-
'.hamburger-menu':{
127+
'.hamburger-menu': {
128128
display: 'none',
129129
},
130130
'.sr-only': {
@@ -136,12 +136,12 @@ css({
136136
overflow: 'hidden',
137137
},
138138
'@tablet': {
139-
'.nav-root': {
139+
'.nav-root': {
140140
padding: '16px 24px',
141141
},
142142
},
143143
'@mobile': {
144-
'.twitter':{
144+
'.twitter': {
145145
display: 'block',
146146
},
147147
'.links': {
@@ -152,9 +152,9 @@ css({
152152
padding: 0,
153153
},
154154
},
155-
'.hamburger-menu':{
155+
'.hamburger-menu': {
156156
display: 'block',
157157
},
158-
}
158+
},
159159
})
160160
</style>

Diff for: app/components/SpeakerPageSection.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ css({
8585
gap: '2em',
8686
'& > div': {
8787
width: 'calc((100% - 64px) / 3)',
88-
}
88+
},
8989
},
9090
'@tablet': {
9191
'section': {
@@ -97,7 +97,7 @@ css({
9797
gap: 'calc({space.8} * 2)',
9898
'& > div': {
9999
width: 'calc(50% - calc({space.8} * 1))',
100-
}
100+
},
101101
},
102102
'section': {
103103
paddingTop: 'calc({space.8} * 10)',

Diff for: app/components/SponsorPageSection.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ import { closedSponsor } from '~/utils/status.constants'
7474
css({
7575
'section': {
7676
padding: '120px 40px',
77-
background: '#EEEEEE'
77+
background: '#EEEEEE',
7878
},
7979
'.sponsors-root': {
8080
display: 'grid',
@@ -91,7 +91,7 @@ css({
9191
color: '{color.vue.blue}',
9292
fontWeight: 500,
9393
fontSize: '18px',
94-
lineHeight: '180%'
94+
lineHeight: '180%',
9595
},
9696
},
9797
'.deadline, .deadline-extend': {
@@ -113,7 +113,7 @@ css({
113113
flexWrap: 'wrap',
114114
padding: '0 16px',
115115
justifyContent: 'center',
116-
gap: '40px'
116+
gap: '40px',
117117
},
118118
'.twitter-text': {
119119
fontSize: '18px',
@@ -132,8 +132,8 @@ css({
132132
},
133133
'.deadline, .deadline-extend': {
134134
fontSize: '18px',
135-
wordBreak: 'break-all'
136-
}
137-
}
135+
wordBreak: 'break-all',
136+
},
137+
},
138138
})
139139
</style>

Diff for: app/components/TeamPageSection.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ css({
9090
'.subtitle': {
9191
'::v-deep(p)': {
9292
fontSize: '16px',
93-
}
93+
},
9494
},
9595
'.teams': {
9696
gap: '4vw',

Diff for: app/components/TicketPageSection.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { closedVolunteer } from '~/utils/status.constants'
3232
css({
3333
'section': {
3434
padding: '120px 20px 120px',
35-
backgroundColor: '#fff'
35+
backgroundColor: '#fff',
3636
},
3737
'.ticket-root': {
3838
display: 'grid',
@@ -45,12 +45,12 @@ css({
4545
'grid-template-columns': 'minmax(0, 1fr)',
4646
},
4747
'.arrow': {
48-
margin: '0 auto'
48+
margin: '0 auto',
4949
},
5050
'@mobile': {
5151
'section': {
5252
padding: 'calc({space.8} * 6) 20px calc({space.8} * 6)',
53-
backgroundColor: '#fff'
53+
backgroundColor: '#fff',
5454
},
5555
},
5656
})

Diff for: app/components/TimetablePageSection.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ onMounted(() => {
103103
css({
104104
'section': {
105105
padding: '120px 20px 120px',
106-
backgroundColor: '#eee'
106+
backgroundColor: '#eee',
107107
},
108108
'.timetable-root': {
109109
display: 'flex',

Diff for: app/components/UserForDev.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ css({
2727
'.user-info': {
2828
display: 'flex',
2929
alignItems: 'center',
30-
fontSize: '24px'
30+
fontSize: '24px',
3131
},
3232
'.user-icon': {
3333
width: '80px',
3434
height: '80px',
3535
borderRadius: '50%',
36-
marginRight: '20px'
36+
marginRight: '20px',
3737
},
3838
'.user-debug': {
3939
color: '#ccc',
40-
marginTop: '16px'
41-
}
40+
marginTop: '16px',
41+
},
4242
})
4343
</style>

Diff for: app/components/button/TextButton.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ css({
9494
gap: 'calc({space.8} * 1)',
9595
fontSize: 'calc(16*{fontSize.base})',
9696
cursor: 'pointer',
97-
textDecoration: (props) => props.underline ? 'underline' : 'none',
97+
textDecoration: (props) => (props.underline ? 'underline' : 'none'),
9898
color: '{color.white}',
9999
'&:hover': {
100100
color: '{color.vue.green}',

Diff for: app/components/childcare/ChildCareSection.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ css({
7474
},
7575
'::v-deep(p)': {
7676
fontSize: 'calc(16*{fontSize.base})',
77-
}
77+
},
7878
},
7979
},
8080
})

Diff for: app/components/event/EventSection.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ css({
170170
transition: '.2s',
171171
},
172172
},
173-
}
173+
},
174174
},
175175
'.event-title': {
176176
display: 'grid',
@@ -204,7 +204,7 @@ css({
204204
marginTop: 'calc({space.8} * 1)',
205205
'::v-deep(h3)': {
206206
fontSize: '24px',
207-
}
207+
},
208208
},
209209
'.explain': {
210210
maxWidth: '690px',
@@ -217,7 +217,7 @@ css({
217217
},
218218
'.description': {
219219
marginTop: 'calc({space.8} * 1)',
220-
}
220+
},
221221
},
222222
},
223223
'.teams': {
@@ -233,5 +233,5 @@ css({
233233
gap: '4vw',
234234
},
235235
},
236-
});
236+
})
237237
</style>

Diff for: app/components/event/StoreSection.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ css({
9999
lineHeight: '1.8',
100100
textAlign: 'left',
101101
marginBottom: '2em',
102-
}
102+
},
103103
},
104104
105105
'.store-menu': {
@@ -151,11 +151,11 @@ css({
151151
gap: 'calc({space.8} * 1)',
152152
'::v-deep(p)': {
153153
textAlign: 'left',
154-
}
154+
},
155155
},
156156
'.button': {
157157
display: 'flex',
158-
justifyContent: 'center'
158+
justifyContent: 'center',
159159
},
160160
'@tablet': {
161161
'.store-card': {
@@ -183,11 +183,11 @@ css({
183183
display: 'block',
184184
maxWidth: '80%',
185185
margin: '0 auto',
186-
}
186+
},
187187
},
188188
'.text': {
189189
width: 'auto',
190190
},
191191
},
192-
});
192+
})
193193
</style>

Diff for: app/components/handson/HandsonSection.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ css({
8383
},
8484
'::v-deep(p)': {
8585
fontSize: 'calc(16*{fontSize.base})',
86-
}
86+
},
8787
},
8888
},
8989
})

Diff for: app/components/namecard/AvatarInfo.vue

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ css({
4545
gap: '8px',
4646
'::v-deep(h3)': {
4747
color: '{color.white}',
48-
fontSize: (props) => props.useShare ? 'calc(48*{fontSize.base})' : 'calc(22*{fontSize.base})',
48+
fontSize: (props) =>
49+
props.useShare ? 'calc(48*{fontSize.base})' : 'calc(22*{fontSize.base})',
4950
fontWeight: 900,
5051
},
5152
'::v-deep(img)': {
@@ -62,7 +63,7 @@ css({
6263
'.role': {
6364
padding: 'calc({space.8} * 1) calc({space.8} * 3)',
6465
borderRadius: 'calc({space.8} * 6.25)',
65-
fontSize: (props) => props.useShare ? 'calc(36*{fontSize.base})' : 'calc(24*{fontSize.base})',
66+
fontSize: (props) => (props.useShare ? 'calc(36*{fontSize.base})' : 'calc(24*{fontSize.base})'),
6667
fontWeight: 700,
6768
textTransform: 'uppercase',
6869
},

Diff for: app/components/namecard/AvatarLogo.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ const props = defineProps({
3838
<style lang="ts" scoped>
3939
css({
4040
'.avatar': {
41-
width: (props) => props.size === 'small' ? '40px' : '120px',
42-
height: (props) => props.size === 'small' ? '40px' : '120px',
41+
width: (props) => (props.size === 'small' ? '40px' : '120px'),
42+
height: (props) => (props.size === 'small' ? '40px' : '120px'),
4343
borderRadius: '50%',
4444
boxShadow: '0px 0px 0px calc({space.8} * 0.25) rgba(255, 255, 255, 1)',
4545
},
4646
'.sample-avatar': {
4747
display: 'grid',
4848
placeItems: 'center',
49-
width: (props) => props.size === 'small' ? '40px' : '120px',
50-
height: (props) => props.size === 'small' ? '40px' : '120px',
49+
width: (props) => (props.size === 'small' ? '40px' : '120px'),
50+
height: (props) => (props.size === 'small' ? '40px' : '120px'),
5151
background: 'linear-gradient(#90B44B, #42B983)',
5252
borderRadius: '50%',
5353
boxShadow: '0px 0px 0px calc({space.8} * 0.25) rgba(255, 255, 255, 1)',

0 commit comments

Comments
 (0)