Skip to content

Commit 3b0d168

Browse files
committed
Add CV
1 parent b786f88 commit 3b0d168

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

public/docs/cv.pdf

3.11 MB
Binary file not shown.

src/components/parts/Introduction.tsx

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { FC } from "react";
2+
import { FileText } from "react-feather";
23
import styled from "styled-components";
34

5+
import CVUrl from "/docs/cv.pdf";
6+
47
import SectionContainer, { SectionWrapper } from "../elements/SectionContainer";
58

69
const Wrapper = styled(SectionWrapper)`
@@ -119,9 +122,32 @@ const Detail: FC<{ name: string; value: string; href?: string; mobileFriendly?:
119122
);
120123
};
121124

125+
const CVButtonContainer = styled.a`
126+
display: flex;
127+
justify-content: center;
128+
align-items: center;
129+
gap: 0.4rem;
130+
cursor: pointer;
131+
color: white;
132+
text-decoration: none;
133+
134+
&:hover span {
135+
text-decoration: underline;
136+
}
137+
`;
138+
139+
const CVButton: FC = () => {
140+
return (
141+
<CVButtonContainer target={"_blankž"} href={CVUrl}>
142+
<FileText size={16} />
143+
<span>CV</span>
144+
</CVButtonContainer>
145+
);
146+
};
147+
122148
const Introduction: FC = () => {
123149
return (
124-
<SectionContainer name="Introduction" style={Wrapper}>
150+
<SectionContainer name="Introduction" style={Wrapper} after={<CVButton />}>
125151
<InfoContainer>
126152
<Name>Antonio Fran Trstenjak</Name>
127153
<DetailContainer>

src/components/parts/education/Education.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const InfoAlert: FC = () => {
7171
<InfoContainer>
7272
<Info size={20} />
7373
<InfoHover>
74-
All information is displayed in accordance with the Croatian school system.
74+
All information is displayed in accordance with the Croatian education system.
7575
</InfoHover>
7676
</InfoContainer>
7777
);

0 commit comments

Comments
 (0)