v0.8.0 Add an About me section
This commit is contained in:
parent
5a4c05fcba
commit
a6b174120c
4 changed files with 179 additions and 3 deletions
49
src/components/aboutMe/AboutMe.jsx
Normal file
49
src/components/aboutMe/AboutMe.jsx
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
import React from "react";
|
||||
import styles from "./AboutMe.module.css";
|
||||
|
||||
const AboutMe = () => {
|
||||
return (
|
||||
<section className={styles.aboutMe} id="about">
|
||||
<div className={styles.container}>
|
||||
<h2 className={styles.title}>About Me</h2>
|
||||
<div className={styles.content}>
|
||||
<div className={styles.imageContainer}>
|
||||
<img src="/path-to-your-image.jpg" alt="Your Name" className={styles.image} />
|
||||
<div className={styles.socialLinks}>
|
||||
<a href="https://github.com/yourusername" target="_blank" rel="noopener noreferrer">
|
||||
<i className="fab fa-github"></i>
|
||||
</a>
|
||||
<a href="https://linkedin.com/in/yourprofile" target="_blank" rel="noopener noreferrer">
|
||||
<i className="fab fa-linkedin"></i>
|
||||
</a>
|
||||
<a href="https://twitter.com/yourhandle" target="_blank" rel="noopener noreferrer">
|
||||
<i className="fab fa-twitter"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.textContent}>
|
||||
<h3 className={styles.greeting}>
|
||||
Hey there! I'm <span className={styles.name}>Your Name</span>
|
||||
</h3>
|
||||
<p className={styles.bio}>
|
||||
I'm a passionate software engineer with a love for creating elegant solutions to complex problems. When I'm not coding, you can find me exploring new hiking trails,
|
||||
experimenting with new recipes in the kitchen, or diving into a good sci-fi novel.
|
||||
</p>
|
||||
<div className={styles.interests}>
|
||||
<span className={styles.interestTag}>AI Enthusiast</span>
|
||||
<span className={styles.interestTag}>Open Source Contributor</span>
|
||||
<span className={styles.interestTag}>Tech Blogger</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.bottomSection}>
|
||||
<a href="/path-to-your-resume.pdf" target="_blank" rel="noopener noreferrer" className={styles.resumeLink}>
|
||||
Download Resume (PDF)
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default AboutMe;
|
||||
125
src/components/aboutMe/AboutMe.module.css
Normal file
125
src/components/aboutMe/AboutMe.module.css
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
.aboutMe {
|
||||
padding: 80px 0;
|
||||
background-color: #0e0e0e; /* Dark background to match your theme */
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: var(--content-width);
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.imageContainer {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.image {
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.socialLinks {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.socialLinks a {
|
||||
font-size: 1.5rem;
|
||||
color: #fff;
|
||||
margin: 0 10px;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.socialLinks a:hover {
|
||||
color: #ff6600;
|
||||
}
|
||||
|
||||
.textContent {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.greeting {
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.name {
|
||||
color: #ff6600;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bio {
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 20px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.interests {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.interestTag {
|
||||
display: inline-block;
|
||||
background-color: #ff6600;
|
||||
color: #0e0e0e;
|
||||
padding: 5px 10px;
|
||||
border-radius: 20px;
|
||||
font-size: 0.9rem;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.bottomSection {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.resumeLink {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border: 1px solid #ff6600;
|
||||
border-radius: 5px;
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.resumeLink:hover {
|
||||
background-color: #ff6600;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.content {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.imageContainer {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.socialLinks {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue