Skip to content

Commit be6747b

Browse files
fix: Move Hub Description (#370)
1 parent 2db3f7e commit be6747b

File tree

2 files changed

+44
-39
lines changed

2 files changed

+44
-39
lines changed

src/ui/layouts/plugins/ListPlugins/index.tsx

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -122,33 +122,6 @@ const ListPlugins: React.FC = () => {
122122

123123
<Filters currentFilters={filters} updateFilters={setFilters} />
124124
</FlexBox>
125-
<FlexBox style={{ flexDirection: 'column', gap: '12px' }}>
126-
<Paragraph style={{ fontSize: '20px', fontWeight: 600 }}>
127-
ZenML Hub: Streamlining MLOps Collaboration with Reusable Components
128-
</Paragraph>
129-
<Paragraph>
130-
The ZenML Hub is a{' '}
131-
<a
132-
target="_blank"
133-
rel="noopener noreferrer"
134-
href="https://blog.zenml.io/zenml-hub-launch/"
135-
>
136-
plugin system
137-
</a>{' '}
138-
that allows users to contribute and consume stack component flavors,
139-
pipelines, steps, materializers, and other pieces of code seamlessly
140-
in their ML pipelines. Below are a list of community contributed
141-
plugins. If you would like to create your own plugin, click{' '}
142-
<a
143-
target="_blank"
144-
rel="noopener noreferrer"
145-
href="https://docs.zenml.io/starter-guide/collaborate/zenml-hub"
146-
>
147-
here
148-
</a>
149-
.
150-
</Paragraph>
151-
</FlexBox>
152125

153126
{/* list plugins */}
154127
<FlexBox flexWrap={true} padding="lg">

src/ui/layouts/plugins/shared/Layout.tsx

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,50 @@ export const PluginsLayout: React.FC<{
88
}> = ({ title, children }) => {
99
return (
1010
<FlexBox fullWidth padding="lg2" flexDirection="column">
11-
<H2 style={{ fontWeight: 500 }}>{title}</H2>
12-
<FlexBox fullWidth justifyContent="flex-end">
13-
<Paragraph color="grey" style={{ fontSize: '14px' }}>
14-
Check out our easy to read{' '}
15-
<a
16-
href="https://docs.zenml.io/starter-guide/collaborate/zenml-hub"
17-
target="__blank"
18-
rel="noopener noreferrer"
19-
>
20-
docs
21-
</a>
22-
</Paragraph>
11+
<FlexBox flexDirection="row" style={{ gap: '8px' }}>
12+
<FlexBox flexDirection="column">
13+
<H2 style={{ fontWeight: 500 }}>{title}</H2>
14+
15+
<Paragraph style={{ marginTop: '8px' }}>
16+
The ZenML Hub is a{' '}
17+
<a
18+
target="_blank"
19+
rel="noopener noreferrer"
20+
href="https://blog.zenml.io/zenml-hub-launch/"
21+
>
22+
plugin system
23+
</a>{' '}
24+
that allows users to contribute and consume stack component flavors,
25+
pipelines, steps, materializers, and other pieces of code seamlessly
26+
in their ML pipelines. Below are a list of community contributed
27+
plugins. If you would like to create your own plugin, click{' '}
28+
<a
29+
target="_blank"
30+
rel="noopener noreferrer"
31+
href="https://docs.zenml.io/starter-guide/collaborate/zenml-hub"
32+
>
33+
here
34+
</a>
35+
.
36+
</Paragraph>
37+
</FlexBox>
38+
<FlexBox
39+
fullWidth
40+
flexDirection="column"
41+
alignItems="end"
42+
justifyContent="flex-end"
43+
>
44+
<Paragraph color="grey" style={{ fontSize: '14px', flexShrink: 0 }}>
45+
Check out our easy to read{' '}
46+
<a
47+
href="https://docs.zenml.io/starter-guide/collaborate/zenml-hub"
48+
target="__blank"
49+
rel="noopener noreferrer"
50+
>
51+
docs
52+
</a>
53+
</Paragraph>
54+
</FlexBox>
2355
</FlexBox>
2456

2557
{children}

0 commit comments

Comments
 (0)