-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: adjust UI for mobile devices
- Loading branch information
Showing
26 changed files
with
357 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { useTheme } from "~/styles/theme/themeContext"; | ||
|
||
type Props = { | ||
color?: string; | ||
size?: number; | ||
}; | ||
|
||
export default function ChatIcon({ color, size }: Props) { | ||
const { theme } = useTheme(); | ||
|
||
const width = size ? size + "px" : "24px"; | ||
const height = size ? size + "px" : "24px"; | ||
|
||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M8 10.5H16" | ||
stroke={color ? color : theme.primary} | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
d="M8 14H13.5" | ||
stroke={color ? color : theme.primary} | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
d="M17 3.33782C15.5291 2.48697 13.8214 2 12 2C6.47715 2 2 6.47715 2 12C2 13.5997 2.37562 15.1116 3.04346 16.4525C3.22094 16.8088 3.28001 17.2161 3.17712 17.6006L2.58151 19.8267C2.32295 20.793 3.20701 21.677 4.17335 21.4185L6.39939 20.8229C6.78393 20.72 7.19121 20.7791 7.54753 20.9565C8.88837 21.6244 10.4003 22 12 22C17.5228 22 22 17.5228 22 12C22 10.1786 21.513 8.47087 20.6622 7" | ||
stroke={color ? color : theme.primary} | ||
stroke-width="1.5" | ||
stroke-linecap="round" | ||
/> | ||
</svg> | ||
); | ||
} |
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,42 @@ | ||
import { useTheme } from "~/styles/theme/themeContext"; | ||
|
||
type Props = { | ||
color?: string; | ||
size?: number; | ||
}; | ||
|
||
export default function MenuIcon({ color, size }: Props) { | ||
const { theme } = useTheme(); | ||
|
||
const width = size ? size + "px" : "24px"; | ||
const height = size ? size + "px" : "24px"; | ||
|
||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M4 18L20 18" | ||
stroke={color ? color : theme.primary} | ||
stroke-width="2" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
d="M4 12L20 12" | ||
stroke={color ? color : theme.primary} | ||
stroke-width="2" | ||
stroke-linecap="round" | ||
/> | ||
<path | ||
d="M4 6L20 6" | ||
stroke={color ? color : theme.primary} | ||
stroke-width="2" | ||
stroke-linecap="round" | ||
/> | ||
</svg> | ||
); | ||
} |
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
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
Oops, something went wrong.