Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoe's portfolio #387

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
folders' structure
  • Loading branch information
zoe-lindqvist committed Oct 31, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit caf83504fd9e471e8bab8074797383b7e2e91e70
7 changes: 6 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
//import "./App.css";
//import { IntroductionCard } from "./components/IntroductionCard";
import { Body } from "/src/sections/body/Body";

export const App = () => {
return <></>;
return (
<>
<Body />
</>
);
};
3 changes: 3 additions & 0 deletions src/assets/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
6 changes: 6 additions & 0 deletions src/components/progressBar/progressBar.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import "./progressBar.css";

// eslint-disable-next-line react/prop-types
export const ProgressBar = ({ progress }) => {
return <div className="progressBar" style={{ width: `${progress}%` }}></div>;
};
Empty file.
Empty file.
113 changes: 113 additions & 0 deletions src/sections/body/Body.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
@import url("https://fonts.googleapis.com/css2?family=Hind:wght@400;600&family=Montserrat:wght@600;700&display=swap");

/* ------------ OVERALL ------------ */
:root {
/* General settings */
font-family: var(--paragraph-font);
font-weight: 400;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}

/* ------------ TYPOGRAPHY ------------ */

h1,
h2,
h3,
h4 {
font-family: var(--heading-font);
}

h1 {
font-size: 56px;
}

h2 {
font-size: 32px;
}

h1,
h2 {
font-weight: 700;
}

h3 {
font-size: 24px;
font-weight: 600;
}

h4 {
font-size: 18px;
font-weight: 600;
}

p {
font-size: 18px;
}

/* ------------ ARROW ------------ */
.arrow-container {
padding: 0 16px 64px 16px;
display: flex;
justify-content: center;
align-items: center;
/* Animation to make the arrow move */
position: relative;
top: 0;
/* Animation is animated here */
animation: arrowJump 1s infinite;
}

/* ------------ MEDIA QUERIES ------------ */
/* ------------ Tablet and up ------------ */
@media (min-width: 744px) {
h1,
h2 {
font-size: 56px;
}

h3 {
font-size: 32px;
}

h4 {
font-size: 32px;
}
}

/* ------------ Tablet only ------------ */
@media (max-width: 1279px) and (min-width: 744px) {
h3 {
font-size: 24px;
}

h4 {
font-size: 32px;
}
}

/* ------------ Desktop only ------------ */
@media (min-width: 1280px) {
h1,
h2 {
font-size: 80px;
}

h3 {
font-size: 32px;
}
}

@keyframes arrowJump {
0%,
100% {
transform: translateY(0);
}

50% {
transform: translateY(20px);
}
}
2 changes: 1 addition & 1 deletion src/sections/body/Body.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "./body.css";
import { useState, useEffect } from "react";
import { useRef } from "react";
import { ProgressBar } from "/src/components/progress-bar/ProgressBar";
import { ProgressBar } from "/src/components/progressBar/ProgressBar";
import { Header } from "/src/sections/header/Header";
import { Tech } from "/src/sections//tech/Tech";
import { Projects } from "/src/sections//projects/Projects";
Empty file added src/sections/footer/Footer.css
Empty file.
Empty file added src/sections/footer/Footer.jsx
Empty file.
Empty file.
Empty file added src/sections/header/Header.css
Empty file.
Empty file added src/sections/header/Header.jsx
Empty file.
Empty file.
Empty file.
Empty file added src/sections/skills/Skills.css
Empty file.
Empty file added src/sections/skills/Skills.jsx
Empty file.
Empty file added src/sections/tech/Tech.css
Empty file.
Empty file added src/sections/tech/Tech.jsx
Empty file.