Skip to content

Commit b1b6e6d

Browse files
committed
optimize client page
1 parent edaaa43 commit b1b6e6d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/layouts/ProductSection.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const theme = dark ? "dark" : "light";
7373
}
7474

7575
&.padding-none {
76-
padding: 0;
76+
padding: 0 var(--product-section-edge-padding);
7777
}
7878

7979
&.padding-newsletter {

src/pages/client.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const tags = [
6262
</header>
6363
</ProductSection>
6464
<ProductImage>
65-
<Image src={ClientImage} alt="product image" densities={[0.5, 0.75, 1]} />
65+
<Image src={ClientImage} alt="product image" densities={[0.5, 0.75, 1]} width={imageWidth} height={imageHeight} />
6666
</ProductImage>
6767
<ProductSection padding="large">
6868
<div class="product-features">

src/styles/fonts/_font.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
@font-face {
22
font-family: "Poppins";
3-
src: url("/fonts/poppins/Poppins-Regular.woff2") format("woff2");
3+
font-style: normal;
4+
font-weight: 400;
5+
src: local('Poppins'),
6+
url("/fonts/poppins/Poppins-Regular.woff2") format("woff2");
7+
font-display: swap;
48
}

0 commit comments

Comments
 (0)