Skip to content

Commit 7851a3d

Browse files
committed
fix: メインビジュアル画像を最適化
1 parent 94ee128 commit 7851a3d

File tree

6 files changed

+2
-5
lines changed

6 files changed

+2
-5
lines changed

apps/web/app/components/TopPageSection.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const getAnchorPath = computed(
8686
position: relative;
8787
width: 100%;
8888
height: var(--background-image-height);
89-
background-image: url('/main-visual.png');
89+
background-image: url('/main-visual.jpg');
9090
background-size: cover;
9191
background-repeat: no-repeat;
9292
background-position: top;
@@ -151,7 +151,7 @@ const getAnchorPath = computed(
151151
}
152152
.image-wrapper {
153153
background-size: auto 100%;
154-
background-image: url('/main-visual-tablet.png');
154+
background-image: url('/main-visual-mobile.jpg');
155155
}
156156
.section-title {
157157
font-size: var(--font-size-heading500);
@@ -181,9 +181,6 @@ const getAnchorPath = computed(
181181
}
182182
183183
@media (--mobile) {
184-
.image-wrapper {
185-
background-image: url('/main-visual-mobile.png');
186-
}
187184
.day-of-week {
188185
font-size: var(--font-size-body100);
189186
}
47.9 KB
Loading
-68.4 KB
Binary file not shown.
-146 KB
Binary file not shown.

apps/web/app/public/main-visual.jpg

77.7 KB
Loading

apps/web/app/public/main-visual.png

-170 KB
Binary file not shown.

0 commit comments

Comments
 (0)