Skip to content

Commit

Permalink
update bootcamp
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <jiangruiyi@gmail.com>
  • Loading branch information
shanghaikid committed Oct 25, 2024
1 parent 57d5133 commit 7804a9f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
34 changes: 19 additions & 15 deletions src/pages/bootcamp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ export default function Bootcamp(props) {
<section className={classes.sectionContainer}>
<h1 className={classes.seoTitle}>Milvus Bootcamp</h1>
<h2 className={classes.title}>{title}</h2>
<p className={classes.desc}>{description}</p>
<p
className={classes.desc}
dangerouslySetInnerHTML={{ __html: description }}
></p>
</section>

<section className={classes.sectionContainer}>
Expand All @@ -52,7 +55,6 @@ export default function Bootcamp(props) {
<SolutionCard
title={title}
content={desc}
img={Icons[iconType]}
href={link}
liveDemo={liveDemo}
/>
Expand All @@ -62,19 +64,21 @@ export default function Bootcamp(props) {
</ul>
</section>

<section className={classes.sectionContainer}>
<h2 className={classes.title}>{section4.title}</h2>
<ul className={classes.cardsWrapper}>
{section4.content.map(item => {
const { title, link, desc } = item;
return (
<li key={title}>
<SolutionCard title={title} content={desc} href={link} />
</li>
);
})}
</ul>
</section>
{section4.content.length > 0 && (
<section className={classes.sectionContainer}>
<h2 className={classes.title}>{section4.title}</h2>
<ul className={classes.cardsWrapper}>
{section4.content.map(item => {
const { title, link, desc } = item;
return (
<li key={title}>
<SolutionCard title={title} content={desc} href={link} />
</li>
);
})}
</ul>
</section>
)}
</div>
</Layout>
</main>
Expand Down
5 changes: 5 additions & 0 deletions src/styles/bootcamp.module.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
@import url('../styles/global.module.less');

@link-color: #1493cc;

.bootcampContainer {
padding-top: 40px;
padding-bottom: 40px;
a {
color: @link-color;
}
}

.seoTitle {
Expand Down

0 comments on commit 7804a9f

Please sign in to comment.