-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3072a2
commit 3d4ed87
Showing
3 changed files
with
27 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
import { LoginIcon } from "src/components/graphics/LoginIcon"; | ||
import { Link } from "src/theme/components/Link"; | ||
|
||
export function LoginAction() { | ||
import { StyleProps } from "@/styled-system/types"; | ||
|
||
export function LoginAction(props: StyleProps) { | ||
return ( | ||
<Link href="/login" kind="secondary" size="sm" {...props}> | ||
Login | ||
</Link> | ||
); | ||
} | ||
|
||
export function RegisterAction(props: StyleProps) { | ||
return ( | ||
<Link href="/register" kind="ghost" size="sm" p="0"> | ||
<LoginIcon width="1.5em" /> | ||
<Link href="/register" kind="primary" size="sm" {...props}> | ||
Register | ||
</Link> | ||
); | ||
} |
9 changes: 5 additions & 4 deletions
9
web/src/components/site/Navigation/Sidebar/components/Title.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import Link from "next/link"; | ||
import { PropsWithChildren } from "react"; | ||
|
||
import { Heading } from "src/theme/components"; | ||
import { styled } from "@/styled-system/jsx"; | ||
|
||
export function Title({ children }: PropsWithChildren) { | ||
return ( | ||
<Heading size="sm" role="navigation" wordBreak="keep-all"> | ||
{children} | ||
</Heading> | ||
<styled.h1 fontSize="lg" fontWeight="bold" wordBreak="keep-all"> | ||
<Link href="/">{children}</Link> | ||
</styled.h1> | ||
); | ||
} |
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
3d4ed87
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:
storyden-homepage – ./home
storyden-homepage-southclaws.vercel.app
storyden-homepage.vercel.app
storyden.org
storyden-homepage-git-main-southclaws.vercel.app
www.storyden.org
3d4ed87
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:
storyden – ./web
storyden-git-main-southclaws.vercel.app
storyden-southclaws.vercel.app
demo.storyden.org
storyden.vercel.app