From c783ff4dd978368710005351e3f00c8456ed03e2 Mon Sep 17 00:00:00 2001 From: Thomas Kunwar <20840228+yathomasi@users.noreply.github.com> Date: Tue, 10 Sep 2024 09:28:43 +0545 Subject: [PATCH] chore: update datachain logo (#5308) --- content/docs/index.md | 7 ++-- package.json | 2 +- .../components/LayoutFooter/index.tsx | 3 +- .../gatsby-theme-iterative/data/menu.tsx | 7 ++-- .../data/styles.module.css | 4 +++ .../GetStarted/GetStartedWithDatachain.tsx | 6 +++- src/components/Home/Hero/HeroSection.tsx | 10 ++++-- static/img/logos/datachain-black.svg | 33 +++++++++++++++++++ static/img/logos/datachain-logo.svg | 24 ++++++++++++++ static/img/logos/datachain-white.svg | 33 +++++++++++++++++++ yarn.lock | 10 +++--- 11 files changed, 122 insertions(+), 17 deletions(-) create mode 100644 static/img/logos/datachain-black.svg create mode 100644 static/img/logos/datachain-logo.svg create mode 100644 static/img/logos/datachain-white.svg diff --git a/content/docs/index.md b/content/docs/index.md index 9fa27bb88f..75802826f1 100644 --- a/content/docs/index.md +++ b/content/docs/index.md @@ -31,7 +31,7 @@ as a [Python library]. Non-exhaustive list of scenarios DVC can help with - + Sister and upstream tool to version and wrangle data at scale @@ -42,8 +42,9 @@ as a [Python library]. responsive⚑. βœ… Check out our GitHub repositories: [DVC](https://github.com/iterative/dvc) -and [πŸ”— DataChain](https://github.com/iterative/datachain) give us a ⭐ if you -like the projects! +and +[ DataChain](https://github.com/iterative/datachain) +give us a ⭐ if you like the projects! βœ… Contribute to DVC [on GitHub](https://github.com/iterative/dvc) or help us improve this [documentation](https://github.com/iterative/dvc.org) πŸ™. diff --git a/package.json b/package.json index 4d4dc5a736..965e4c464b 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "node": ">=18.x <=21.x" }, "dependencies": { - "@dvcorg/gatsby-theme-iterative": "0.3.22", + "@dvcorg/gatsby-theme-iterative": "0.3.23", "@dvcorg/websites-server": "0.2.1", "@iframe-resizer/react": "5.1.5", "@octokit/request": "8.4.0", diff --git a/src/@dvcorg/gatsby-theme-iterative/components/LayoutFooter/index.tsx b/src/@dvcorg/gatsby-theme-iterative/components/LayoutFooter/index.tsx index 1075d736d3..ca0c62e7d0 100644 --- a/src/@dvcorg/gatsby-theme-iterative/components/LayoutFooter/index.tsx +++ b/src/@dvcorg/gatsby-theme-iterative/components/LayoutFooter/index.tsx @@ -13,6 +13,7 @@ import { ReactComponent as GithubSVG } from '@dvcorg/gatsby-theme-iterative/src/ import { ReactComponent as TwitterSVG } from '@dvcorg/gatsby-theme-iterative/src/components/SocialIcon/twitter.svg' import { ReactComponent as DiscordSVG } from '@dvcorg/gatsby-theme-iterative/src/components/SocialIcon/discord.svg' import { ReactComponent as StudioSVG } from '../../../../../static/img/studio_icon-color--square_vector.svg' +import { ReactComponent as DatachainSVG } from '../../../../../static/img/logos/datachain-logo.svg' import * as styles from '@dvcorg/gatsby-theme-iterative/src/components/LayoutFooter/styles.module.css' import LogoGradient from '@dvcorg/gatsby-theme-iterative/src/components/LogoGradient' @@ -106,7 +107,7 @@ const footerListsData: Array = [ { href: githubDatachainUrl, text: 'DataChain', - icon: πŸ”— + icon: }, { href: 'https://studio.iterative.ai/', diff --git a/src/@dvcorg/gatsby-theme-iterative/data/menu.tsx b/src/@dvcorg/gatsby-theme-iterative/data/menu.tsx index ed0eefc099..317046fa3d 100644 --- a/src/@dvcorg/gatsby-theme-iterative/data/menu.tsx +++ b/src/@dvcorg/gatsby-theme-iterative/data/menu.tsx @@ -132,10 +132,9 @@ const menuData: IMenuData = { description: 'Wrangle unstructured data in Python using AI helpers at scale', href: githubDatachainUrl, - iconClass: '', - img: '', - imgAlt: '', - icon: πŸ”— + iconClass: styles.datachainIcon, + img: '/img/logos/datachain-logo.svg', + imgAlt: 'Datachain logo' }, { title: 'DVC Studio', diff --git a/src/@dvcorg/gatsby-theme-iterative/data/styles.module.css b/src/@dvcorg/gatsby-theme-iterative/data/styles.module.css index 899e762d09..0857c226d8 100644 --- a/src/@dvcorg/gatsby-theme-iterative/data/styles.module.css +++ b/src/@dvcorg/gatsby-theme-iterative/data/styles.module.css @@ -14,6 +14,10 @@ background-image: url('../../../../static/img/vscode-icon.svg'); } +.datachainIcon { + background-image: url('../../../../static/img/logos/datachain-logo.svg'); +} + .other { font-weight: 600; letter-spacing: 2px; diff --git a/src/components/Home/Hero/GetStarted/GetStartedWithDatachain.tsx b/src/components/Home/Hero/GetStarted/GetStartedWithDatachain.tsx index 66aa9a8905..a56e1fb4a6 100644 --- a/src/components/Home/Hero/GetStarted/GetStartedWithDatachain.tsx +++ b/src/components/Home/Hero/GetStarted/GetStartedWithDatachain.tsx @@ -12,7 +12,11 @@ const GetStartedWithDatachain = () => {

Get Started with

- πŸ”— + Datachain Logo
diff --git a/src/components/Home/Hero/HeroSection.tsx b/src/components/Home/Hero/HeroSection.tsx index 0727475c84..46433385a1 100644 --- a/src/components/Home/Hero/HeroSection.tsx +++ b/src/components/Home/Hero/HeroSection.tsx @@ -98,7 +98,13 @@ const HeroSection = () => { {/* Title Section */}
- πŸ”— +
+ DVC Logo +
{ )} >

- GenAI data chain + GenAI DataChain

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/logos/datachain-logo.svg b/static/img/logos/datachain-logo.svg new file mode 100644 index 0000000000..15e6b5c11e --- /dev/null +++ b/static/img/logos/datachain-logo.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/logos/datachain-white.svg b/static/img/logos/datachain-white.svg new file mode 100644 index 0000000000..7c8be84ff6 --- /dev/null +++ b/static/img/logos/datachain-white.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yarn.lock b/yarn.lock index 782354a05d..101fd2dbe7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2765,9 +2765,9 @@ __metadata: languageName: node linkType: hard -"@dvcorg/gatsby-theme-iterative@npm:0.3.22": - version: 0.3.22 - resolution: "@dvcorg/gatsby-theme-iterative@npm:0.3.22" +"@dvcorg/gatsby-theme-iterative@npm:0.3.23": + version: 0.3.23 + resolution: "@dvcorg/gatsby-theme-iterative@npm:0.3.23" dependencies: "@babel/plugin-transform-react-jsx": "npm:^7.23.4" "@reach/portal": "npm:^0.18.0" @@ -2836,7 +2836,7 @@ __metadata: peerDependencies: gatsby: ^5.0.0 react: ^18.0.0 - checksum: 10c0/4768679209eb3f850514212b885b8df6232c6d30d4019623f47d666380f2300ebc050f79106adfd0ca02a7728ffc9545f7bc9f482d282fdea854bf0ad70e5d2b + checksum: 10c0/b067116c5d75e8dc221e7f7b44cbfdcb12a858e95f56df5d0dda0e5820325e8be36653c1137ddd03488b14cd5880bf400b7fab1b75abc668f57bf3b7fe264b16 languageName: node linkType: hard @@ -25249,7 +25249,7 @@ __metadata: resolution: "website@workspace:." dependencies: "@babel/core": "npm:7.24.8" - "@dvcorg/gatsby-theme-iterative": "npm:0.3.22" + "@dvcorg/gatsby-theme-iterative": "npm:0.3.23" "@dvcorg/websites-server": "npm:0.2.1" "@iframe-resizer/react": "npm:5.1.5" "@octokit/request": "npm:8.4.0"