Compare commits
3 commits
2996664c86
...
33279cf21c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
33279cf21c | ||
![]() |
bbb880cf99 | ||
![]() |
fee6927284 |
5 changed files with 69 additions and 21 deletions
27
src/components/AboutMeEntry.tsx
Normal file
27
src/components/AboutMeEntry.tsx
Normal file
|
@ -0,0 +1,27 @@
|
|||
import React, {FunctionComponent} from "react";
|
||||
|
||||
type Props = {
|
||||
title: string
|
||||
url: string
|
||||
description: string
|
||||
icon: string
|
||||
}
|
||||
|
||||
export const AboutMeEntry: FunctionComponent<Props> = (props: Props) => {
|
||||
return (
|
||||
<div className="feature col">
|
||||
<a href={props.url}>
|
||||
<div
|
||||
className="feature-icon d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-2 mb-3">
|
||||
<i className={props.icon}></i>
|
||||
</div>
|
||||
</a>
|
||||
<div className="feature col align-items-center justify-content-center">
|
||||
<h3 className="fs-2 text-body-emphasis">{props.title}</h3>
|
||||
</div>
|
||||
<p>
|
||||
{props.description}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
12
src/components/Github.tsx
Normal file
12
src/components/Github.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {AboutMeEntry} from "@/components/AboutMeEntry";
|
||||
import {FunctionComponent} from "react";
|
||||
|
||||
|
||||
export const Github: FunctionComponent<any> = () => {
|
||||
return <AboutMeEntry
|
||||
url="https://github.com/pgrondek"
|
||||
title="Github"
|
||||
description="My main public git repository"
|
||||
icon="bi bi-github"
|
||||
/>
|
||||
}
|
12
src/components/LinkedIn.tsx
Normal file
12
src/components/LinkedIn.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {AboutMeEntry} from "@/components/AboutMeEntry";
|
||||
import {FunctionComponent} from "react";
|
||||
|
||||
|
||||
export const LinkedIn: FunctionComponent<any> = () => {
|
||||
return <AboutMeEntry
|
||||
url="https://www.linkedin.com/in/pgrondek/"
|
||||
title="LinkedIn"
|
||||
description=""
|
||||
icon="bi bi-linkedin"
|
||||
/>
|
||||
}
|
12
src/components/Printables.tsx
Normal file
12
src/components/Printables.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {AboutMeEntry} from "@/components/AboutMeEntry";
|
||||
import {FunctionComponent} from "react";
|
||||
|
||||
|
||||
export const Printables: FunctionComponent<any> = () => {
|
||||
return <AboutMeEntry
|
||||
url="https://www.printables.com/@pgrondek"
|
||||
title="Printables"
|
||||
description="Repository of my 3d designs and prints"
|
||||
icon="bi bi-badge-3d"
|
||||
/>
|
||||
}
|
|
@ -1,4 +1,7 @@
|
|||
import 'bootstrap/dist/css/bootstrap.css'
|
||||
import {Github} from "@/components/Github";
|
||||
import {LinkedIn} from "@/components/LinkedIn";
|
||||
import {Printables} from "@/components/Printables";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
|
@ -6,29 +9,11 @@ export default function Home() {
|
|||
<div className="container">
|
||||
<h2 className="pb-2 border-bottom">My stuff</h2>
|
||||
<div className="row g-4 py-5 row-cols-1 row-cols-lg-3">
|
||||
<div className="feature col">
|
||||
<a href="https://github.com/pgrondek">
|
||||
<div
|
||||
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>
|
||||
</div>
|
||||
</a>
|
||||
<div className="feature col align-items-center justify-content-center">
|
||||
<h3 className="fs-2 text-body-emphasis">Github</h3>
|
||||
</div>
|
||||
<p>
|
||||
My main public git repositories with notable repos:
|
||||
<ul>
|
||||
<li><a href="https://github.com/pgrondek/ansible">ansible</a> - playbook for my homelab</li>
|
||||
<li><a href="https://github.com/pgrondek/Prusa-Firmware">Prusa-Firmware</a> - slightly modified firmware for my 3d printer</li>
|
||||
<li><a href="https://github.com/pgrondek/dwm">dwm</a> - my customized version of dwm</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<Github/>
|
||||
<LinkedIn/>
|
||||
<Printables/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue