Skip to content

Commit

Permalink
make top-left logo a link to landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconLP committed Jul 17, 2023
1 parent 4253a74 commit 1cf5c60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/pages/share/[videoId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ const VideoList: NextPage = () => {
</Head>
<main className="flex h-screen w-screen flex-col items-center justify-center">
<div className="flex min-h-[62px] w-full items-center justify-between border-b border-solid border-b-[#E7E9EB] bg-white px-6">
<span>Snapify</span>
<Link href="/">
<span>Snapify</span>
</Link>
<div className="flex items-center justify-center">
{video && video.userId === session?.user.id ? (
<>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/videos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ const VideoList: NextPage = () => {
</Head>
<main className="flex h-screen min-h-screen flex-col items-center justify-center bg-gradient-to-b from-[#2e026d] to-[#15162c]">
<div className="flex min-h-[62px] w-full items-center justify-between border-b border-solid border-b-[#E7E9EB] bg-white px-6">
<span>Snapify</span>
<Link href="/">
<span>Snapify</span>
</Link>
<div className="flex flex-row items-center justify-center">
<VideoRecordModal />
<VideoUploadModal />
Expand Down

1 comment on commit 1cf5c60

@vercel
Copy link

@vercel vercel bot commented on 1cf5c60 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.