Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
138 changes: 138 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# env
.env
.env.production
env.js

# pem
*.pem
102 changes: 102 additions & 0 deletions board/board.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.article {
display: flex;
flex-direction: column;
gap: 24px;
}

.article__inner {
width: 1200px;
display: flex;
flex-direction: column;
gap: 40px;
}

.article__list--best {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.article__image-container {
display: flex;
width: 72px;
height: 72px;
padding: 13.713px 12px 13.715px 12px;
justify-content: center;
align-items: center;
border-radius: 6px;
border: 1px solid var(--Cool-Gray-200, #e5e7eb);
background: var(--white);
}

.article__image {
width: 48px;
height: 44px;
flex-shrink: 0;
}

.article__list {
display: flex;
flex-direction: column;
gap: 24px;
}

.article__item {
display: flex;
flex-direction: column;
gap: 16px;
}

.article__item--best {
width: 384px;
height: 169px;
border-radius: 8px;
background: var(--gray50);
padding: 0 24px 16px 24px;
position: relative;
display: block;
}

.article__link {
display: flex;
gap: 16px;
align-items: center;
color: var(--gray800);
font-family: Pretendard;
font-size: 20px;
font-weight: 500;
justify-content: space-between;
}

.article__info {
display: flex;
gap: 8px;
color: var(--gray600);
font-family: Pretendard;
font-size: 14px;
font-weight: 400;
justify-content: space-between;
height: 24px;
}

.article__info--best {
position: absolute;
bottom: 16px;
left: 24px;
right: 24px;
}

.article__author {
display: flex;
gap: 8px;
color: var(--gray600);
}

.like-button--article {
font-size: 14px;
color: var(--gray500);
}

.article__date {
color: var(--gray400);
}
128 changes: 128 additions & 0 deletions board/free.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../normalize.css">
<link rel="stylesheet" href="../common.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css" />
<link rel="stylesheet" href="board.css">
<title>자유게시판</title>
</head>

<body>
<header class="header">
<div class="header__inner">
<div class="header__left">
<a class="header__logo-link">
<image src="../images/logo.png" class="header__logo" />
</a>
<ul class="header__menu">
<li class="header__menu-item">
<a href="/board/free.html" class="header__menu-link">자유게시판</a>
</li>
<li class="header__menu-item">
<a href="/market/product.html" class="header__menu-link">중고마켓</a>
</li>
</ul>
</div>
</div>
<button class="header__button">
로그인
</button>
</header>
<div class="background-white">
<main class="main">
<section class="article--best article">
<h3 class="category__title">
베스트 게시글
</h3>
<ul class="article__list--best">
<li class="article__item article__item--best">
<img src="../images//img_badge.png" />
<a href="/board/free/1" class="article__link">
<h4 class="article__title">맥북 16인치 16기가 1테라 정도 사양이면 얼마에 팔아야하나요?</h4>
<div class="article__image-container">
<img src="../images/1.png" class="article__image" />
</div>
</a>
<span class="article__info article__info--best">
<span class="article__author">
총명한 판다
<button class="like-button like-button--article"><img src="../icons/heart.svg" /> 9999+</button>
</span>
<span class="article__date">
2024.04.16
</span>
</span>
</li>
<li class="article__item article__item--best">
<img src="../images//img_badge.png" />
<a href="/board/free/2" class="article__link">
<h4 class="article__title">심심풀이 사주 봐드려요~</h4>
<div class="article__image-container">
<img src="../images/2.png" class="article__image" />
</div>

</a>
</li>
<li class="article__item article__item--best">
<img src="../images//img_badge.png" />
<a href="/board/free/3" class="article__link">
<h4 class="article__title">오늘 모각공하실 분 구합니다~</h4>
<div class="article__image-container">
<img src="../images/3.png" class="article__image" />
</div>
</a>
</li>
</ul>
</section>
<section class="article">
<h3 class="category__title">
게시글
</h3>
<ul class="article__list">
<li class="article__item">
<a href="/board/free/4" class="article__link">
<h4 class="article__title">맥북 16인치 16기가 1테라 정도 사양이면 얼마에 팔아야하나요?</h4>
<div class="article__image-container">
<img src="../images/1.png" class="article__image" />
</div>
</a>
<span class="article__info">
<span class="article__author">
총명한 판다
<span class="article__date">
2024.04.16
</span>
</span>
<button class="like-button like-button--article"><img src="../icons/heart.svg" /> 9999+</button>
</span>
</li>
<li class="article__item">
<a href="/board/free/5" class="article__link">
<h4 class="article__title">심심풀이 사주 봐드려요~</h4>
<div class="article__image-container">
<img src="../images/2.png" class="article__image" />
</div>
</a>
<span class="article__info">
<span class="article__author">
깜찍한 판다
<span class="article__date">
2024.04.16
</span>
</span>
<button class="like-button like-button--article"><img src="../icons/heart.svg" /> 9999+</button>
</span>
</li>
</ul>
</section>
</main>

</div>

</body>

</html>
Loading