Move info to component
This commit is contained in:
parent
fee6927284
commit
bbb880cf99
@ -4,6 +4,7 @@ type Props = {
|
|||||||
title: string
|
title: string
|
||||||
url: string
|
url: string
|
||||||
description: string
|
description: string
|
||||||
|
icon: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export const AboutMeEntry: FunctionComponent<Props> = (props: Props) => {
|
export const AboutMeEntry: FunctionComponent<Props> = (props: Props) => {
|
||||||
@ -12,7 +13,7 @@ export const AboutMeEntry: FunctionComponent<Props> = (props: Props) => {
|
|||||||
<a href={props.url}>
|
<a href={props.url}>
|
||||||
<div
|
<div
|
||||||
className="feature-icon d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-2 mb-3">
|
className="feature-icon d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-2 mb-3">
|
||||||
<i className="bi bi-github"></i>
|
<i className={props.icon}></i>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div className="feature col align-items-center justify-content-center">
|
<div className="feature col align-items-center justify-content-center">
|
||||||
|
@ -7,5 +7,6 @@ export const Github: FunctionComponent<any> = () => {
|
|||||||
url="https://github.com/pgrondek"
|
url="https://github.com/pgrondek"
|
||||||
title="Github"
|
title="Github"
|
||||||
description="My main public git repository"
|
description="My main public git repository"
|
||||||
|
icon="bi bi-github"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user