Skip to content

Commit 1369f38

Browse files
committed
fix: メインビジュアルをレスポンシブにリサイズ
1 parent 5fbaa22 commit 1369f38

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

apps/web/app/components/TopPageSection.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const getAnchorPath = computed(
2121
<p class="place">
2222
Otemachi PLACE HALL &amp; CONFERENCE
2323
<br /><time datetime="2024-10-19T00:00+09:00"
24-
>{{ $t('top_page.date') }}<template v-if="locale === 'ja'"><span class="day-of-week">SAT</span></template></time
24+
>{{ $t('top_page.date')
25+
}}<template v-if="locale === 'ja'"><span class="day-of-week">SAT</span></template></time
2526
>
2627
</p>
2728
</div>
@@ -80,6 +81,7 @@ const getAnchorPath = computed(
8081
z-index: -1;
8182
width: 100%;
8283
}
84+
8385
.image-wrapper {
8486
position: relative;
8587
width: 100%;
@@ -149,8 +151,8 @@ const getAnchorPath = computed(
149151
}
150152
.image-wrapper {
151153
background-size: auto 100%;
154+
background-image: url('/main-visual-tablet.png');
152155
}
153-
154156
.section-title {
155157
font-size: var(--font-size-heading500);
156158
font-weight: 700;
@@ -179,6 +181,9 @@ const getAnchorPath = computed(
179181
}
180182
181183
@media (--mobile) {
184+
.image-wrapper {
185+
background-image: url('/main-visual-mobile.png');
186+
}
182187
.day-of-week {
183188
font-size: var(--font-size-body100);
184189
}
68.4 KB
Loading
146 KB
Loading

0 commit comments

Comments
 (0)