Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/src/FloatingMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ export const FloatingMenu = () => {
<FloatingMenuLink to="/sign-in" text={t`Sign In`} />
)}

{!isLoggedIn() && (
<FloatingMenuLink to="/create-user" text={t`Create Account`} />
)}

<Divider
borderWidth="2px"
borderColor="accent"
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/TopBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export const TopBanner = (props) => {
to="/"
variant="primary hover"
mx={1}
px={{base:1, md:3}}
fontSize={{ base: 'xs', md: 'md' }}
px={3}
display={{ base: 'none', md: 'inline' }}
onClick={() => {
logout()
toast({
Expand All @@ -66,8 +66,8 @@ export const TopBanner = (props) => {
variant="primary white"
to="/sign-in"
mx={1}
px={{base:1, md:3}}
fontSize={{ base: 'xs', md: 'md' }}
px={3}
display={{ base: 'none', md: 'inline' }}
>
<Trans>Sign In</Trans>
</TrackerButton>
Expand All @@ -79,8 +79,8 @@ export const TopBanner = (props) => {
variant="primary hover"
to="/create-user"
mx={1}
px={{base:1, md:3}}
fontSize={{ base: 'xs', md: 'md' }}
px={3}
display={{ base: 'none', md: 'inline' }}
>
<Trans>Create Account</Trans>
</TrackerButton>
Expand Down