Skip to content

Commit b6ff265

Browse files
committed
social links
1 parent d07fbd2 commit b6ff265

File tree

8 files changed

+42
-6
lines changed

8 files changed

+42
-6
lines changed

.prettierrc

100755100644
+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{
2-
"singleQuote": true,
3-
"trailingComma": "all",
4-
"printWidth": 100
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"printWidth": 100
55
}

components/Layout/Layout.tsx

+22
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { memo } from 'react';
22
import styles from '../../styles/Home.module.css';
33
import { Navbar } from '../Navbar/Navbar';
44
import { Header } from '../Header/Header';
5+
import Image from 'next/image';
6+
import Link from 'next/link';
57

68
type LayoutProps = {
79
readonly children: React.ReactNode;
@@ -19,6 +21,26 @@ export const Layout = memo<LayoutProps>(({ children }) => {
1921
<footer className={styles.footer}>
2022
2123
<p>SimiCoder</p>
24+
25+
<div className={styles.flex}>
26+
<div className={styles.link}>
27+
<Link passHref href="https://www.linkedin.com/in/szymon-popielarz-992848199/">
28+
<Image src={`/images/linkedinIcon.svg`} alt="linkedin logo" width="30" height="30" />
29+
</Link>
30+
</div>
31+
32+
<div className={styles.link}>
33+
<Link passHref href="https://github.com/simicoder">
34+
<Image src={`/images/github.svg`} alt="github logo" width="30" height="30" />
35+
</Link>
36+
</div>
37+
38+
<div className={styles.link}>
39+
<Link passHref href="https://twitter.com/simicoder">
40+
<Image src={`/images/twitterIcon.svg`} alt="twitter logo" width="30" height="30" />
41+
</Link>
42+
</div>
43+
</div>
2244
</footer>
2345
</div>
2446
);

components/Projects/Project/Project.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const Project = ({ name, href, ghHref }: ProjectProps) => {
3838

3939
<div className={styles.ghImageContainer}>
4040
<Link passHref href={ghHref}>
41-
<Image src={`/images/github.png`} alt={name + ' logo'} width="40" height="40" />
41+
<Image src={`/images/github.svg`} alt={name + ' logo'} width="40" height="40" />
4242
</Link>
4343

4444
<Link passHref href={href}>

public/images/github.png

-20.3 KB
Binary file not shown.

public/images/github.svg

+1
Loading

public/images/linkedinIcon.svg

+1
Loading

public/images/twitterIcon.svg

+1
Loading

styles/Home.module.css

+12-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
align-items: center;
77
}
88

9+
.flex {
10+
display: flex;
11+
justify-content: center;
12+
align-items: center;
13+
}
14+
915
.main {
1016
display: flex;
1117
flex-direction: column;
@@ -15,12 +21,13 @@
1521

1622
.footer {
1723
width: 100%;
18-
height: 100px;
24+
height: 150px;
1925
border-top: 1px solid #4b4b4b;
2026
display: flex;
2127
flex-direction: column;
2228
justify-content: center;
2329
align-items: center;
30+
padding-bottom: 20px;
2431
}
2532

2633
.footer p {
@@ -36,3 +43,7 @@
3643
flex-direction: column;
3744
}
3845
}
46+
47+
.link {
48+
margin: 5px;
49+
}

0 commit comments

Comments
 (0)