Skip to content

Commit

Permalink
Design of training variants
Browse files Browse the repository at this point in the history
  • Loading branch information
hejny committed Apr 9, 2024
1 parent 6a0cb69 commit 5456e23
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/sections/100-AiTraining/AiTraining.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
/* TODO: Use or remove empty css */
}

.variants > div {
.variants > div > div {
/* Note: [✌] Two nested divs to use <Items/> together with nice outline */
outline: 1px solid rgb(245, 224, 185);
border-radius: 30px;
margin: 10px;
Expand Down
21 changes: 12 additions & 9 deletions src/sections/100-AiTraining/AiTrainingVariant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ export function AiTrainingVariant(props: AiTrainingVariantProps) {

return (
<div>
<h3>{t(`AiTraining.${variant}.title`)}</h3>
<Link
className="button"
href="#contact"
// <- TODO: !!! Better
>
{t(`AiTraining.${variant}.price`)}
</Link>
<Article content={t(`AiTraining.${variant}.content`)} isEnhanced />
<div>
<h3>{t(`AiTraining.${variant}.title`)}</h3>
<Link
className="button"
href="#contact"
// <- TODO: !!! Better
>
{t(`AiTraining.${variant}.price`)}
</Link>
<Article content={t(`AiTraining.${variant}.content`)} isEnhanced />
</div>
</div>
// <- Note: [✌] Two nested divs to use <Items/> together with nice outline
);
}

0 comments on commit 5456e23

Please sign in to comment.