Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Nov 16, 2024

๐Ÿ“Œ Related Issue

#4

๐Ÿ“ Description

  • ํ—ค๋”, ๋ฉ”์ธ, ํ‘ธํ„ฐ ์ผ๋ถ€ ์ž‘์—…

๐Ÿ“ธ Screenshot

๋žœ๋”ฉํŽ˜์ด์ง€ ์ง„ํ–‰ ๊ณต์œ 
)

๐Ÿ“ข Notes

+๋กœ๊ณ  ๋™์  ์Šคํƒ€์ผ๋ง ํ•ด๋ณด๊ณ  ์‹ถ์–ด์„œ SVG ์ปดํฌ๋„ŒํŠธ ๋ณ€ํ™˜ > @svgr/webpack ์ถ”๊ฐ€
+๋žœ๋”ฉ ํŽ˜์ด์ง€ png ํŒŒ์ผ ์ผ๋ถ€ ์ถ”๊ฐ€
+Image ์ปดํฌ๋„ŒํŠธ ์‚ฌ์šฉ์œผ๋กœ png ํŒŒ์ผ ์ถ”๊ฐ€

-๋ฐ˜๋ณต ์ฝ”๋“œ ์ปดํฌ๋„ŒํŠธ ๋ถ„๋ฆฌ ์˜ˆ์ •
-๋กœ๊ทธ์ธ ๋ฒ„ํŠผ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ ์˜ˆ์ •

  • ๋ฉ”์ธ ์„น์…˜ ์ค‘ Taskify ํ…์ŠคํŠธ svg ์ปดํฌ๋„ŒํŠธ๋กœ ๊ต์ฒด ์˜ˆ์ • (๊ทธ๋ƒฅ ํ•ด๋ณด๊ณ  ์‹ถ์Œ)

! ์ค„๋ฐ”๊ฟˆ ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• ์ฐพ๋Š” ์ค‘

@ghost ghost added the ๐ŸŽจHTML&CSS Issues or tasks specifically related to HTML structure or CSS styling label Nov 16, 2024
@ghost ghost self-assigned this Nov 16, 2024
@ghost ghost linked an issue Nov 16, 2024 that may be closed by this pull request
3 tasks
Copy link
Collaborator

@devmanta devmanta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฒซPR ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค~~!! ๐Ÿค—
๋‚˜๋ฆ„ ๋น ๋ฅด๊ฒŒ(?) ์˜ฌ๋ ค์ฃผ์…”์„œ ๋ฆฌ๋ทฐ ์••๋ฐ• ๋œํ–ˆ์Šต๋‹ˆ๋‹ค~~!ใ…‹ใ…‹ใ…‹

gap: 28px;
margin-bottom: 110px;
align-items: center;
line-height: 90px;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line-height๋Š” ์•„๋งˆ ์˜ํ–ฅ์—†์„ํ…๋ฐ ์—†์–ด๋„ ๋˜๋Š”๊ฑฐ๋ฉด์€ ์‚ญ์ œํ•ด๋„ ์ข‹์„๊ฒƒ๊ฐ™์Šต๋‹ˆ๋‹ค~

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํ…์ŠคํŠธ ์˜์—ญ์ด ๊ฐ๊ฐ ํฐํŠธ๊ฐ€ ๋‹ฌ๋ผ์„œ ์ˆ˜์ง ์ •๋ ฌ์ด ์–ด๋ ต๋”๋ผ๊ณ ์š”. ์ž„์‹œ๋กœ padding + line-height๋กœ ๊ตฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค.

"lint:ci": "next lint --config .eslintrc.ci.json"
},
"dependencies": {
"@svgr/webpack": "^8.1.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑฐ๋Š” ๋‹จ์ˆœ svg ํŒŒ์ผ ์“ฐ๋ ค๊ณ  ์ถ”๊ฐ€ํ•œ๊ฑด๊ฐ€์š”..?!

Copy link
Collaborator

@devmanta devmanta Nov 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์•„ PR๋…ธํŠธ์— ๋™์ ๋กœ๊ณ ..?ํ•ด๋ณด๊ณ ์‹ถ์–ด์„œ ๋„ฃ์œผ์‹ ๊ฑฐ๊ตฐ์—ฌ..!
๊ทผ๋ฐ..๋กœ๊ณ  ๋™์ ? ๊ทธ๊ฒŒ ๋ญ์—์š”....(โ€ขโ€ข)(โ€ขโ€ข)?! ์‹ ๋ฐ•ํ•œ๊ฑด๊ฐ€์š”

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

svg fill ์†์„ฑ์ด ํ•˜๋“œ์ฝ”๋”ฉ ๋˜์–ด์žˆ์–ด์„œ fill ์†์„ฑ ๋‚ ๋ฆฌ๊ณ  ๋™์ ์œผ๋กœ ์Šคํƒ€์ผ๋ง ํ•ด๋ณด๋ ค๊ณ  ํ•จ ๋„ฃ์–ด๋ดค์–ด์š”

src/app/page.tsx Outdated
@@ -1,5 +1,141 @@
'use client';

import styles from './page.module.css';
Copy link
Collaborator

@devmanta devmanta Nov 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑฐ ์ €์™€ ๊ฐ™์€ ์‚ฝ์งˆ์ƒํ™ฉ์„ ๋ฐฉ์ง€ํ•˜๊ณ ์ž ๋งจ๋งˆ์ง€๋ง‰์— importํ•˜๋Š”๊ฒƒ์„ ์ถ”์ฒœ๋“œ๋ฆฝ๋‹ˆ๋‹ค..! feat. ์ง€์›๋‹˜ ๋ง์”€: styles import ๋งจ๋งˆ์ง€๋ง‰ ์ƒํ™œํ™”

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ใ…‹ใ…‹ ๋ฌด์Šจ ์ด์Šˆ๊ฐ€...๋ฐœ์ƒํ•œ ๊ฑฐ์ฃ ? ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋”

src/app/page.tsx Outdated
<div className={styles.page}>
<header className={styles.header}>
<Link href="/" aria-label="ํ™ˆ์œผ๋กœ ์ด๋™">
<Logo className={styles.logo} alt="๋กœ๊ณ " />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋Ÿฐ๊ฒƒ๋„ next์—์„œ ์ œ๊ณตํ•ด์ฃผ๋Š” Image ์‚ฌ์šฉํ•ด์„œ ์จ๋„ ๋ ๊ฒƒ๊ฐ™์€๋ฐ ๋”ฐ๋กœ Logo๋กœ importํ•˜์‹  ์ด์œ ๊ฐ€์žˆ์œผ์‹ ๊ฐ€์š”~?
next์—์„œ ์ œ๊ณตํ•ด์ฃผ๋Š” Image์“ฐ๋ฉด ์•„๋งˆ ์• ๋“ค์ด ์•Œ์•„์„œ ์ตœ์ ํ™” ํ•ด์ฃผ๋Š”๊ฑธ๋กœ ์•Œ๊ณ ์žˆ์Šต๋‹ˆ๋‹ค..!

src/app/page.tsx Outdated
width={722}
height={423}
alt="์ผ์ • ๊ด€๋ฆฌ ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜"
loading="eager"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์–˜๋Š” ๋ญํ•˜๋Š”์นœ๊ตฌ์ธ๊ฐ€์š”..!?
Next/Image๋ฅผ ์‚ฌ์šฉํ•˜๊ฒŒ ๋˜๋ฉด ์ž๋™์œผ๋กœ lazy loading์ด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค. ๋ฌผ๋ก  ์ค‘์š”ํ•œ ์ด๋ฏธ์ง€ ์ผ๋ถ€์— lazy loading์„ ์ ์šฉํ•˜๊ณ  ์‹ถ์ง€ ์•Š์€ ๊ฒฝ์šฐ์—๋Š” ํ•ด๋‹น ๊ธฐ๋Šฅ์„ ๋Œ ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. Image ์ปดํฌ๋„ŒํŠธ์˜ priority๋ผ๋Š” prop์„ true๋กœ ์„ค์ •ํ•˜๊ฑฐ๋‚˜, loading prop์— โ€œeagerโ€ ๊ฐ’์„ ์„ค์ •ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. priorty ๊ฐ’์„ ์„ค์ •ํ•˜๋Š” ๊ฒƒ์ด ๋” ๊ถŒ์žฅ๋˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.
๋ญ”์ง€ ๋ชฐ๋ผ์„œ ์ž ๊น ๊ฒ€์ƒ‰ํ•ด๋ดฃ๋Š”๋ฐ ์—ฌ๊ธฐ์— ์œ„์™€ ๊ฐ™์€ ๋‚ด์šฉ์ด ์žˆ๋”๋ผ๊ตฌ์š” (์ €๋Š” ์ž˜๋ชฐ๋ผ์„œ..)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฒซ ํ™”๋ฉด์— ๋ณด์ด๋Š” ์„น์…˜์ด๋ผ์„œ eager๋กœ lazy loading์„ ๊ป์Šต๋‹ˆ๋‹ค. ๊ทธ๋ƒฅ ์ƒ๋ฐ˜๋˜๋Š” ์†์„ฑ ๊ฐ™์•„์š”. priorty๋กœ ์šฐ์„ ์ˆœ์œ„ ๋†’์ด๋Š” ๋ฐฉ์‹์œผ๋กœ ๋ฐ”๊ฟ”๋ณผ๊ฒŒ์š”.

src/app/page.tsx Outdated
priority={true}
/>
</div>

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋Ÿฐ ์—”ํ„ฐ๋“ค์€ ๊ธฐ์ค€์ด ์ฃผ๊ด€์ ์ด๋ผ์„œ ๊ฐœ์ธ์ ์œผ๋ก  ์—”ํ„ฐ๋Š” ์—†์—ˆ์œผ๋ฉด ์ข‹๊ฒ ์ง€๋งŒ....๐Ÿ˜…

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑด ํ™”๋ฉด์—์„œ ๋ณด๋ฉด ํšŒ์ƒ‰ ์•„์ด์ฝ˜์ธ๋ฐ ๊ฒ€์€์ƒ‰์œผ๋กœ ๋ฐ”๊พธ๊ณ  ๋”ฐ๋กœ ์ƒ‰์ƒ์ฒ˜๋ฆฌ๋ฅผ ํ•˜์‹ ...๊ฑธ๊นŒ์š”?

Copy link
Owner

@najitwo najitwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฒซ PR ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค. ๐Ÿ‘
@svgr/webpack ๋กœ๋” ์ถ”๊ฐ€ํ•˜์‹ ๊ฑฐ ์ข‹๋„ค์š”
๋‚˜์ค‘์— hover ์ธํ„ฐ๋ ‰์…˜๋„ ์ถ”๊ฐ€ ํ•˜์‹œ๋ฉด ์ข‹์„ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค.
page ์ปดํฌ๋„ŒํŠธ ์ค‘๊ฐ„์ค‘๊ฐ„์— ๋ถˆํ•„์š”ํ•œ ๊ณต๋ฐฑ์ด ๋ณด์ด๋Š” ๊ฒƒ ๊ฐ™์€๋ฐ
์˜๋„ํ•œ๊ฒŒ ์•„๋‹ˆ์‹œ๋ผ๋ฉด ์ง€์›Œ์ฃผ์…จ์œผ๋ฉด ํ•ฉ๋‹ˆ๋‹ค..!

@najitwo najitwo changed the title 4 feat add layout for landing page [feat] add layout for landing page Nov 16, 2024
@ghost ghost added the โœจFeature Request for a new feature or functionality label Nov 17, 2024
@ghost ghost merged commit 2c630a1 into develop Nov 17, 2024
1 check passed
ghost pushed a commit that referenced this pull request Nov 18, 2024
* โœจ feat: add header, main and footer sections

* โœจ feat: add logo to header

* โœจ feat: add links to header

* ๐Ÿ› fix: resolve import error of SVG components

* โœจ feat: remove till attribute for dynamic styling of icon SVG

* ๐Ÿ”ง chore: add PNG fallback for unoptimized SVG in Image component

* โœจ feat: add images for landing page

* โœจ feat: add header and footer layout

* โœจ feat: add part of the main section

* ๐Ÿ› fix: change any type to specific type in svg module

* โ™ป๏ธ refactor: add responsive image component

* ๐Ÿ”ง chore: add montserrat font to main section

* โœจ feat: add custom logo svg component

* โ™ป๏ธ refactor: add card component

* ๐Ÿ”ง chore: add images for landing page

* โœจ feat: add card components

* โœจ feat: add UI elements for landing page
najitwo pushed a commit that referenced this pull request Nov 18, 2024
* โœจ feat: add header, main and footer sections

* โœจ feat: add logo to header

* โœจ feat: add links to header

* ๐Ÿ› fix: resolve import error of SVG components

* โœจ feat: remove till attribute for dynamic styling of icon SVG

* ๐Ÿ”ง chore: add PNG fallback for unoptimized SVG in Image component

* โœจ feat: add images for landing page

* โœจ feat: add header and footer layout

* โœจ feat: add part of the main section

* ๐Ÿ› fix: change any type to specific type in svg module

* โ™ป๏ธ refactor: add responsive image component

* ๐Ÿ”ง chore: add montserrat font to main section

* โœจ feat: add custom logo svg component

* โ™ป๏ธ refactor: add card component

* ๐Ÿ”ง chore: add images for landing page

* โœจ feat: add card components

* โœจ feat: add UI elements for landing page
ghost pushed a commit that referenced this pull request Nov 19, 2024
* โ™ป๏ธ refactor: improve layout and components structure

* โœจ [feat] add layout for landing page (#12)

* โœจ feat: add header, main and footer sections

* โœจ feat: add logo to header

* โœจ feat: add links to header

* ๐Ÿ› fix: resolve import error of SVG components

* โœจ feat: remove till attribute for dynamic styling of icon SVG

* ๐Ÿ”ง chore: add PNG fallback for unoptimized SVG in Image component

* โœจ feat: add images for landing page

* โœจ feat: add header and footer layout

* โœจ feat: add part of the main section

* ๐Ÿ› fix: change any type to specific type in svg module

* โ™ป๏ธ refactor: add responsive image component

* ๐Ÿ”ง chore: add montserrat font to main section

* โœจ feat: add custom logo svg component

* โ™ป๏ธ refactor: add card component

* ๐Ÿ”ง chore: add images for landing page

* โœจ feat: add card components

* โœจ feat: add UI elements for landing page

* โ™ป๏ธ refactor: improve layout and components structure
@ghost ghost deleted the 4-feat-add-layout-for-landing-page branch November 22, 2024 16:36
najitwo pushed a commit that referenced this pull request Nov 23, 2024
* โ™ป๏ธ refactor: improve layout and components structure

* โœจ [feat] add layout for landing page (#12)

* โœจ feat: add header, main and footer sections

* โœจ feat: add logo to header

* โœจ feat: add links to header

* ๐Ÿ› fix: resolve import error of SVG components

* โœจ feat: remove till attribute for dynamic styling of icon SVG

* ๐Ÿ”ง chore: add PNG fallback for unoptimized SVG in Image component

* โœจ feat: add images for landing page

* โœจ feat: add header and footer layout

* โœจ feat: add part of the main section

* ๐Ÿ› fix: change any type to specific type in svg module

* โ™ป๏ธ refactor: add responsive image component

* ๐Ÿ”ง chore: add montserrat font to main section

* โœจ feat: add custom logo svg component

* โ™ป๏ธ refactor: add card component

* ๐Ÿ”ง chore: add images for landing page

* โœจ feat: add card components

* โœจ feat: add UI elements for landing page

* โ™ป๏ธ refactor: improve layout and components structure
najitwo pushed a commit that referenced this pull request Nov 23, 2024
* โ™ป๏ธ refactor: improve layout and components structure

* โœจ [feat] add layout for landing page (#12)

* โœจ feat: add header, main and footer sections

* โœจ feat: add logo to header

* โœจ feat: add links to header

* ๐Ÿ› fix: resolve import error of SVG components

* โœจ feat: remove till attribute for dynamic styling of icon SVG

* ๐Ÿ”ง chore: add PNG fallback for unoptimized SVG in Image component

* โœจ feat: add images for landing page

* โœจ feat: add header and footer layout

* โœจ feat: add part of the main section

* ๐Ÿ› fix: change any type to specific type in svg module

* โ™ป๏ธ refactor: add responsive image component

* ๐Ÿ”ง chore: add montserrat font to main section

* โœจ feat: add custom logo svg component

* โ™ป๏ธ refactor: add card component

* ๐Ÿ”ง chore: add images for landing page

* โœจ feat: add card components

* โœจ feat: add UI elements for landing page

* โ™ป๏ธ refactor: improve layout and components structure
najitwo pushed a commit that referenced this pull request Nov 23, 2024
* โœจ feat: add header, main and footer sections

* โœจ feat: add logo to header

* โœจ feat: add links to header

* ๐Ÿ› fix: resolve import error of SVG components

* โœจ feat: remove till attribute for dynamic styling of icon SVG

* ๐Ÿ”ง chore: add PNG fallback for unoptimized SVG in Image component

* โœจ feat: add images for landing page

* โœจ feat: add header and footer layout

* โœจ feat: add part of the main section

* ๐Ÿ› fix: change any type to specific type in svg module

* โ™ป๏ธ refactor: add responsive image component

* ๐Ÿ”ง chore: add montserrat font to main section

* โœจ feat: add custom logo svg component

* โ™ป๏ธ refactor: add card component

* ๐Ÿ”ง chore: add images for landing page

* โœจ feat: add card components

* โœจ feat: add UI elements for landing page
najitwo pushed a commit that referenced this pull request Nov 23, 2024
* โ™ป๏ธ refactor: improve layout and components structure

* โœจ [feat] add layout for landing page (#12)

* โœจ feat: add header, main and footer sections

* โœจ feat: add logo to header

* โœจ feat: add links to header

* ๐Ÿ› fix: resolve import error of SVG components

* โœจ feat: remove till attribute for dynamic styling of icon SVG

* ๐Ÿ”ง chore: add PNG fallback for unoptimized SVG in Image component

* โœจ feat: add images for landing page

* โœจ feat: add header and footer layout

* โœจ feat: add part of the main section

* ๐Ÿ› fix: change any type to specific type in svg module

* โ™ป๏ธ refactor: add responsive image component

* ๐Ÿ”ง chore: add montserrat font to main section

* โœจ feat: add custom logo svg component

* โ™ป๏ธ refactor: add card component

* ๐Ÿ”ง chore: add images for landing page

* โœจ feat: add card components

* โœจ feat: add UI elements for landing page

* โ™ป๏ธ refactor: improve layout and components structure
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

โœจFeature Request for a new feature or functionality ๐ŸŽจHTML&CSS Issues or tasks specifically related to HTML structure or CSS styling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] add layout for landing page

2 participants