Skip to content

Commit

Permalink
Merge pull request cilium#4 from cilium/text-update
Browse files Browse the repository at this point in the history
fix: change weekly to monthly in Card Item
  • Loading branch information
vannyle authored Feb 11, 2022
2 parents c13f77a + 47401f9 commit ca99f65
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 28 deletions.
30 changes: 16 additions & 14 deletions src/components/pages/home/discover/discover.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const items = [
},
{
icon: InstallFestSvg,
name: 'Weekly Community InstallFest',
text: 'Join us at our weekly InstallFest and learn how to setup and get started with Cilium.',
name: 'Monthly Community InstallFest',
text: 'Join us at our monthly InstallFest and learn how to setup and get started with Cilium.',
buttons: [
{
buttonUrl: 'https://calendly.com/cilium-events/cilim-installfest-emea',
Expand Down Expand Up @@ -57,16 +57,18 @@ const items = [
},
];

const Discover = () => (
<section className="mt-12 md:mt-20 lg:mt-28">
<Container>
<Heading tag="h2">{title}</Heading>
<div className="grid grid-cols-1 gap-4 mt-6 md:gap-6 xl:gap-8 md:mt-10 lg:grid-cols-3 lg:mt-14">
{items.map((item, index) => (
<CardItem size="sm" {...item} key={index} />
))}
</div>
</Container>
</section>
);
function Discover() {
return (
<section className="mt-12 md:mt-20 lg:mt-28">
<Container>
<Heading tag="h2">{title}</Heading>
<div className="grid grid-cols-1 gap-4 mt-6 md:gap-6 xl:gap-8 md:mt-10 lg:grid-cols-3 lg:mt-14">
{items.map((item, index) => (
<CardItem size="sm" {...item} key={index} />
))}
</div>
</Container>
</section>
);
}
export default Discover;
30 changes: 16 additions & 14 deletions src/components/shared/try-cilium/try-cilium.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const items = [
},
{
icon: InstallFestSvg,
name: 'Weekly Community InstallFest',
text: 'Join us at our weekly InstallFest and learn how to setup and get started with Cilium.',
name: 'Monthly Community InstallFest',
text: 'Join us at our monthly InstallFest and learn how to setup and get started with Cilium.',
buttons: [
{
buttonUrl: 'https://calendly.com/cilium-events/cilim-installfest-emea',
Expand Down Expand Up @@ -55,17 +55,19 @@ const items = [
},
];

const TryCilium = () => (
<section className="py-10 mt-12 md:pt-16 md:pb-20 md:mt-20 lg:pt-24 lg:mt-28 lg:pb-28 bg-gray-4">
<Container>
<Heading tag="h2">{title}</Heading>
<div className="grid grid-cols-1 gap-4 mt-6 md:gap-6 xl:gap-8 md:mt-10 lg:grid-cols-3 lg:mt-14">
{items.map((item, index) => (
<CardItem size="sm" {...item} key={index} />
))}
</div>
</Container>
</section>
);
function TryCilium() {
return (
<section className="py-10 mt-12 md:pt-16 md:pb-20 md:mt-20 lg:pt-24 lg:mt-28 lg:pb-28 bg-gray-4">
<Container>
<Heading tag="h2">{title}</Heading>
<div className="grid grid-cols-1 gap-4 mt-6 md:gap-6 xl:gap-8 md:mt-10 lg:grid-cols-3 lg:mt-14">
{items.map((item, index) => (
<CardItem size="sm" {...item} key={index} />
))}
</div>
</Container>
</section>
);
}

export default TryCilium;

0 comments on commit ca99f65

Please sign in to comment.