data.js
0.00MB
index.css
0.01MB

App.css ์ญ์ ํ๊ณ
App.jsx ์์ ๋ด์ฉ ๋น์ฐ๊ธฐ
https://www.figma.com/file/XtVr3JRCGWyZESYxd9EhZK/Contentful?node-id=2%3A8&mode=dev
Figma
Created with Figma
www.figma.com
์ด์ ๊ฐ์ด ๋ง๋ค ์์

Hero.jsx์ Projects.jsx ๋ง๋ฌ


<section className="hero">
<div className="hero-center">
<div className="hero-title">
<h1>React Projects</h1>
<p>
Single-origin coffee deep v sus small batch. Gorpcore vape
lumbersexual normcore four dollar toast drinking vinegar. Twee 90's
taiyaki small batch bitters, bespoke jianbing leggings marxism
keytar pabst adaptogen mixtape tumblr stumptown. DSA twee iceland
tacos swag tote bag. Solarpunk man bun fingerstache retro pinterest.
</p>
</div>
<div className="img-container">
<img src={heroImg} alt="woman and the browser" className="img" />
</div>
</div>
</section>
https://undraw.co/illustrations
Illustrations | unDraw
The design project with open-source illustrations for any idea you can imagine and create. Create beautiful websites, products and applications with your color, for free.
undraw.co
๋ฅผ ํตํด์ ํ๋ก์ ํธ์ ์ด์ธ๋ฆฌ๋ ์ด๋ฏธ์ง๋ฅผ ์ฐพ๋๋ค.
svgํ์ผ์ ๋ฃ์


<section className='projects'>
<div className='title'>
<h2>projects</h2>
<div className='title-underline'></div>
</div>
<div className='projects-center'>
<a href='./assets/birthday.png' target='_blank' rel='noreferrer' className='project'>
<img src={p1} alt='birthday buddy' className='img' />
<h5>birthday buddy</h5>
</a>
<a href='./assets/birthday.png' target='_blank' rel='noreferrer' className='project'>
<img src={p1} alt='birthday buddy' className='img' />
<h5>birthday buddy</h5>
</a>
<a href='./assets/birthday.png' target='_blank' rel='noreferrer' className='project'>
<img src={p1} alt='birthday buddy' className='img' />
<h5>birthday buddy</h5>
</a>
<a href='./assets/birthday.png' target='_blank' rel='noreferrer' className='project'>
<img src={p1} alt='birthday buddy' className='img' />
<h5>birthday buddy</h5>
</a>
</div>
</section>
map์ ์ฌ์ฉํด์ data์ ๋ชจ๋ ๋ด์ฉ๋ค์ ๋ถ๋ฌ์จ๋ค.
import React from "react";
import { projects } from "./data";
const Projects = () => {
return (
<section className="projects">
<div className="title">
<h2>projects</h2>
<div className="title-underline"></div>
</div>
<div className="projects-center">
{projects.map((project) => (
<a
href={project.url}
target="_blank"
rel="noreferrer"
className="project"
>
<img src={project.image} alt="birthday buddy" className="img" />
<h5>{project.title}</h5>
</a>
))}
</div>
</section>
);
};
export default Projects;

'FRONTEND > React' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [๊นํ๋ธ ์ฑ] ๊นํ๋ธ API ๋ก ์ ์ ๊ฒ์ (0) | 2023.11.30 |
|---|---|
| [๊นํ๋ธ ์ฑ] ์ ํ๋ก์ ํธ ์์, ํ ์ผ์๋ ์ค์น ๋ฐ ๊ฐ ์ปดํฌ๋ํธ ์์ฑ (0) | 2023.11.30 |
| [HTML ๋ณํ] HTML -> REACT ๋ณํ 2 (1) | 2023.11.28 |
| [HTML๋ณํ] HTML -> REACT ๋ณํํ๊ธฐ (1) | 2023.11.28 |
| [์ฟ ํน๋ ์ํผ] ๋ฐฐํฌํ๊ธฐ (1) | 2023.11.27 |