This is an automated email from the ASF dual-hosted git repository.

yumeng pushed a commit to branch revert-199-overhaul/new-vi
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git

commit d6134b0790a2332f4e9f77d4905804b452808125
Author: Yumeng Wang <[email protected]>
AuthorDate: Wed Sep 14 18:39:24 2022 +0800

    Revert "feat: discover"
    
    This reverts commit a44ad99b6ca6dfbc324aeec6d59f9aa686dfb912.
---
 src/components/Sections/Discover.tsx |  20 --------------------
 src/pages/index.js                   |   2 --
 static/img/Homepage/discover.png     | Bin 78093 -> 0 bytes
 static/img/Homepage/discover.svg     |  14 ++++++--------
 4 files changed, 6 insertions(+), 30 deletions(-)

diff --git a/src/components/Sections/Discover.tsx 
b/src/components/Sections/Discover.tsx
deleted file mode 100644
index 3fa6b4269..000000000
--- a/src/components/Sections/Discover.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from "react";
-
-import Link from '@docusaurus/Link';
-import BG from "@site/static/img/Homepage/discover.png";
-
-export function Discover() {
-  return (<div className="flex flex-col items-center relative h-[324px] 
font-inter bg-primary-100">
-    <img src={BG} alt='' className="absolute bottom-[0px]" />
-    <div className="font-medium text-primary-800 
-      text-[32px] leading-[48px] mt-[72px]">Discover more engineering insights 
with</div>
-    <div className="font-semibold text-primary-500
-      text-[40px] leading-[60px] mt-1 mb-3">Apache DevLake (Incubating)</div>
-    <Link
-      className="primary-button"
-      to="https://devlake.apache.org/docs/GettingStarted";
-    >
-      Getting Started
-    </Link>
-  </div>)
-}
\ No newline at end of file
diff --git a/src/pages/index.js b/src/pages/index.js
index b3a71d04e..94420e2f7 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -7,7 +7,6 @@ import { WhyDevlake } from '../components/Sections/WhyDevlake';
 import { UseCases } from '../components/Sections/UseCases';
 import { UserFlow } from '../components/Sections/UserFlow';
 import { JoinCommunity } from '../components/Sections/JoinCommunity';
-import { Discover } from '../components/Sections/Discover';
 
 export default function Home() {
   const { siteConfig } = useDocusaurusContext();
@@ -23,7 +22,6 @@ export default function Home() {
             <UseCases />
             <UserFlow />
             <JoinCommunity />
-            <Discover />
           </main>
         </div>
       </div>
diff --git a/static/img/Homepage/discover.png b/static/img/Homepage/discover.png
deleted file mode 100644
index 3b438e8e7..000000000
Binary files a/static/img/Homepage/discover.png and /dev/null differ
diff --git a/static/img/Homepage/discover.svg b/static/img/Homepage/discover.svg
index b6bccfee3..c64d615ac 100644
--- a/static/img/Homepage/discover.svg
+++ b/static/img/Homepage/discover.svg
@@ -1,11 +1,9 @@
-<svg width="1280" height="216" viewBox="0 0 1280 216" fill="none" 
xmlns="http://www.w3.org/2000/svg";>
-<g opacity="0.15">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M631.634 123.039C633.379 
122.247 656.387 113.05 692.088 104.488C703.195 101.793 710.335 91.0112 708.272 
79.7537C706.051 67.2278 693.516 59.4585 681.298 62.9468C665.364 67.4249 654.411 
71.4151 650.277 73.0032C649.76 73.264 649.229 73.5062 648.684 73.7287C648.586 
73.766 648.423 73.8294 648.198 73.9174C640.766 76.8241 564.758 106.55 470.813 
106.55C458.595 106.55 448.599 96.7193 448.757 84.352C448.757 72.1432 458.595 
62.3127 470.813 62.3127C55 [...]
-</g>
+<svg width="1280" height="469" viewBox="0 0 1280 469" fill="none" 
xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";>
+<rect y="0.791504" width="1280" height="468.095" fill="url(#pattern0)"/>
 <defs>
-<linearGradient id="paint0_linear_998_3756" x1="640" y1="0" x2="640" 
y2="314.417" gradientUnits="userSpaceOnUse">
-<stop stop-color="#88A5F6"/>
-<stop offset="0.677083" stop-color="#7497F7" stop-opacity="0"/>
-</linearGradient>
+<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" 
height="1">
+<use xlink:href="#image0_998_3763" transform="translate(0 -0.558442) 
scale(0.000527704 0.001443)"/>
+</pattern>
+<image id="image0_998_3763" width="1920" height="1080" 
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAYAAADo08FDAAAgAElEQVR4nOydeWBU1dn/P+femclMdkjCEnZMBAMaxSiiIlawltat1bqW0L60Vd+6Fqz2bf21li7wVurW1tqqLaF91VbrLlWgSlEoGtEICUJSVglLAmRPZrn3/P64d5LJZCZ7JmE8n1Yl9965ueHJOfecZ/k+YtfeSkk/IQRICSCt/wuB6K+bK3qBBCmQgl7bQdl0KNEP9sSyIdJESoEQkt7fTdF71NiML5Q94wdly/hC2TN+ULaML5Q94wdly/ii7/bUNEFSoodETwJOhwPdoaMJZdFYYxgGgYBJs9dLU1MLXp+/x/dQY3Mooeba+KHvtlQoFAqFoieIfgkAW/EkFUwa4vTIOsqmQ56
 [...]
 </defs>
 </svg>

Reply via email to