Skip to content

Commit

Permalink
updated pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lryanle committed Nov 3, 2023
1 parent 5239ce2 commit 9bf060a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
20 changes: 11 additions & 9 deletions frontend/src/components/layout/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,7 @@ export default function Navbar({
height="28"
alt="statefarm logo"
/>
<button
type="button"
className="inline-flex md:hidden items-center justify-center rounded-md text-gray-700 hover:text-gray-900 focus:outline-none focus:ring-0"
onClick={() => setSidebarOpen(true)}
>
<span className="sr-only">Open sidebar</span>
<Bars3Icon className="h-6 w-6" aria-hidden="true" />
</button>
<div className="flex justify-center items-center gap-2">
{status !== "loading" &&
(session?.user ? (
<Link href={`/${session.user?.name}`} legacyBehavior>
Expand Down Expand Up @@ -67,9 +60,18 @@ export default function Navbar({
: "bg-red-600 hover:bg-white border-red-600"
} w-36 h-8 py-1 text-white hover:text-red-600 border-2 rounded-md text-sm transition-all`}
>
{loading ? <LoadingDots color="gray" /> : "Log in with GitHub"}
{loading ? <LoadingDots color="gray" /> : "Log in"}
</button>
))}
<button
type="button"
className="inline-flex md:hidden items-center justify-center rounded-md text-gray-700 hover:text-gray-900 focus:outline-none focus:ring-0"
onClick={() => setSidebarOpen(true)}
>
<span className="sr-only">Open sidebar</span>
<Bars3Icon className="h-6 w-6" aria-hidden="true" />
</button>
</div>
</nav>
);
}
4 changes: 2 additions & 2 deletions frontend/src/pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default function Custom404() {
<Meta
props={{
...defaultMetaProps,
title: "404 | MongoDB Starter Kit",
ogUrl: "https://mongodb.vercel.app/404",
title: "404 | Statefarm SMARE",
ogUrl: "https://smare.lryanle.com/404",
}}
/>
<h1 className="text-2xl font-light text-white">
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/500.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default function Custom500() {
<Meta
props={{
...defaultMetaProps,
title: "500 | MongoDB Starter Kit",
ogUrl: "https://mongodb.vercel.app/500",
title: "500 | Statefarm SMARE",
ogUrl: "https://smare.lryanle.com/500",
}}
/>
<h1 className="text-2xl font-light text-white">
Expand Down

1 comment on commit 9bf060a

@vercel
Copy link

@vercel vercel bot commented on 9bf060a Nov 3, 2023

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:

seniordesign – ./

seniordesign-lryanle.vercel.app
seniordesign-git-main-lryanle.vercel.app
smare.vercel.app
smare.lryanle.com

Please sign in to comment.