Skip to content

Commit

Permalink
fixed header positioning on different pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutlope committed Mar 23, 2023
1 parent f64af79 commit 55cca69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pages/buy-credits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export default function Pricing() {
<title>RoomGPT Pricing</title>
</Head>
<Script src="https://js.stripe.com/v3/pricing-table.js" />
<Header photo={session?.user?.image || undefined} />
<Header
photo={session?.user?.image || undefined}
email={session?.user?.email || undefined}
/>
<main className="flex flex-1 w-full flex-col items-center justify-center text-center px-4 mt-12 sm:mb-0 mb-8">
<div className="mx-auto max-w-7xl px-6 lg:px-8">
<div className="mx-auto max-w-4xl text-center">
Expand Down
5 changes: 4 additions & 1 deletion pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export default function Dashboard({ rooms }: { rooms: Room[] }) {
<Head>
<title>RoomGPT Dashboard</title>
</Head>
<Header photo={session?.user?.image || undefined} />
<Header
photo={session?.user?.image || undefined}
email={session?.user?.email || undefined}
/>
<main className="flex flex-1 w-full flex-col items-center justify-center text-center px-4 mt-12 sm:mb-0 mb-8">
<h1 className="mx-auto max-w-4xl font-display text-4xl font-bold tracking-normal text-slate-100 sm:text-6xl mb-5">
View your <span className="text-blue-600">room</span> generations
Expand Down

1 comment on commit 55cca69

@vercel
Copy link

@vercel vercel bot commented on 55cca69 Mar 23, 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.