-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(land): 새로운 렌딩페이지 레이아웃 적용 #259
Merged
Merged
Changes from 31 commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
28834db
chore(land): upgrade Next.js version from 14 to 15
Jeong-Ag 6a03005
chore(land): set font and directory
Jeong-Ag 8742239
feat(land): set layout with navbar and footer
Jeong-Ag 4494db8
refactor(land): change directory structure
Jeong-Ag f9aa35f
feat(land): create sidebar and add icon package
Jeong-Ag 2000166
style(land): add font and update font directory structure
Jeong-Ag 38f8210
feat(land): create text slider component
Jeong-Ag 940d670
feat(land): create home page first section
Jeong-Ag 8802018
fix(land): change page export
Jeong-Ag 18977b0
refactor(land): use function declaration and change tag
Jeong-Ag 49bd4c9
refactor(land): remove 'use client' and replace button with next/link
Jeong-Ag f6b8a3c
refactor(land): update nav and sidebar to client-side rendering
Jeong-Ag aed5c79
refactor(land): replace <a> tag with Next.js <Link> components
Jeong-Ag 0bb7e93
chore(land): add font file
Jeong-Ag 39ea95a
refactor(land): use Section component for layout separation
Jeong-Ag 8d8dbda
feat(land): create home page second Section
Jeong-Ag e670ca7
feat(land): create home page third section without animation
Jeong-Ag a39ba7c
chore(land): delete misplaced font file
Jeong-Ag 9713ed7
feat(land): create home page fourth section
Jeong-Ag 5101905
refactor(land): add dynamic class selection
Jeong-Ag b152ce1
feat(land): create home fifth section
Jeong-Ag 9de2de6
feat(land): create last section, add support detail
Jeong-Ag 1803ce4
style(land): hidden horizontal scroll
Jeong-Ag 545af81
style(land): apply word break keep, adjust layout
Jeong-Ag 94debbf
feat(land): change value section responsive view
Jeong-Ag e6eb9e8
style(land): add scroll and flip animations to value section
Jeong-Ag 9408913
refactor(land): change sidebar position from right to top, add dark b…
Jeong-Ag eeeae67
style(land): set background image on last section
Jeong-Ag 3dbced9
Merge branch 'main' into feature/181
Jeong-Ag 54eebe5
chore(land): add eslint dependencies
Jeong-Ag 9582f5a
fix(land): change code formate
Jeong-Ag 29c37d4
refactor(land): apply tailwind css @layers
Jeong-Ag c650eb7
refactor(land): home page code splitting
Jeong-Ag e5b3310
feat(land): create review section
Jeong-Ag 07334a1
feat(land): create part section
Jeong-Ag 0ec01ae
refactor(land, member): minor code improvements
Jeong-Ag 520dc5e
style(land): enhance layout and styling
Jeong-Ag b28ad83
refactor(land): replace URL with const, add code to remove warning
Jeong-Ag 9b18e41
feat(member): add home data
Jeong-Ag 7fcc630
chore(land): add `dayjs`, set custom color
Jeong-Ag dfb8c7b
feat(land): create apply process
Jeong-Ag acbc77e
feat(land): create recruitment notice table view
Jeong-Ag 086dc77
feat(land): recruitment API integration
Jeong-Ag afa9047
feat(land): create FAQ view
Jeong-Ag e1170c6
feat(land): create now apply view
Jeong-Ag 5ba650b
refactor(land): change apply path name
Jeong-Ag 3489f39
feat(land): create apply form
Jeong-Ag 5cfa8a4
feat(land): create error, not-found page
Jeong-Ag d9e6e3d
refactor(land): change recruitment type
Jeong-Ag 12b1f04
refactor(land): change text on error page
Jeong-Ag 9758a13
feat(land): create application detail page
Jeong-Ag f18ce7c
feat(land): create application result check page
Jeong-Ag e069d88
chore(land): add `react-toastify`
Jeong-Ag f7fa666
feat(land): apply toast to the layout
Jeong-Ag 183f548
feat(land): create application form
Jeong-Ag 0d2cd9c
feat(land): put FAQSection data
Jeong-Ag 79a9e99
chore(land): set up access to the image on the server
Jeong-Ag 6929027
feat(land): create ask page
Jeong-Ag 3a22b2c
refactor(land): change review card design with image
Jeong-Ag 85e0cd6
feat(land): add ChannelTalk
Jeong-Ag 26b6478
refactor(land): add string utils and change interface with using extends
Jeong-Ag 104cba7
style(land): adjust layout and change component color
Jeong-Ag f8c8ced
refactor(land): check recruitment status and display appropriate mess…
Jeong-Ag 087cd7d
feat(land): create apply check section
Jeong-Ag aecb89b
refactor(land): use type and constant to improve application form
Jeong-Ag 47ee72a
feat(land): add picture, replaced `ActivityCard` components with `Act…
Jeong-Ag 29441b3
refactor(land): change responsive layout, delete `scroll={false}` in …
Jeong-Ag f779a55
Merge branch 'main' into feature/181
gwansikk c6ff3ff
chore: update
gwansikk 5ce8787
fix: 버튼 색상
gwansikk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { cn } from '@clab-platforms/utils'; | ||
|
||
import Image from 'next/image'; | ||
|
||
interface ActivityCardProps { | ||
title: string; | ||
image: string; | ||
className?: string; | ||
} | ||
|
||
export default function ActivityCard({ | ||
title, | ||
image, | ||
className, | ||
}: ActivityCardProps) { | ||
return ( | ||
<div | ||
className={cn('lg:max-w-1/3 w-full space-y-2 overflow-hidden', className)} | ||
> | ||
<p className="text-3xl font-bold">{title}</p> | ||
<Image | ||
className="rounded-md object-cover" | ||
width={560} | ||
height={420} | ||
src={image} | ||
alt={title} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { cn } from '@clab-platforms/utils'; | ||
|
||
interface ValueCircleProps { | ||
keyword: string; | ||
description: string; | ||
className?: string; | ||
} | ||
|
||
export default function ValueCircle({ | ||
keyword, | ||
description, | ||
className, | ||
}: ValueCircleProps) { | ||
return ( | ||
<div className={cn('flip-container', className)}> | ||
<div className="flip"> | ||
<p className="text-clab-light-blue front text-3xl font-bold"> | ||
{keyword} | ||
</p> | ||
<p className="back flex flex-col p-6 text-xl"> | ||
<span className="mb-4 text-3xl font-extrabold">{keyword}</span> | ||
{description} | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export { default as TextSlider } from './TextSlider'; | ||
export { default as ValueCircle } from './ValueCircle'; | ||
export { default as ActivityCard } from './ActivityCard'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as useScrollAnimation } from './useScrollAnimation'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { useEffect, useState } from 'react'; | ||
|
||
export default function useScrollAnimation(targetClass: string) { | ||
const [isVisible, setIsVisible] = useState(false); | ||
|
||
useEffect(() => { | ||
const handleScroll = () => { | ||
const element = document.querySelector(`.${targetClass}`); | ||
if (!element) return; // 요소가 없으면 반환 | ||
const direction = element.getBoundingClientRect(); | ||
const isInScreen = | ||
direction.top < window.innerHeight - 300 && direction.bottom >= 0; | ||
|
||
if (isInScreen) { | ||
setIsVisible(true); | ||
} else { | ||
setIsVisible(false); | ||
} | ||
}; | ||
|
||
window.addEventListener('scroll', handleScroll); | ||
handleScroll(); | ||
|
||
return () => { | ||
window.removeEventListener('scroll', handleScroll); | ||
}; | ||
}, [targetClass]); | ||
|
||
return isVisible; | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
프로젝트에서 tailwindcss를 쓰고 있는데 따로 tailwind 속성 사용 대신 이런식으로 정의하신 이유가 있을까요?
tailwind의 @layers 키워드를 통해서 사용해보시는건 어떨까 싶어요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앗 layers를 사용해서 묶을 수 있겠네요! 수정하도록 할게요 감사합니다 😃