This is an automated email from the ASF dual-hosted git repository.
yumeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
The following commit(s) were added to refs/heads/main by this push:
new 74b59ff28 fix: resolve the issue , btw, adjust the size of photo by
compresss (#338)
74b59ff28 is described below
commit 74b59ff28732754229ac272f48bb2f23a7869bc1
Author: guyue66 <[email protected]>
AuthorDate: Thu Dec 8 14:53:57 2022 +0800
fix: resolve the issue , btw, adjust the size of photo by compresss (#338)
---
src/components/Sections/Components.tsx | 2 +-
src/components/Sections/HomepageHeader.tsx | 1 +
src/components/Sections/WhyDevlake.tsx | 1 +
static/img/Homepage/NewWAD-2.png | Bin 60107 -> 25638 bytes
static/img/Homepage/WAD-1.png | Bin 112976 -> 26115 bytes
static/img/Homepage/WAD-2.png | Bin 46436 -> 19902 bytes
static/img/Homepage/WAD-3.png | Bin 134404 -> 33275 bytes
static/img/Homepage/discover.png | Bin 78093 -> 10360 bytes
static/img/Homepage/newUC3.png | Bin 79183 -> 20309 bytes
9 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/Sections/Components.tsx
b/src/components/Sections/Components.tsx
index fa0fdcc21..26747ef91 100644
--- a/src/components/Sections/Components.tsx
+++ b/src/components/Sections/Components.tsx
@@ -31,7 +31,7 @@ export const TextLink = ({ link, children }: { link: string,
children: React.Rea
</a>
export const TextSection = ({ children }: { children: React.ReactNode }) =>
- <div className={`text-start sm:text-center w-[338px] sm:w-auto`}>
+ <div className={`text-start sm:text-center w-auto sm:w-auto lg:w-[300px]
xl:w-[332px]`}>
{children}
</div>
diff --git a/src/components/Sections/HomepageHeader.tsx
b/src/components/Sections/HomepageHeader.tsx
index 5ea6fb3ec..a2e6df54a 100644
--- a/src/components/Sections/HomepageHeader.tsx
+++ b/src/components/Sections/HomepageHeader.tsx
@@ -153,6 +153,7 @@ export function HomepageHeader() {
className="
pl-[30px] pr-[30px]
flex
+ justify-between
sm:flex-wrap
xl:justify-between
sm:justify-around
diff --git a/src/components/Sections/WhyDevlake.tsx
b/src/components/Sections/WhyDevlake.tsx
index 254c174df..8840a7d59 100644
--- a/src/components/Sections/WhyDevlake.tsx
+++ b/src/components/Sections/WhyDevlake.tsx
@@ -69,6 +69,7 @@ export function WhyDevlake() {
<div
className="
flex flex-row mobile:flex-col sm:flex-col
+ justify-center
mb-[72px]
sm:px-[0px] sm:space-y-[36px] sm:mb-[36px]
mobile:mb-4 mobile:space-y-4
diff --git a/static/img/Homepage/NewWAD-2.png b/static/img/Homepage/NewWAD-2.png
index b0bd8dce3..a144cdb8e 100644
Binary files a/static/img/Homepage/NewWAD-2.png and
b/static/img/Homepage/NewWAD-2.png differ
diff --git a/static/img/Homepage/WAD-1.png b/static/img/Homepage/WAD-1.png
index 4116f8321..eb1667853 100644
Binary files a/static/img/Homepage/WAD-1.png and
b/static/img/Homepage/WAD-1.png differ
diff --git a/static/img/Homepage/WAD-2.png b/static/img/Homepage/WAD-2.png
index 7986dfede..f977fcbe1 100644
Binary files a/static/img/Homepage/WAD-2.png and
b/static/img/Homepage/WAD-2.png differ
diff --git a/static/img/Homepage/WAD-3.png b/static/img/Homepage/WAD-3.png
index c904e5e88..738dab700 100644
Binary files a/static/img/Homepage/WAD-3.png and
b/static/img/Homepage/WAD-3.png differ
diff --git a/static/img/Homepage/discover.png b/static/img/Homepage/discover.png
index 3b438e8e7..8b3f4b56a 100644
Binary files a/static/img/Homepage/discover.png and
b/static/img/Homepage/discover.png differ
diff --git a/static/img/Homepage/newUC3.png b/static/img/Homepage/newUC3.png
index 387031a52..6ca2bcae8 100644
Binary files a/static/img/Homepage/newUC3.png and
b/static/img/Homepage/newUC3.png differ