-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Create responsive question menu (#145)
Co-authored-by: Rohan Gupta <rohan.gupta@gameskraft.com> Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
1 parent
19983b7
commit 7b06f2d
Showing
33 changed files
with
348 additions
and
184 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
14 changes: 8 additions & 6 deletions
14
src/screens/Error/index.tsx → src/components/Error/index.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React from 'react'; | ||
import { motion } from 'framer-motion'; | ||
import { COLORS } from '../../constants/theme'; | ||
import { ICON_PATH_VARIANTS } from '../../constants'; | ||
|
||
const Menu: React.FC<IconProps> = (props) => { | ||
const { color = COLORS.WHITE, height = 24, width = 24 } = props; | ||
|
||
return ( | ||
<motion.svg | ||
initial='hidden' | ||
animate='visible' | ||
xmlns='http://www.w3.org/2000/svg' | ||
width={width} | ||
height={height} | ||
viewBox='0 0 24 24' | ||
strokeWidth='2.5' | ||
stroke={color} | ||
fill='none' | ||
strokeLinecap='round' | ||
strokeLinejoin='round' | ||
> | ||
<path stroke='none' d='M0 0h24v24H0z' fill='none' /> | ||
<motion.path variants={ICON_PATH_VARIANTS} d='M4 6l16 0' /> | ||
<motion.path variants={ICON_PATH_VARIANTS} d='M4 12l16 0' /> | ||
<motion.path variants={ICON_PATH_VARIANTS} d='M4 18l16 0' /> | ||
</motion.svg> | ||
); | ||
}; | ||
|
||
export default Menu; |
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.
7b06f2d
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.
Successfully deployed to the following URLs:
frontend-expert-dqpi – ./
frontend-expert-dqpi.vercel.app
frontend-expert-dqpi-demondaddy22.vercel.app
frontend-expert-dqpi-git-master-demondaddy22.vercel.app