Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Portfolio
https://julia-demi-portfolio.netlify.app/
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Portfolio</title>
<title>Julia's Portfolio</title>
<!-- Fav Icon -->
<link rel="icon" type="image/png" href="/icons/fav_icon.png" />
</head>
<body>
<div id="root"></div>
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react-dom": "^19.0.0",
"styled-components": "^6.1.19"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",
"@vitejs/plugin-react": "^4.7.0",
"babel-plugin-styled-components": "^2.1.4",
"eslint": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
Expand Down
3 changes: 3 additions & 0 deletions public/icons/Btn - github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/icons/Btn - instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/icons/Btn - linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/icons/Ic-ArrowDown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/icons/Ic-Github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/icons/Ic-Web.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/fav_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/project1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 11 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
import GlobalStyle from "./globalStyles";
import { Header } from "./components/layout/Header";
import { MainSection } from "./components/layout/MainSection";
import { Footer } from "./components/layout/Footer";

export const App = () => {
return (
<>
<h1>Portfolio</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatem, laborum! Maxime animi nostrum facilis distinctio neque labore consectetur beatae eum ipsum excepturi voluptatum, dicta repellendus incidunt fugiat, consequatur rem aperiam.</p>
<GlobalStyle />
<Header />
<MainSection />
<Footer />
</>
)
}
);
};
Binary file added src/assets/AvatarFooter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/avatar.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/codepicture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/footer_av.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/project1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/wordspicture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/components/ArticleDate.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import styled from "styled-components";
import { media } from "../media";
import { BodyText } from "./Typography";

const StyledText = styled(BodyText)`
display: flex;
justify-content: center;
align-items: flex-start;

border-radius: 4px;
border: 1px solid #000;

${media.mobile} {
flex-wrap: wrap;
}
`;

export const ArticleDate = ({ date }) => {
return (
<StyledText size="16px" padding="2px 6px">
{date}
</StyledText>
);
};
82 changes: 82 additions & 0 deletions src/components/BlogCard.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import styled from "styled-components";
import { H3, BodyText } from "./Typography";
import { ButtonFilled } from "./Buttons/ButtonFilled";
import { media } from "../media";
import { ArticleDate } from "../components/ArticleDate";

const ArticleImg = styled.img`
width: 479px;
align-self: stretch;
object-fit: cover;
border-radius: 12px;

${media.tablet} {
width: 200px;
}

${media.mobile} {
width: 100%;
height: 200px;
align-self: stretch;
}
`;

const CardContent = styled.div`
display: flex;
flex-direction: row;
align-items: center;
gap: 125px;
align-self: stretch;

${media.tablet} {
gap: 32px;
}

${media.mobile} {
flex-direction: column;
gap: 32px;
}
`;

const CardInfo = styled.div`
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 32px;
width: 580px;
align-self: stretch;

${media.tablet} {
gap: 32px;
flex: 1 0 0;
width: auto;
flex-wrap: wrap;
align-items: flex-start;
}

${media.mobile} {
width: auto;
flex-wrap: wrap;
align-items: center;
gap: 32px;
align-self: stretch;
}
`;

export const BlogCard = (props) => {
return (
<CardContent role="article" aria-labelledby={`blog-title-${props.id}`}>
<ArticleImg src={props.imgSrc} alt="" role="presentation" />
<CardInfo>
<ArticleDate date={props.date} />
<H3>{props.title}</H3>
<BodyText>{props.about}</BodyText>
<ButtonFilled
text="Read article"
link={props.link}
aria-label={`Read full article: ${props.title}`}
/>
</CardInfo>
</CardContent>
);
};
52 changes: 52 additions & 0 deletions src/components/Buttons/ButtonFilled.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import styled from "styled-components";

const ButtonStyled = styled.a`
display: flex;
width: 303px;
height: 48px;
padding: 0 16px;
align-items: center;
justify-content: flex-start;
gap: 16px;
border-radius: 12px;
background: #000;
color: #fff;
text-decoration: none;
font-family: Poppins, sans-serif;
font-size: 16px;
font-weight: 500;
cursor: pointer;

/* Icons */
img {
width: 32px;
height: 32px;
flex-shrink: 0;
}

/* Hover */
&:hover {
background: #222;
}

/* Keyboard focus */
&:focus-visible {
outline: 3px solid #fff;
outline-offset: 3px;
}
`;

export const ButtonFilled = (props) => {
return (
<ButtonStyled
href={props.link}
target="_blank"
rel="noopener noreferrer"
role="button"
aria-label={props.ariaLabel || props.text}
>
{props.icon && <img src={props.icon} alt="" aria-hidden="true" />}
{props.text}
</ButtonStyled>
);
};
53 changes: 53 additions & 0 deletions src/components/Buttons/ButtonGhost.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import styled from "styled-components";

const ButtonStyled = styled.a`
display: flex;
width: 303px;
height: 48px;
padding: 0 16px;
align-items: center;
justify-content: flex-start;
gap: 16px;
border-radius: 12px;
border: 2px solid #000;
background: #fff;
color: #000;
text-decoration: none;
font-family: Poppins, sans-serif;
font-size: 16px;
font-weight: 500;
cursor: pointer;

/* Icon */
img {
width: 30px;
height: 30px;
flex-shrink: 0;
}

/* Hover */
&:hover {
background: #f2f2f2;
}

/* Keyboard focus */
&:focus-visible {
outline: 3px solid #000;
outline-offset: 3px;
}
`;

export const ButtonGhost = (props) => {
return (
<ButtonStyled
href={props.link}
target="_blank"
rel="noopener noreferrer"
role="button"
aria-label={props.ariaLabel || props.text}
>
{props.icon && <img src={props.icon} alt="" aria-hidden="true" />}
{props.text}
</ButtonStyled>
);
};
19 changes: 19 additions & 0 deletions src/components/FooterAvatar.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import styled from "styled-components";
import avatarFooter from "../Assets/AvatarFooter.png";

const AvatarStyled = styled.img`
width: 164px;
height: 164px;
border-radius: 100px;
`;

const FooterAvatar = () => {
return (
<AvatarStyled
src={avatarFooter}
alt="round portrait with orange background"
/>
);
};

export default FooterAvatar;
Loading