Skip to content

Commit

Permalink
Merge pull request #133 from sweta1308/key-data-assets
Browse files Browse the repository at this point in the history
Add Key data assets component
  • Loading branch information
chirag-madlani committed Jun 24, 2024
2 parents 0971d1c + 7c3571b commit 14e60ba
Show file tree
Hide file tree
Showing 11 changed files with 146 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/assets/keydata/collaboration.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/assets/keydata/eye.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/assets/keydata/fingerprint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/assets/keydata/governance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/keydata/key-data-assets.webp
Binary file not shown.
4 changes: 4 additions & 0 deletions public/assets/keydata/quality.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/assets/keydata/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/assets/keydata/tick.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions src/components/KeyDataAssets/KeyDataAssets.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
import { TABS } from "@/constants/KeyDataAssets.constants";
import Image from "next/image";

const KeyDataAssets = () => {
return (
<div className="mx-auto mt-32 max-w-[1440px] px-4 md:px-16">
<div
data-aos="fade-up"
className="flex justify-between overflow-x-scroll gap-3 pb-3 lg:gap-5"
>
{TABS.map((item) => (
<div
className={`flex items-center text-[#4B2F9B] border-2 border-[#4B2F9B] rounded-full px-8 py-1 ${
item.name === "Discovery" && "bg-[#4B2F9B] text-white"
}`}
>
<Image
className="w-[25px] h-[25px] mr-2"
src={item.icon}
alt={item.name}
width={25}
height={25}
/>
<span className="lg:text-[20px] mr-4">{item.name}</span>
</div>
))}
</div>
<h3
data-aos="fade-up"
className="mt-9 text-center text-[#292929] font-medium text-[34px] lg:text-[48px]"
>
Enable teams to find{" "}
<span className="text-[#7147E8]">key data assets</span>
</h3>
<p
data-aos="fade-up"
className="font-normal text-center text-[#382374] mx-auto md:max-w-[75%] lg:max-w-[60%] sm:text-[20px] lg:text-[22px]"
>
Get the right data to the right people to do their work. OpenMetadata
delivers a single source of truth for all your data sources, data
pipelines, and data products.
</p>
<div data-aos="fade-up" className="my-5 items-center text-[#382374] text-[18px] gap-5 sm:px-10 md:px-24 lg:flex xl:text-[24px]">
<div className="flex items-center gap-3">
<Image
className="w-[40px] h-[40px]"
src="/assets/keydata/tick.svg"
alt="Key Assets"
width={40}
height={40}
/>
<span className="text-wrap">
<i>80+ Data Connectors for all your data sources</i>
</span>
</div>
<div className="flex items-center gap-3">
<Image
className="w-[40px] h-[40px]"
src="/assets/keydata/tick.svg"
alt="Key Assets"
width={40}
height={40}
/>
<span>
<i>Search, facet and preview across your data estate</i>
</span>
</div>
<div className="flex items-center gap-3">
<Image
className="w-[40px] h-[40px]"
src="/assets/keydata/tick.svg"
alt="Key Assets"
width={40}
height={40}
/>
<span>
<i>Collaborate with other data practitioners</i>
</span>
</div>
</div>
<div data-aos="zoom-in">
<Image
className="mx-auto"
src="/assets/keydata/key-data-assets.webp"
alt="Key Data Assets"
width={1000}
height={600}
/>
</div>
</div>
);
};

export default KeyDataAssets;
28 changes: 28 additions & 0 deletions src/constants/KeyDataAssets.constants.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const ICON_ROUTE = '/assets/keydata'

export const TABS = [
{
name: "Discovery",
icon: `${ICON_ROUTE}/search.svg`
},
{
name: "Lineage",
icon: `${ICON_ROUTE}/fingerprint.svg`
},
{
name: "Observability",
icon: `${ICON_ROUTE}/eye.svg`
},
{
name: "Quality",
icon: `${ICON_ROUTE}/quality.svg`
},
{
name: "Collaboration",
icon: `${ICON_ROUTE}/collaboration.svg`
},
{
name: "Governance",
icon: `${ICON_ROUTE}/governance.svg`
},
]
2 changes: 2 additions & 0 deletions src/pages/development.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Achievement from "@/components/Achievement/Achievement";
import Header from "@/components/Header/Header";
import KeyDataAssets from "@/components/KeyDataAssets/KeyDataAssets";
import NavbarDev from "@/components/NavbarDev/NavbarDev.component";
import Services from "@/components/Service/Service";
import Head from "next/head";
Expand Down Expand Up @@ -91,6 +92,7 @@ const Development = () => {
<Header />
<Achievement />
<Services />
<KeyDataAssets />
</div>
</>
);
Expand Down

0 comments on commit 14e60ba

Please sign in to comment.