-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement changes to on-premises and accelerators pages
- Loading branch information
1 parent
918c4ef
commit 554d3ec
Showing
36 changed files
with
580 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,9 @@ | |
} | ||
|
||
&__certificates { | ||
display: flex; | ||
justify-content: center; | ||
width: 100%; | ||
margin-top: 40px; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nityPage/CodeOfConduct/CodeOfConduct.scss → src/components/InfoCard/InfoCard.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React, { FC } from 'react'; | ||
import classNames from 'classnames'; | ||
import { Link } from '@app/components/Link'; | ||
import { createBemBlockBuilder, LinkDto } from '@app/utils'; | ||
|
||
import './InfoCard.scss'; | ||
|
||
const getBlocksWith = createBemBlockBuilder(['info-card']); | ||
|
||
interface InfoCardProps { | ||
title: string; | ||
description: string; | ||
link: LinkDto; | ||
icon: string; | ||
} | ||
|
||
export const InfoCard: FC<InfoCardProps> = ({ title, description, icon, link }) => ( | ||
<div className={getBlocksWith()}> | ||
<img className={getBlocksWith('__image')} src={icon} alt="" /> | ||
<div> | ||
<strong className={getBlocksWith('__title')}>{title}</strong> | ||
<p className={getBlocksWith('__description')}>{description}</p> | ||
</div> | ||
<Link | ||
className={classNames(getBlocksWith('__button'), 'btn btn--outline btn--small')} | ||
to={link.url} | ||
> | ||
{link.title} | ||
</Link> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './InfoCard'; |
Oops, something went wrong.