-
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.
Merge pull request #118 from jamalsoueidan/wizard-business-account
Wizard business account
- Loading branch information
Showing
62 changed files
with
2,950 additions
and
1,034 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import {Flex, Image, rem, Title, UnstyledButton} from '@mantine/core'; | ||
import {Link} from '@remix-run/react'; | ||
import {useLanguage} from '~/hooks/useLanguage'; | ||
import logo from '/Artboard4.svg'; | ||
|
||
export function Logo({close}: {close: () => void}) { | ||
const language = useLanguage(); | ||
|
||
return ( | ||
<UnstyledButton component={Link} to="/" onClick={close}> | ||
<Title | ||
order={1} | ||
component={Flex} | ||
lh="xs" | ||
fz={rem(28)} | ||
fw="500" | ||
data-testid="logo-login" | ||
> | ||
{language !== 'AR' ? ( | ||
<> | ||
ByS | ||
<Image src={logo} alt="it's me" h="auto" w="8px" mx="2px" /> | ||
sters | ||
</> | ||
) : ( | ||
<> | ||
باي | ||
<Image src={logo} alt="it's me" h="auto" w="8px" mx="2px" /> | ||
سيستر | ||
</> | ||
)} | ||
</Title> | ||
</UnstyledButton> | ||
); | ||
} |
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 was deleted.
Oops, something went wrong.
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.