Skip to content

Commit d0d7a73

Browse files
committed
fix: typo, more tools section
1 parent ade5958 commit d0d7a73

File tree

5 files changed

+27
-46
lines changed

5 files changed

+27
-46
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"node": ">=18.x <=20.x"
4545
},
4646
"dependencies": {
47-
"@dvcorg/gatsby-theme-iterative": "0.3.20",
47+
"@dvcorg/gatsby-theme-iterative": "0.3.21",
4848
"@dvcorg/websites-server": "^0.1.1",
4949
"@emotion/react": "^11.10.5",
5050
"@emotion/styled": "^11.10.5",

src/@dvcorg/gatsby-theme-iterative/components/LayoutFooter/index.tsx

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ import { ReactComponent as YoutubeIcon } from '@media/icons/youtube.svg'
1111
import { ReactComponent as LinkedInIcon } from '@media/icons/linkedin.svg'
1212
import { ReactComponent as IterativeIcon } from '@media/icons/iterative.svg'
1313
import dvcIcon from '@media/icons/dvc.svg'
14-
import cmlIcon from '@media/icons/cml.svg'
1514
import studioIcon from '@media/icons/studio.svg'
16-
import mlemIcon from '@media/icons/mlem.svg'
1715

1816
interface ISocialLinkPopupProps {
1917
url: string
@@ -75,18 +73,18 @@ const footerLists: Array<IFooterListPopupProps> = [
7573
]
7674
},
7775
{
78-
title: 'Other Tools',
76+
title: 'More Tools',
7977
items: [
78+
{
79+
text: 'DataChain',
80+
icon: <span className="icon-block">🔗</span>,
81+
url: 'https://github.com/iterative/datachain'
82+
},
8083
{
8184
text: 'DVC',
8285
icon: <Box as="span" sx={{ backgroundImage: `url("${dvcIcon}")` }} />,
8386
url: 'https://dvc.org/'
8487
},
85-
{
86-
text: 'CML',
87-
icon: <Box as="span" sx={{ backgroundImage: `url("${cmlIcon}")` }} />,
88-
url: '/'
89-
},
9088
{
9189
text: 'Studio',
9290
icon: (
@@ -99,18 +97,6 @@ const footerLists: Array<IFooterListPopupProps> = [
9997
),
10098
url: 'https://studio.iterative.ai/'
10199
},
102-
{
103-
text: 'MLEM',
104-
icon: (
105-
<Box
106-
as="span"
107-
sx={{
108-
backgroundImage: `url("${mlemIcon}")`
109-
}}
110-
/>
111-
),
112-
url: 'https://mlem.ai/'
113-
},
114100
{
115101
text: 'VS Code Extension',
116102
icon: <Box as="span" sx={{ backgroundImage: `url("${dvcIcon}")` }} />,

src/@dvcorg/gatsby-theme-iterative/components/LayoutHeader/index.tsx

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ import { ReactComponent as DiscordIcon } from '@media/icons/discord.svg'
99
import { ReactComponent as GithubIcon } from '@media/icons/github.svg'
1010
import { ReactComponent as UpIcon } from '@media/icons/up.svg'
1111
import { ReactComponent as DownIcon } from '@media/icons/down.svg'
12-
import { ReactComponent as CmlIcon } from '@media/icons/cml.svg'
1312
import { ReactComponent as DvcIcon } from '@media/icons/dvc.svg'
1413
import { ReactComponent as StudioIcon } from '@media/icons/studio.svg'
15-
import { ReactComponent as MlemIcon } from '@media/icons/mlem.svg'
1614
import { ReactComponent as ExternalLinkIcon } from '@media/icons/external-link.svg'
1715
import { ReactComponent as VsCodeIcon } from '@media/icons/vscode.svg'
1816

@@ -71,36 +69,30 @@ const primaryNavItems = [
7169

7270
const otherToolsItems: Array<IOtherToolsItem> = [
7371
{
74-
title: 'Studio',
75-
icon: <StudioIcon width="24" height="24" />,
76-
description: 'Track experiments and share insights from ML projects',
77-
href: 'https://studio.iterative.ai/'
72+
title: 'DataChain',
73+
icon: <span>🔗</span>,
74+
description:
75+
'Wrangle unstructured data in Python using AI helpers at scale',
76+
href: 'https://github.com/iterative/datachain'
7877
},
7978
{
8079
title: 'DVC',
8180
icon: <DvcIcon width="24" height="24" />,
8281
description: 'Open-source version control system for ML projects',
8382
href: 'https://dvc.org/'
8483
},
84+
{
85+
title: 'DVC Studio',
86+
icon: <StudioIcon width="24" height="24" />,
87+
description: 'Track experiments and share insights from ML projects',
88+
href: 'https://studio.iterative.ai/'
89+
},
8590
{
8691
title: 'VS Code Extension',
8792
titleIcon: <VsCodeIcon className="title-icon" width="14" height="14" />,
88-
icon: <div></div>,
93+
icon: <DvcIcon width="24" height="24" />,
8994
description: 'Local ML model development and experiment tracking',
9095
href: 'https://marketplace.visualstudio.com/items?itemName=Iterative.dvc'
91-
},
92-
{
93-
title: 'CML',
94-
icon: <CmlIcon width="24" height="24" />,
95-
description: 'Open-source CI/CD for ML projects',
96-
href: '/'
97-
},
98-
{
99-
title: 'MLEM',
100-
icon: <MlemIcon width="24" height="24" />,
101-
description:
102-
'Open-source model registry and deployment tool for ML projects',
103-
href: 'https://mlem.ai'
10496
}
10597
]
10698

@@ -235,7 +227,7 @@ const Header: React.FC<IHeaderProps> = ({ isMain }) => {
235227
: {}
236228
}
237229
>
238-
Other Tools
230+
More Tools
239231
<Box
240232
variant="layout.Header.Nav.NavButton.Icon"
241233
sx={

src/gatsby-plugin-theme-ui/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ export default {
252252
gridTemplateColumns: 'auto auto',
253253
gridTemplateRows: 'auto auto',
254254
textDecoration: 'none',
255+
fontSize: '24px',
255256
textAlign: 'left',
256257
transition: 'background-color 0.25s',
257258
'&:first-of-type': {
@@ -274,6 +275,8 @@ export default {
274275
width: ['24px', null, '32px', '36px'],
275276
height: ['24px', null, '32px', '36px'],
276277
gridRow: 'span 2',
278+
display: 'flex',
279+
justifyContent: 'end',
277280
svg: {
278281
width: ['24px', null, '32px', '36px'],
279282
height: ['24px', null, '32px', '36px']

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,10 +1656,10 @@
16561656
resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-2.1.1.tgz#c9c61d9fe5ca5ac664e1153bb0aa0eba1c6d6308"
16571657
integrity sha512-jwx+WCqszn53YHOfvFMJJRd/B2GqkCBt+1MJSG6o5/s8+ytHMvDZXsJgUEWLk12UnLd7HYKac4BYU5i/Ron1Cw==
16581658

1659-
"@dvcorg/gatsby-theme-iterative@0.3.20":
1660-
version "0.3.20"
1661-
resolved "https://registry.yarnpkg.com/@dvcorg/gatsby-theme-iterative/-/gatsby-theme-iterative-0.3.20.tgz#8b73c9a3ca0542449729f5c277b7e4aa91d06135"
1662-
integrity sha512-5EXwELAmzGbcl0h8+k3K+ggz/wvHYGtR5pOdPNQW2jeVpNsARr8RjN7rd7eOVcGaZsvYnvp8Ukg8P6ohG9cafQ==
1659+
"@dvcorg/gatsby-theme-iterative@0.3.21":
1660+
version "0.3.21"
1661+
resolved "https://registry.yarnpkg.com/@dvcorg/gatsby-theme-iterative/-/gatsby-theme-iterative-0.3.21.tgz#01e4126fbf93c4c6a63f45e8967816a71ba4d935"
1662+
integrity sha512-DnxqIED7fOlQ2yObl0l1EU38GZc9cDn/OXRvoJPppoBrePcxLgCdXVDBUuPMtjmjx8XlZXtLgcPRs/mYqXnA4w==
16631663
dependencies:
16641664
"@babel/plugin-transform-react-jsx" "^7.23.4"
16651665
"@reach/portal" "^0.18.0"

0 commit comments

Comments
 (0)