diff --git a/public/assets/images/landscape.jpeg b/public/assets/images/landscape.jpeg new file mode 100644 index 0000000..08fe94a Binary files /dev/null and b/public/assets/images/landscape.jpeg differ diff --git a/src/components/Projects.jsx b/src/components/Projects.jsx index 5cea386..fdbc113 100644 --- a/src/components/Projects.jsx +++ b/src/components/Projects.jsx @@ -1,7 +1,18 @@ +import SingleProject from "./SingleProject.jsx"; +import "../styles/Projects.css" function Projects() { + const desc = "A platform for creating and sharing code snippets with a clean and intuitive design. It allows you to create, share, and discover code snippets with ease." return (

Projects

+ + + +
+

+ Show more +

+
) } diff --git a/src/components/SingleProject.jsx b/src/components/SingleProject.jsx new file mode 100644 index 0000000..1603a0c --- /dev/null +++ b/src/components/SingleProject.jsx @@ -0,0 +1,32 @@ +import SkillCard from './SkillCard'; +import "../styles/SingleProject.css"; +function SingleProject({image, title, description, skills, color}) { + return ( +
+
+ {image}/ +
+
+ +
+
+

{title}

+

+ {description} +

+ +

+ Learn more +

+
+ +
+ ) +} + + +export default SingleProject \ No newline at end of file diff --git a/src/index.css b/src/index.css index 08a3ac9..1ab2071 100644 --- a/src/index.css +++ b/src/index.css @@ -5,7 +5,7 @@ color-scheme: light dark; color: rgba(255, 255, 255, 0.87); - background-color: #242424; + background-color: #121212; font-synthesis: none; text-rendering: optimizeLegibility; diff --git a/src/styles/Projects.css b/src/styles/Projects.css new file mode 100644 index 0000000..376f3d0 --- /dev/null +++ b/src/styles/Projects.css @@ -0,0 +1,23 @@ +.show-more-container { + text-align: center; + margin-top: 2rem; +} + +.show-more-link { + display: inline-block; + color: #B0B0B0; + border: 1px solid #B0B0B0; + background-color: transparent; + padding: 12px 28px; + border-radius: 8px; + font-weight: 600; + text-decoration: none; + transition: all 0.3s ease; +} + +.show-more-link:hover { + background-color: #B0B0B0; + color: #1E1E1E; + transform: translateY(-3px); + cursor: pointer; +} \ No newline at end of file diff --git a/src/styles/SingleProject.css b/src/styles/SingleProject.css new file mode 100644 index 0000000..a121d57 --- /dev/null +++ b/src/styles/SingleProject.css @@ -0,0 +1,92 @@ +.single-project { + display: flex; + width: 80%; + margin: 2rem auto; + background-color: #1E1E1E; + overflow: hidden; + transition: all 0.3s ease-in-out; + border-radius: 12px; +} + +.single-project:hover { + transform: translateY(-5px); + box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); +} + +.single-project-left { + flex-shrink: 0; + width: 55%; +} + +.single-project-left img { + width: 100%; + height: 100%; + object-fit: cover; + display: block; +} + +.single-project-right { + display: flex; + flex-direction: column; + justify-content: space-between; + padding: 2rem 2rem 2rem 0rem; + align-items: flex-start; +} + +.single-project-title { + font-size: 2rem; + color: #EAEAEA; + margin-top: 0; + margin-bottom: 1rem; +} + +.single-project-description { + color: #B0B0B0; + margin-bottom: 1.5rem; + text-align: justify; +} + +.single-project-skills-list { + display: flex; + flex-wrap: wrap; + list-style: none; + padding: 0; + margin: 0; + gap: 8px; +} + + +.single-project-link { + color: #B0B0B0; + text-decoration: none; + font-weight: 600; +} + +.single-project-link:hover { + cursor: pointer; + color: #EAEAEA; +} + + + +.single-project-middle { + padding: 2rem 0.5rem; +} + +.single-project-line { + border-radius: 38px; + min-width: 1.5rem; + height: 0.25rem; + margin-top: 1.5rem; + margin-left: 2rem; +} + +.color-orange{ + background-color: #D95F46; +} +.color-purple{ + background-color: #a646d9; +} +.color-green{ + background-color: #36a837; +} \ No newline at end of file