Skip to content

Commit

Permalink
Add CV
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony1060 committed Jan 9, 2025
1 parent b786f88 commit 3b0d168
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
Binary file added public/docs/cv.pdf
Binary file not shown.
28 changes: 27 additions & 1 deletion src/components/parts/Introduction.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { FC } from "react";
import { FileText } from "react-feather";
import styled from "styled-components";

import CVUrl from "/docs/cv.pdf";

import SectionContainer, { SectionWrapper } from "../elements/SectionContainer";

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

const CVButtonContainer = styled.a`
display: flex;
justify-content: center;
align-items: center;
gap: 0.4rem;
cursor: pointer;
color: white;
text-decoration: none;
&:hover span {
text-decoration: underline;
}
`;

const CVButton: FC = () => {
return (
<CVButtonContainer target={"_blankž"} href={CVUrl}>
<FileText size={16} />
<span>CV</span>
</CVButtonContainer>
);
};

const Introduction: FC = () => {
return (
<SectionContainer name="Introduction" style={Wrapper}>
<SectionContainer name="Introduction" style={Wrapper} after={<CVButton />}>
<InfoContainer>
<Name>Antonio Fran Trstenjak</Name>
<DetailContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/components/parts/education/Education.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const InfoAlert: FC = () => {
<InfoContainer>
<Info size={20} />
<InfoHover>
All information is displayed in accordance with the Croatian school system.
All information is displayed in accordance with the Croatian education system.
</InfoHover>
</InfoContainer>
);
Expand Down

0 comments on commit 3b0d168

Please sign in to comment.