-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename & fix: 라운지 -> 메인, 메인 랜딩으로 디렉토리 변경 (#971)
* rename: main -> landing 디렉터리 변경 * rename: lounge -> main 디렉터리 변경 * fix: 행사 목록 클릭하면 행사로 넘어가도록 수정 * fix: in progress check 20자 넘칠 때 깨지지 않게 설정
- Loading branch information
1 parent
ececd32
commit 43cdffb
Showing
49 changed files
with
194 additions
and
182 deletions.
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
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
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
2 changes: 1 addition & 1 deletion
2
client/src/pages/main/MainPage.style.ts → ...nt/src/pages/landing/LandingPage.style.ts
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,39 @@ | ||
import Image from '@components/Design/components/Image/Image'; | ||
import useRequestGetUserInfo from '@hooks/queries/user/useRequestGetUserInfo'; | ||
|
||
import usePageBackground from '@hooks/usePageBackground'; | ||
|
||
import getImageUrl from '@utils/getImageUrl'; | ||
|
||
import Nav from './Nav/Nav'; | ||
import {MainSection} from './Section/MainSection'; | ||
import {DescriptionSection} from './Section/DescriptionSection'; | ||
import {FeatureSection} from './Section/FeatureSection'; | ||
import {backgroundImageStyle, backgroundStyle, landingContainer} from './LandingPage.style'; | ||
import CreatorSection from './Section/CreatorSection/CreatorSection'; | ||
|
||
const LandingPage = () => { | ||
const {isVisible} = usePageBackground(); | ||
const {userInfo} = useRequestGetUserInfo(); | ||
const {isGuest} = userInfo; | ||
|
||
return ( | ||
<div css={landingContainer}> | ||
<Nav isGuest={isGuest} /> | ||
<MainSection isGuest={isGuest} /> | ||
<DescriptionSection /> | ||
<FeatureSection /> | ||
<CreatorSection /> | ||
<div css={backgroundStyle}> | ||
<Image | ||
css={backgroundImageStyle(isVisible)} | ||
src={getImageUrl('mainSectionBackground', 'webp')} | ||
alt="" | ||
fallbackSrc={getImageUrl('mainSectionBackground', 'png')} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default LandingPage; |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 LandingPage} from './LandingPage'; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.