-
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.
Merge branch 'develop/fe' into feature/fe/#357
- Loading branch information
Showing
47 changed files
with
1,112 additions
and
168 deletions.
There are no files selected for viewing
54 changes: 47 additions & 7 deletions
54
frontend/src/components/common/FloatingButton/FloatingButton.styled.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,60 @@ | ||
import { css } from "@emotion/react"; | ||
import styled from "@emotion/styled"; | ||
|
||
import theme from "@styles/theme"; | ||
import { PRIMITIVE_COLORS } from "@styles/tokens"; | ||
|
||
export const registerButtonStyle = css` | ||
export const FloatingButtonContainer = styled.div` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
align-items: flex-end; | ||
position: fixed; | ||
right: max(2rem, calc(50% - 48rem / 2 + 2rem)); | ||
right: max(0vw + 2rem, calc(50vw - 22rem)); | ||
bottom: 2rem; | ||
z-index: ${theme.zIndex.floatingButton}; | ||
z-index: ${({ theme }) => theme.zIndex.floatingButton}; | ||
gap: ${({ theme }) => theme.spacing.s}; | ||
`; | ||
|
||
export const SubButtonContainer = styled.div<{ $isOpen: boolean }>` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
width: 15rem; | ||
padding: ${({ theme }) => theme.spacing.l} ${({ theme }) => theme.spacing.m}; | ||
border-radius: ${({ theme }) => theme.spacing.s}; | ||
background-color: ${PRIMITIVE_COLORS.gray[700]}; | ||
gap: ${({ theme }) => theme.spacing.l}; | ||
transition: all 0.3s ease-out; | ||
${({ $isOpen }) => css` | ||
opacity: ${$isOpen ? 1 : 0}; | ||
transform: translateY(${$isOpen ? 0 : 2}rem); | ||
pointer-events: ${$isOpen ? "auto" : "none"}; | ||
`} | ||
`; | ||
|
||
export const MainButtonWrapper = styled.div<{ $isOpen: boolean }>` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 6rem; | ||
height: 6rem; | ||
border-radius: 50%; | ||
box-shadow: 0 2px 4px rgb(0 0 0 / 20%); | ||
background-color: ${theme.colors.primary}; | ||
background-color: ${({ $isOpen, theme }) => | ||
$isOpen ? PRIMITIVE_COLORS.gray[700] : theme.colors.primary}; | ||
transition: transform 0.3s ease-out; | ||
transform: ${({ $isOpen }) => ($isOpen ? "rotate(45deg)" : "rotate(0)")}; | ||
cursor: pointer; | ||
`; | ||
|
||
export const subButtonTextStyle = css` | ||
color: ${PRIMITIVE_COLORS.white}; | ||
`; |
39 changes: 32 additions & 7 deletions
39
frontend/src/components/common/FloatingButton/FloatingButton.tsx
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
frontend/src/components/common/ModalBottomSheet/BackDrop/BackDrop.styled.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
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
13 changes: 10 additions & 3 deletions
13
.../search/fallback/SearchFallback.styled.ts → ...n/SearchFallback/SearchFallback.styled.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
import styled from "@emotion/styled"; | ||
|
||
import { SPACING } from "@styles/tokens"; | ||
|
||
export const Layout = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
height: calc(100vh - 6rem); | ||
gap: ${({ theme }) => theme.spacing.l}; | ||
gap: ${SPACING.l}; | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
width: 100%; | ||
`; | ||
|
||
export const TextContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: ${({ theme }) => theme.spacing.m}; | ||
gap: ${SPACING.m}; | ||
`; |
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
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
21 changes: 11 additions & 10 deletions
21
frontend/src/components/pages/search/SearchPage.styled.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
import styled from "@emotion/styled"; | ||
|
||
import { SPACING } from "@styles/tokens"; | ||
|
||
export const Layout = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
padding: 1.6rem; | ||
gap: ${SPACING.m}; | ||
gap: ${({ theme }) => theme.spacing.s}; | ||
margin-top: ${SPACING.m}; | ||
min-height: calc(100vh - 6rem); | ||
padding: ${SPACING.m}; | ||
`; | ||
|
||
h1 { | ||
${({ theme }) => theme.typography.mobile.title}; | ||
} | ||
export const SearchFallbackWrapper = styled.div` | ||
flex: 1; | ||
position: relative; | ||
`; | ||
|
||
export const MainPageTraveloguesList = styled.ul` | ||
display: flex; | ||
flex-direction: column; | ||
gap: ${({ theme }) => theme.spacing.m}; | ||
`; | ||
|
||
export const MainPageContentContainer = styled.div` | ||
padding-top: 1.6rem; | ||
gap: ${SPACING.m}; | ||
`; |
Oops, something went wrong.