From d38dab05bdf97a94c1d07623bc46aa3ec996c5e9 Mon Sep 17 00:00:00 2001 From: Chandraprakash Date: Fri, 13 Oct 2023 23:57:12 +0530 Subject: [PATCH 1/3] Fixed Break point issue of home, from 551px to 695px screen size. --- src/components/Sections/HeaderLearnMore.tsx | 2 +- src/components/Sections/HomepageHeader.tsx | 220 ++++++++++++-------- src/css/custom.css | 5 + 3 files changed, 134 insertions(+), 93 deletions(-) diff --git a/src/components/Sections/HeaderLearnMore.tsx b/src/components/Sections/HeaderLearnMore.tsx index 782129044fb..80a0b1b0df2 100644 --- a/src/components/Sections/HeaderLearnMore.tsx +++ b/src/components/Sections/HeaderLearnMore.tsx @@ -19,7 +19,7 @@ export function HeaderLearnMore() { items-center justify-center mobile:flex-wrap sm:flex-wrap - mobile:w-[342px] sm:w-[696px] + mobile:w-[342px] sm:w-full mx-auto w-[100%] " diff --git a/src/components/Sections/HomepageHeader.tsx b/src/components/Sections/HomepageHeader.tsx index 9de588dfeca..556ae464efa 100644 --- a/src/components/Sections/HomepageHeader.tsx +++ b/src/components/Sections/HomepageHeader.tsx @@ -15,82 +15,86 @@ import ScarfIcon from "@site/static/img/Homepage/brand/Scarf.svg"; import IBMIcon from "@site/static/img/Homepage/brand/IBM.svg"; export function HomepageHeader() { - return ( -
- + - -
-
-
- Debug engineering processes and discover opportunities with DORA, Community Growth, Engineering Throughput and more DevLake dashboards... -
-
- Apache DevLake™ (Incubating) ingests, analyzes, and visualizes the - fragmented data from DevOps tools to distill insights for - engineering excellence. -
-
- + - See it Live - - + See it Live + + - Install DevLake - - + Install DevLake + + - Join Slack - -
-
-
-
+ Join Slack + +
+
+ +
-
- +
+ - Trusted by - -
-
-
+ Trusted by + +
+
+
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- + > +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
- - - ); + ); } diff --git a/src/css/custom.css b/src/css/custom.css index ab5dae3c9b1..ecd6a73a39d 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -48,6 +48,11 @@ html[data-theme="dark"] .docusaurus-highlight-code-line { display: none; } } + @media (min-width: 550px) and (max-width: 1024px) { + .custom-padding { + padding-inline: 35px; + } + } @layer components { .primary-button { From d664a21bcbd044743ff06e9ea8d0b9e9017824f0 Mon Sep 17 00:00:00 2001 From: Chandraprakash Date: Tue, 17 Oct 2023 19:58:46 +0530 Subject: [PATCH 2/3] code formation removed --- src/components/Sections/HomepageHeader.tsx | 371 ++++++++++----------- 1 file changed, 173 insertions(+), 198 deletions(-) diff --git a/src/components/Sections/HomepageHeader.tsx b/src/components/Sections/HomepageHeader.tsx index 556ae464efa..f3b92cda656 100644 --- a/src/components/Sections/HomepageHeader.tsx +++ b/src/components/Sections/HomepageHeader.tsx @@ -17,209 +17,184 @@ import IBMIcon from "@site/static/img/Homepage/brand/IBM.svg"; export function HomepageHeader() { return (
- - -
-
-
- Debug engineering processes and discover opportunities - with DORA, Community Growth, Engineering Throughput and - more DevLake dashboards... -
-
- Apache DevLake™ (Incubating) ingests, analyzes, - and visualizes the fragmented data from DevOps tools to - distill insights for engineering excellence. -
-
+ +
- - See it Live - - - Install DevLake - - - Join Slack - -
-
-
+ >
-
- - Trusted by - -
+
+ Debug engineering processes and discover opportunities with DORA, Community Growth, Engineering Throughput and more DevLake dashboards... +
+
+ Apache DevLake™ (Incubating) ingests, analyzes, and visualizes the + fragmented data from DevOps tools to distill insights for + engineering excellence. +
+
+ + See it Live + + + Install DevLake + + + Join Slack + +
-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - + +
+
+ + Trusted by + +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
From c19d3e986d46d961896e28bad1e8f5d1bf311dc7 Mon Sep 17 00:00:00 2001 From: Chandraprakash Date: Wed, 18 Oct 2023 08:38:31 +0530 Subject: [PATCH 3/3] code style changed --- src/components/Sections/HomepageHeader.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/components/Sections/HomepageHeader.tsx b/src/components/Sections/HomepageHeader.tsx index f3b92cda656..6c57f9bdd59 100644 --- a/src/components/Sections/HomepageHeader.tsx +++ b/src/components/Sections/HomepageHeader.tsx @@ -112,17 +112,6 @@ export function HomepageHeader() { flex whitespace-nowrap rounded-[8px] sm:rounded-[5px] mobile:rounded-[5px] - - - - - - - - Expand All - - @@ -121,14 +125,15 @@ export function HomepageHeader() { - bg-neutral-invert text-primary-500 border-2 border-primary-500 border-solid