Commit 3b0d168 1 parent b786f88 commit 3b0d168 Copy full SHA for 3b0d168
File tree 3 files changed +28
-2
lines changed
3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { FC } from "react" ;
2
+ import { FileText } from "react-feather" ;
2
3
import styled from "styled-components" ;
3
4
5
+ import CVUrl from "/docs/cv.pdf" ;
6
+
4
7
import SectionContainer , { SectionWrapper } from "../elements/SectionContainer" ;
5
8
6
9
const Wrapper = styled ( SectionWrapper ) `
@@ -119,9 +122,32 @@ const Detail: FC<{ name: string; value: string; href?: string; mobileFriendly?:
119
122
) ;
120
123
} ;
121
124
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
+
122
148
const Introduction : FC = ( ) => {
123
149
return (
124
- < SectionContainer name = "Introduction" style = { Wrapper } >
150
+ < SectionContainer name = "Introduction" style = { Wrapper } after = { < CVButton /> } >
125
151
< InfoContainer >
126
152
< Name > Antonio Fran Trstenjak</ Name >
127
153
< DetailContainer >
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const InfoAlert: FC = () => {
71
71
< InfoContainer >
72
72
< Info size = { 20 } />
73
73
< 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.
75
75
</ InfoHover >
76
76
</ InfoContainer >
77
77
) ;
You can’t perform that action at this time.
0 commit comments