Skip to content

Commit

Permalink
Merge pull request #24 from tag-wonder/feat/tags-page-markup
Browse files Browse the repository at this point in the history
  • Loading branch information
saseungmin authored Nov 29, 2023
2 parents bda468d + 156b15a commit 957e76a
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 7 deletions.
46 changes: 46 additions & 0 deletions src/app/tags/index.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
@import "/src/styles/main.scss";

.tagsMainWrapper {
display: flex;
flex-direction: column;
gap: 32px;
padding: 44px 30px 37px 30px;

.nameLabel {
display: flex;
flex-direction: row;
justify-content: center;
user-select: none;

@include text('HS/Heading1');

.labelText {
@include text-color('grey/09');
}

.nameInput {
border: none;
background-color: transparent;
max-width: 85px;
@include text-color('primary/09');

&::placeholder {
color: color('primary/09');
}
}
}

.description {
@include text('Samlip/Title2');

.infoDescription {
white-space: pre-line;

@include text-color('grey/09');
}

.boldDescription {
@include text-color('primary/05');
}
}
}
21 changes: 14 additions & 7 deletions src/app/tags/page.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
import clsx from 'clsx';

import fonts from '../fonts';

import styles from './index.module.scss';

function TagsPage() {
return (
<main>
<main className={styles.tagsMainWrapper}>
<div>
<label htmlFor="name">
์ž‘์„ฑ์ž ์ด๋ฆ„:
<input id="name" type="text" placeholder="์ž…๋ ฅํ•˜์…ˆ" />
<label className={clsx(fonts.hSYuji, styles.nameLabel)} htmlFor="name">
<span className={styles.labelText}>์ž‘์„ฑ์ž ์ด๋ฆ„:</span>
&nbsp;
<input id="name" type="text" className={styles.nameInput} placeholder="์ž…๋ ฅํ•˜์…ˆ" />
</label>
</div>
<div>
<div>
<div className={clsx(fonts.samliphopangche, styles.description)}>
<div className={styles.infoDescription}>
{'์ด๋ฏธ ๋‚จ๊ฒจ์ง„ ํƒœ๊ทธ์ค‘์— ์„ ํƒํ•˜๊ฑฐ๋‚˜,\n๋งˆ์Œ์— ๋“œ๋Š” ํƒœ๊ทธ๊ฐ€ ์—†๋‹ค๋ฉด ์ง์ ‘ ์ž‘์„ฑํ•ด๋ณด์„ธ์š”!'}
</div>
<div>(3๊ฐœ๊นŒ์ง€ ์ถ”๊ฐ€ ๊ฐ€๋Šฅ)</div>
<div className={styles.boldDescription}>(3๊ฐœ๊นŒ์ง€ ์ถ”๊ฐ€ ๊ฐ€๋Šฅ)</div>
</div>
<div>
<div>#tag</div>
Expand Down

0 comments on commit 957e76a

Please sign in to comment.