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

[Task-01] - Project setup and About block #1

Merged
merged 2 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
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
File renamed without changes.
12 changes: 3 additions & 9 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
import reactLogo from '@/assets/react.svg';

import { AboutComponent } from './components/about/AboutComponent.tsx';
import { HeaderComponent } from './components/header/Header.component.tsx';

import './App.css';
import './App.module.css';

function App() {
return (
<>
<HeaderComponent />
<main className="home">
<h1>
<img src={reactLogo} alt="React logo" />
Home page
</h1>
</main>
<AboutComponent />
</>
);
}
Expand Down
Binary file added src/assets/about.png
IlyaBielov marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions src/components/about/AboutComponent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import aboutImg from '@/assets/about.png';

import AboutCSS from './about.module.css';

export const AboutComponent = () => (
<div className={AboutCSS.container}>
<img className={AboutCSS.img} src={aboutImg} alt="AboutIMG" />
<div className={AboutCSS.text}>
<h1 className={AboutCSS.title}>About me</h1>
<p className={AboutCSS.description}>
Hi! My name is Oleh, and I&apos;m a Junior Frontend Developer. I am already familiar with main Web Technologies like React,
HTML, CSS, JavaScript and Git version control system. <br /> <br />
IlyaBielov marked this conversation as resolved.
Show resolved Hide resolved
This page was developed during the course &apos;
<a href="https://www.mastersacademy.education/frontend-react-it">Intro to React</a>&apos; from Masters Academy in 2024.{' '}
<br /> <br />
This is a social project from MOCG company where I got an opportunity to work with Frontend mentors and to create my own
small project for the portfolio. <br /> <br />
You can contact me via <a href="https://t.me/medushivskyi">Telegram</a> and check out my{' '}
<a href="https://github.com/legogoUA">GitHub</a>.
</p>
</div>
</div>
);
41 changes: 41 additions & 0 deletions src/components/about/about.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.container {
display: flex;
flex-direction: column;
margin: 0 auto;
padding: 50px;
}

.img {
width: 330px;
height: 292px;
border-radius: 30px;
margin-bottom: 20px;
}

.title {
font-size: 2em;
margin-bottom: 10px;
}

.description {
line-height: 1.5;
width: 330px;
}

@media only screen and (min-width: 1280px) {
IlyaBielov marked this conversation as resolved.
Show resolved Hide resolved

.container {
flex-direction: row-reverse;
gap: 75px;
}

.img {
width: 500px;
height: 489px;
margin-top: 70px;
}

.description {
width: 575px;
}
}
Loading