-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sapi
committed
Feb 3, 2025
1 parent
6587605
commit b3caa88
Showing
13 changed files
with
724 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { colors, SvgIcon, SvgIconProps } from "@material-ui/core"; | ||
|
||
type SocialMediaButtonProps = { | ||
href: string; | ||
icon: string | React.ElementType<SvgIconProps>; | ||
label: string; | ||
alt?: string; | ||
download?: string; | ||
}; | ||
|
||
const link = { | ||
color: '#2D4160', | ||
} | ||
|
||
const iconStyle = { | ||
fontSize: '250%', | ||
} | ||
|
||
const SocialMediaButton: React.FC<SocialMediaButtonProps> = ({ | ||
href, | ||
icon, | ||
alt, | ||
download, | ||
}) => { | ||
return ( | ||
<a | ||
href={href} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
download={download ? download : undefined} | ||
style={link} | ||
> | ||
{typeof icon === "string" ? ( | ||
<img src={icon} alt={alt} /> | ||
) : ( | ||
<SvgIcon component={icon} style={iconStyle}/> | ||
)} | ||
</a> | ||
); | ||
}; | ||
|
||
export default SocialMediaButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ import Routing from '../Routing/Routing'; | |
import './App.css' | ||
|
||
function App() { | ||
|
||
|
||
|
||
return ( | ||
<Routing/> | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,58 @@ | ||
export default function Header() { | ||
} | ||
import { FC,memo } from "react"; | ||
import LinkedInIcon from "@material-ui/icons/LinkedIn"; | ||
import GitHubIcon from "@material-ui/icons/GitHub"; | ||
import DescriptionIcon from '@material-ui/icons/Description'; | ||
import SocialMediaButton from "../../components/SocialMediaButton/SocialMediaButton"; | ||
import logoImg from "../../images/logo.png" | ||
import cvPDF from "../../assets/CV_SARA_VIEIRA.pdf" | ||
|
||
const Header: FC = memo(() => { | ||
const style = { | ||
backgroundColor: '#FFFBF0', | ||
color: '#2D4160', | ||
margin: '0.5%', | ||
padding: '1%', | ||
font: '', | ||
borderRadius: '10px', | ||
position: 'relative', | ||
display: 'flex', | ||
justifyContent: 'space-between', | ||
alignItems: 'center', | ||
} as const | ||
const leftCorner = { | ||
display: 'flex', | ||
flexDirection: 'row', | ||
alignItems: 'center', | ||
} as const | ||
const rightCorner = { | ||
position: 'relative', | ||
display: 'flex', | ||
right: 0, | ||
} as const | ||
return ( | ||
<div style={style}> | ||
<div style={leftCorner}> | ||
<img src={logoImg}/> | ||
</div> | ||
<div style={rightCorner}> | ||
<SocialMediaButton | ||
href={cvPDF} | ||
icon = {DescriptionIcon} | ||
label="CV" | ||
/> | ||
<SocialMediaButton | ||
href="https://github.com/spgvieira" | ||
icon = {GitHubIcon} | ||
label="Github" | ||
/> | ||
<SocialMediaButton | ||
href="https://www.linkedin.com/in/sarapvieira/" | ||
icon = {LinkedInIcon} | ||
label="LinkedIn" | ||
/> | ||
</div> | ||
</div> | ||
) | ||
}); | ||
|
||
export default Header; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1 @@ | ||
:root { | ||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; | ||
line-height: 1.5; | ||
font-weight: 400; | ||
|
||
color-scheme: light dark; | ||
color: rgba(255, 255, 255, 0.87); | ||
background-color: #242424; | ||
|
||
font-synthesis: none; | ||
text-rendering: optimizeLegibility; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
a { | ||
font-weight: 500; | ||
color: #646cff; | ||
text-decoration: inherit; | ||
} | ||
a:hover { | ||
color: #535bf2; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
display: flex; | ||
place-items: center; | ||
min-width: 320px; | ||
min-height: 100vh; | ||
} | ||
|
||
h1 { | ||
font-size: 3.2em; | ||
line-height: 1.1; | ||
} | ||
|
||
button { | ||
border-radius: 8px; | ||
border: 1px solid transparent; | ||
padding: 0.6em 1.2em; | ||
font-size: 1em; | ||
font-weight: 500; | ||
font-family: inherit; | ||
background-color: #1a1a1a; | ||
cursor: pointer; | ||
transition: border-color 0.25s; | ||
} | ||
button:hover { | ||
border-color: #646cff; | ||
} | ||
button:focus, | ||
button:focus-visible { | ||
outline: 4px auto -webkit-focus-ring-color; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
:root { | ||
color: #213547; | ||
background-color: #ffffff; | ||
} | ||
a:hover { | ||
color: #747bff; | ||
} | ||
button { | ||
background-color: #f9f9f9; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.