Skip to content

Commit

Permalink
jpg 이미지 webp로 대체
Browse files Browse the repository at this point in the history
  • Loading branch information
bohyemian committed Oct 22, 2024
1 parent af3270e commit 7db2e6c
Show file tree
Hide file tree
Showing 45 changed files with 7 additions and 7 deletions.
Binary file removed apple/products/airpods_pro.jpeg
Binary file not shown.
Binary file added apple/products/airpods_pro.webp
Binary file not shown.
Binary file removed apple/products/airpods_pro_2x.jpeg
Binary file not shown.
Binary file added apple/products/airpods_pro_2x.webp
Binary file not shown.
Binary file removed apple/products/apple_watch.jpeg
Binary file not shown.
Binary file added apple/products/apple_watch.webp
Binary file not shown.
Binary file removed apple/products/apple_watch_2x.jpeg
Binary file not shown.
Binary file added apple/products/apple_watch_2x.webp
Binary file not shown.
Binary file removed apple/products/ipad_air.jpeg
Binary file not shown.
Binary file added apple/products/ipad_air.webp
Binary file not shown.
Binary file removed apple/products/ipad_air_2x.jpeg
Binary file not shown.
Binary file added apple/products/ipad_air_2x.webp
Binary file not shown.
Binary file removed apple/products/ipad_air_wide.jpeg
Binary file not shown.
Binary file added apple/products/ipad_air_wide.webp
Binary file not shown.
Binary file removed apple/products/ipad_air_wide_2x.jpeg
Binary file not shown.
Binary file added apple/products/ipad_air_wide_2x.webp
Binary file not shown.
Binary file removed apple/products/ipad_pro.jpeg
Binary file not shown.
Binary file added apple/products/ipad_pro.webp
Binary file not shown.
Binary file removed apple/products/ipad_pro_2x.jpeg
Binary file not shown.
Binary file added apple/products/ipad_pro_2x.webp
Binary file not shown.
Binary file removed apple/products/ipad_pro_wide.jpeg
Binary file not shown.
Binary file added apple/products/ipad_pro_wide.webp
Binary file not shown.
Binary file removed apple/products/ipad_pro_wide_2x.jpeg
Binary file not shown.
Binary file added apple/products/ipad_pro_wide_2x.webp
Binary file not shown.
Binary file removed apple/products/iphone15.jpeg
Binary file not shown.
Binary file added apple/products/iphone15.webp
Binary file not shown.
Binary file removed apple/products/iphone15_2x.jpeg
Binary file not shown.
Binary file added apple/products/iphone15_2x.webp
Binary file not shown.
Binary file removed apple/products/iphone15_pro.jpeg
Binary file not shown.
Binary file added apple/products/iphone15_pro.webp
Binary file not shown.
Binary file removed apple/products/iphone15_pro_2x.jpeg
Binary file not shown.
Binary file added apple/products/iphone15_pro_2x.webp
Binary file not shown.
Binary file removed apple/products/iphone15_pro_wide.jpeg
Binary file not shown.
Binary file added apple/products/iphone15_pro_wide.webp
Binary file not shown.
Binary file removed apple/products/iphone15_pro_wide_2x.jpeg
Binary file not shown.
Binary file added apple/products/iphone15_pro_wide_2x.webp
Binary file not shown.
Binary file removed apple/products/macbook_air.jpeg
Binary file not shown.
Binary file added apple/products/macbook_air.webp
Binary file not shown.
Binary file removed apple/products/macbook_air_2x.jpeg
Binary file not shown.
Binary file added apple/products/macbook_air_2x.webp
Binary file not shown.
Binary file removed apple/products/wwdc24.jpeg
Binary file not shown.
Binary file added apple/products/wwdc24.webp
Binary file not shown.
Binary file removed apple/products/wwdc24_2x.jpeg
Binary file not shown.
Binary file added apple/products/wwdc24_2x.webp
Binary file not shown.
14 changes: 7 additions & 7 deletions apple/styles/apple.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@
grid-column: cell-span;

&.iPad-pro {
--bg-image: image-set(url(../products/ipad_pro.jpeg) 1x, url(../products/ipad_pro_2x.jpeg) 2x);
--bg-image: image-set(url(../products/ipad_pro.webp) 1x, url(../products/ipad_pro_2x.webp) 2x);
}
&.iPad-air {
--bg-image: image-set(url(../products/ipad_air_wide.jpeg) 1x, url(../products/ipad_air_wide_2x.jpeg) 2x);
--bg-image: image-set(url(../products/ipad_air_wide.webp) 1x, url(../products/ipad_air_wide_2x.webp) 2x);
}
&.iPhone15pro {
--bg-image: image-set(url(../products/iphone15_pro_wide.jpeg) 1x, url(../products/iphone15_pro_wide_2x.jpeg) 2x);
--bg-image: image-set(url(../products/iphone15_pro_wide.webp) 1x, url(../products/iphone15_pro_wide_2x.webp) 2x);
}
&.iPhone15 {
--bg-image: image-set(url(../products/iphone15.jpeg) 1x, url(../products/iphone15_2x.jpeg) 2x);
--bg-image: image-set(url(../products/iphone15.webp) 1x, url(../products/iphone15_2x.webp) 2x);
}
&.watch {
--bg-image: image-set(url(../products/apple_watch.jpeg) 1x, url(../products/apple_watch_2x.jpeg) 2x);
--bg-image: image-set(url(../products/apple_watch.webp) 1x, url(../products/apple_watch_2x.webp) 2x);
}
&.macBook-air {
--bg-image: image-set(url(../products/macbook_air.jpeg) 1x, url(../products/macbook_air_2x.jpeg) 2x);
--bg-image: image-set(url(../products/macbook_air.webp) 1x, url(../products/macbook_air_2x.webp) 2x);
}
&.airPods-pro {
--bg-image: image-set(url(../products/airpods_pro.jpeg) 1x, url(../products/airpods_pro.jpeg) 2x);
--bg-image: image-set(url(../products/airpods_pro.webp) 1x, url(../products/airpods_pro.webp) 2x);
background-position-y: 90%;
}

Expand Down

0 comments on commit 7db2e6c

Please sign in to comment.