mintsweet commented on code in PR #657:
URL:
https://github.com/apache/incubator-devlake-website/pull/657#discussion_r1362973974
##########
src/components/Sections/HomepageHeader.tsx:
##########
@@ -15,177 +15,188 @@ import ScarfIcon from
"@site/static/img/Homepage/brand/Scarf.svg";
import IBMIcon from "@site/static/img/Homepage/brand/IBM.svg";
export function HomepageHeader() {
- return (
- <div>
- <img
- src={HeaderBG}
- alt=""
- className="
- absolute top-[0px] left-[0px] max-h-[580px]
- xl:w-screen sm:hidden"
- />
- <img
- src={HeaderBGMB}
- alt=""
- className="
- absolute top-[0px] left-[0px] w-screen z-0
- sm:h-[496px] mobile:h-[526px]
- hidden sm:block"
- />
- <header
- className="
- flex justify-center
- items-center
- w-[840px] mobile:w-[90%] sm:w-[600px] 2xl:w-[1000px]
- mobile:mt-[32px] sm:mt-[65px] mt-[71px]
- z-10
- mx-auto
- "
- >
- <div
- className="z-10
- flex flex-col
- flex-wrap
- "
- >
- <div
- className="text-primary
- font-bold font-inter
- text-label40 sm:text-heading2 mobile:text-label20
- sm:font-semibold"
- >
- Debug engineering processes and discover opportunities with DORA,
Community Growth, Engineering Throughput and more DevLake dashboards...
- </div>
- <div
+ return (
+ <div className="w-full">
+ <img
+ src={HeaderBG}
+ alt=""
+ className="
+ absolute top-[0px] left-[0px] max-h-[580px]
+ xl:w-screen sm:hidden"
+ />
+ <img
+ src={HeaderBGMB}
+ alt=""
+ className="
+ absolute top-[0px] left-[0px] w-screen z-0
+ sm:h-[496px] mobile:h-[526px]
+ hidden sm:block"
+ />
+ <header
className="
- mt-5 mobile:mt-3 sm:mt-3
- text-primary-800
- text-label24
- sm:text-label16Lake mobile:text-label16Lake
- font-inter
- "
+ flex justify-center
+ items-center
+ w-[840px] mobile:w-[90%] sm:w-full 2xl:w-[1000px] custom-padding
+ mobile:mt-[32px] sm:mt-[65px] mt-[71px]
+ z-10
+ mx-auto
+ "
>
- Apache DevLake™ (Incubating) ingests, analyzes, and
visualizes the
- fragmented data from DevOps tools to distill insights for
- engineering excellence.
- </div>
+ <div
+ className="z-10
+ flex flex-col
+ flex-wrap
+ "
+ >
+ <div
+ className="text-primary
+ font-bold font-inter
+ text-label40 sm:text-heading2 mobile:text-label20
+ sm:font-semibold"
+ >
+ Debug engineering processes and discover opportunities with
DORA, Community Growth, Engineering Throughput and more DevLake dashboards...
+ </div>
+ <div
+ className="
+ mt-5 mobile:mt-3 sm:mt-3
+ text-primary-800
+ text-label24
+ sm:text-label16Lake mobile:text-label16Lake
+ font-inter
+ "
+ >
+ Apache DevLake™ (Incubating) ingests, analyzes, and
visualizes the
+ fragmented data from DevOps tools to distill insights for
+ engineering excellence.
+ </div>
+ <div className="
+ flex
+ mobile:flex-col
+ mt-[48px] sm:mt-3
+ items-center
+ justify-between
+ mb-[129px] 2xl:mb-[148px] sm:mb-[101px] mobile:mb-[44.9px]
+ ">
+ <Link
+ className="primary-button
+ flex
+ whitespace-nowrap
+ mobile:mt-3
+ rounded-[8px] sm:rounded-[5px] mobile:rounded-[5px]
+ w-[200px] sm:w-[140px] mobile:w-[140px]
+ h-[48px] sm:h-[32px] mobile:h-[32px]"
+ to="https://devlake.apache.org/livedemo/EngineeringLeads/DORA"
+ >
+ See it Live
+ </Link>
+ <Link
+ className="primary-button
+ flex
+ whitespace-nowrap
+ rounded-[8px] sm:rounded-[5px] mobile:rounded-[5px]
+ bg-neutral-invert
+ text-primary-500
+ border-2 border-primary-500 border-solid
+ hover:text-primary-500
+ hover:bg-neutral-invert
+ hover:opacity-80
+ mobile:mt-3
+ w-[200px] sm:w-[140px] mobile:w-[140px]
+ h-[48px] sm:h-[32px] mobile:h-[32px]"
+ to="https://devlake.apache.org/docs/GettingStarted"
+ >
+ Install DevLake
+ </Link>
+ <Link
+ className="primary-button
+ flex
+ whitespace-nowrap
+ rounded-[8px] sm:rounded-[5px] mobile:rounded-[5px]
+
+
+
+
+
+
+
+ Expand All
Review Comment:
Sorry @07-Chandra, can you check here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]