Skip to content

Commit 042b4b3

Browse files
authored
Merge pull request #192 from replayio/filip/dev-535-we-should-add-a-more-prominent-cta-in-the-top-right
add log in button
2 parents e03e39e + 19d47eb commit 042b4b3

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/components/Hero.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function Hero() {
2727
<p className="mt-8">
2828
<a
2929
href="/basics/getting-started/record-your-app"
30-
className="rounded-full border-2 border-sky-500 px-4 py-2 text-sky-500 transition-colors hover:bg-blue-500 hover:text-white"
30+
className="rounded-full border-2 border-blue-500 px-4 py-2 text-blue-500 transition-colors hover:bg-blue-500 hover:text-white"
3131
>
3232
Get started with our Quickstart Guide
3333
</a>

src/components/Layout.tsx

+9-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { Navigation } from '@/components/Navigation'
1111
import { Search } from '@/components/Search'
1212
import { ThemeSelector } from '@/components/ThemeSelector'
1313
import { useTheme } from 'next-themes'
14+
import { ReplayLogomark } from './icons/ReplayLogomark'
1415

1516
function GitHubIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
1617
return (
@@ -51,7 +52,7 @@ function Header() {
5152
<div className="-my-5 mr-6 sm:mr-8 md:mr-0">
5253
<Search />
5354
</div>
54-
<div className="relative flex basis-0 justify-end gap-6 sm:gap-8 md:flex-grow">
55+
<div className="relative flex basis-0 justify-end gap-6 sm:gap-8 md:flex-grow items-center">
5556
<ThemeSelector className="relative z-30" />
5657
<Link
5758
href="https://github.com/replayio"
@@ -67,6 +68,13 @@ function Header() {
6768
>
6869
<DiscordIcon className="h-6 w-6 fill-gray-400 group-hover:fill-gray-500 dark:group-hover:fill-gray-300" />
6970
</Link>
71+
<Link
72+
href="https://app.replay.io"
73+
className="group rounded-full border-2 border-blue-500 px-4 py-1 text-blue-500 transition-colors hover:bg-blue-500 hover:text-white lg:block hidden"
74+
aria-label="Replay"
75+
>
76+
Log in
77+
</Link>
7078
</div>
7179
</div>
7280
</div>

0 commit comments

Comments
 (0)