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

Erika's portfolio #378

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
7341b09
First commit
Tejpex Mar 25, 2024
4edce03
Created first components and added display of projects
Tejpex Mar 26, 2024
af8be78
Added tech-section + Started styling
Tejpex Mar 26, 2024
6ca4d32
Worked with styling of projects
Tejpex Mar 26, 2024
d95edd4
Added pictures + Styled buttons
Tejpex Mar 26, 2024
b4b0f2e
Created tag-component
Tejpex Mar 26, 2024
e04abe4
Added picture of myself
Tejpex Mar 27, 2024
d5b4765
Created articles-section
Tejpex Mar 27, 2024
c77903e
Worked with styling
Tejpex Mar 28, 2024
601888d
Added skills-section and divider-line
Tejpex Mar 28, 2024
6c10e29
Moved the project files from subfolder to head folder
Tejpex Mar 28, 2024
4bc251a
Animated arrow
Tejpex Mar 28, 2024
96cd05b
Worked with styling of contact info
Tejpex Mar 28, 2024
d682b8f
Tidied up css-code
Tejpex Mar 28, 2024
8d5dabc
Added footer and social media links + styling
Tejpex Mar 29, 2024
57d9612
Updated link to github-icon
Tejpex Mar 30, 2024
c816ddf
Updated link to web-icon
Tejpex Mar 30, 2024
db12217
Renamed files fo coherence
Tejpex Mar 30, 2024
aad8566
Moved files + changed to grid-layout
Tejpex Mar 30, 2024
9965077
Worked with layout, so npthing goes outside the page
Tejpex Mar 31, 2024
133f78c
Fixed foote-animation
Tejpex Mar 31, 2024
e30d50a
Moved pictures to public-folder
Tejpex Apr 1, 2024
acb2128
Changed profile-picture
Tejpex Apr 1, 2024
e9432d7
Made introduction responsive
Tejpex Apr 1, 2024
7a5b36c
Worked with responsive layout of projects-section
Tejpex Apr 1, 2024
46cf1fd
Made tech-section responsive
Tejpex Apr 1, 2024
eab9158
Worked with responsivness
Tejpex Apr 1, 2024
9b538f1
Styled skills-section
Tejpex Apr 1, 2024
6a71e9a
Changed colors for accessibility
Tejpex Apr 1, 2024
fab67de
Tidied up code
Tejpex Apr 1, 2024
17a1812
Adjusted margins
Tejpex Apr 1, 2024
ffb707b
Tidied up code + worked with responsivness
Tejpex Apr 1, 2024
a5d03c7
Cleaned up code
Tejpex Apr 1, 2024
b416cd3
Made layout of skills-section responsive
Tejpex Apr 1, 2024
6c2a5bf
Styled article-section
Tejpex Apr 1, 2024
374c438
Styling of article-section
Tejpex Apr 2, 2024
6729e32
Made it possible to change color on icons on hover
Tejpex Apr 2, 2024
f60ecde
Fixed bug
Tejpex Apr 2, 2024
f24a4b4
Worked with styling on projects-section
Tejpex Apr 2, 2024
7c67079
Made projects-section responsive
Tejpex Apr 5, 2024
cfc095c
Added project-movies to json
Tejpex Apr 7, 2024
248f875
Added favicon
Tejpex Apr 8, 2024
51886bb
Update with project to-do
Tejpex Apr 12, 2024
c22ee30
Updated presentation + added more projects
Tejpex May 3, 2024
19e95cc
Updated projects and skills
Tejpex Jul 5, 2024
acbb2d6
Fixed styling-issues in project-section
Tejpex Jul 9, 2024
d8ce4ed
Added project + workd with layout
Tejpex Oct 2, 2024
d38f714
Removed double picture + added project
Tejpex Oct 2, 2024
d40e2f1
Updated projects
Tejpex Oct 10, 2024
ddc57d0
Add project-blog
Tejpex Dec 9, 2024
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
21 changes: 21 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Binary file removed Preview-PortfolioWebDev-Technigo.png
Binary file not shown.
49 changes: 6 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,13 @@
<h1 align="center">
<a href="">
<img src="/react-p.svg" alt="Project Banner Image">
</a>
</h1>

# Technigo - React Portfolio Project

Congratulations on completing Sprint 2 of the boot camp! For the final phase, we will now take your skills in React to the next level by building your very own portfolio website using the concepts learned in class

## Instructions
[Check this projects instructions here](https://github.com/Technigo/project-portfolio/blob/main/instructions.md)

## Set up your own version of your portfolio

We will use [Vite](https://vitejs.dev/guide/) to setup our project 😉

```bash
npm create vite@latest my-react-portfolio --template
```

#### Follow this GIF to setup your project

![Alt Text](https://res.cloudinary.com/dfkxydgqg/image/upload/v1691073155/WEB/Sprint-2/week-8/vite-react_vjp0ep.gif)

## Installation

Use the `cd` command to move into the folder

```bash
cd my-react-portfolio
```

Install the dependencies
This is my portfolio.

```bash
npm i
```
For the list of featured projects and the articles I've used json-files because I felt that it would give me more control over the content. Right now I only have one article, but I left some space for more to come and then I could use a similar layout-structure as the one I have for the skills-section, to make it responsive as well.

Open the project in a separate VS Code editor
For this project, I also wanted to practise using different css-files for each component, so I did. But I have also tried to keep the code as clean as possible, which meant going through all the different files and gather things with the same css-rules under the same class-name. The css for these elements can be found in App.css.

```bash
code .
```
If I were to do it all over again, I would analyze the Figma-design more thoroughly in the beginning, since that would help me with the layouting. Now it took a long time to style things that I added at the end of the process, and it was also really hard to debug the code when it was repeated in several different files.

Open up a terminal inside VS code and lets run the project in a local environment
# View it live

```bash
npm run dev
```
https://tejpex.netlify.app/
12 changes: 12 additions & 0 deletions articles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"articles": [
{
"title": "{error message} — How to rise back to the top",
"writtenAt": "March 2024",
"description": "Sometimes you get completely wrapped up in a project. And even though you know you need to take a break, you’re just going to finish this one thing. You imagine it will take ten minutes. Then...",
"image": "https://miro.medium.com/v2/resize:fit:1400/format:webp/1*v7ebRGwaIIQSnDbSKW73Vg.jpeg",
"altText": "Sunrise by the water",
"link": "https://medium.com/@erikaellerekki/error-message-how-to-rise-back-to-the-top-19ee8e6a4ecc"
}
]
}
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/ico" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<title>Tejpex portfolio</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
14 changes: 5 additions & 9 deletions instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

The portfolio will be a great test of your React, HTML and CSS skills but we will also take the opportunity to get started with accessibility and build websites for everyone -- something every frontend developer should know. Don't save until the last day to do the testing -- it's very much the task of this project and will take some time.

<img src="https://github.com/Technigo/project-portfolio/blob/main/Preview-PortfolioWebDev-Technigo.png" alt="" />

We've created a [portfolio design](https://www.figma.com/file/ZMIWBimuoSDHXp7CdtkrA3/Web-Dev-Portfolio-%7C-new-version?type=design&node-id=1862-60&mode=design&t=clNc4tmMHa8uA3GO-0) for you that you should follow. You are free to change:

- the colours (find inspiration on [ColorHunt](https://colorhunt.co/) or [Adobe](https://color.adobe.com/create/color-wheel/))
Expand Down Expand Up @@ -48,7 +46,7 @@ Make it super clear how a person can contact you. Again, add the social media li

## Tips on how to work with this project

- Begin with forking and cloning the repo as usual. Since there is no starter code this week, you must create it by utilising [Vite](https://www.notion.so/Vite-15cd27c673d14033a1aae2d63dd37b04?pvs=21) → `npm create vite@latest my-portfolio --template`
- Begin with forking and cloning the repo as usual. Since there is no starter code this week, you must create it by utilising [Vite](https://www.notion.so/Vite-15cd27c673d14033a1aae2d63dd37b04?pvs=21) → `npm create vite@latest my-portfolio --template`
- Before starting the coding, consider what components you need and break the design into reusable and manageable pieces. Has your team already created some components during the team session? Great—use them!
- Consider how you will get the data, e.g. the projects and articles. Do you want to go with JSON files all the way (see `projects.json` as an example), or do you want to go with the stretch goal that uses the GitHub API to get all projects?
- When picking colours, remember to consider accessibility so that the contrast is sufficient.
Expand All @@ -58,16 +56,14 @@ Make it super clear how a person can contact you. Again, add the social media li

To use the icons from the design, simply mark the icon you want to export and save it as an SVG or copy the code and make it into a component.

<img src="https://file.notion.so/f/f/5fa017c8-3fef-4115-8b2f-0177cad64ebc/454c9efe-8e85-4d1e-82d6-9e0192ddf7cb/ezgif.com-video-to-gif.gif?id=254d5f1b-7b4d-4be4-9b6c-5b4c58e34311&table=block&spaceId=5fa017c8-3fef-4115-8b2f-0177cad64ebc&expirationTimestamp=1711029600000&signature=oMN5Aa34q-2H8bPHYUxLiyG0ox4AwdT0bDz_hHoyjyg&downloadName=ezgif.com-video-to-gif.gif" alt="" />

## Requirements

- Your portfolio should have components and props
- Your portfolio should have components and props
- Your portfolio should contain:
- A picture of you.
- A picture of you.
- A presentation of your tech skills.
- A presentation of your projects linking to GitHub and Netlify.
- A presentation of some thoughts that you have around code.
- A presentation of your projects linking to GitHub and Netlify.
- A presentation of some thoughts that you have around code.
- A clear way to get in contact with you.
- Your portfolio should follow the design as closely as possible
- Your portfolio should be responsive (it should look good on devices from 320px width up to 1600px)
Expand Down
Loading