Removed the Product Hunt Banner but kept it commented out for later
This commit is contained in:
@@ -10,7 +10,8 @@ export function AppLayout({
|
||||
}) {
|
||||
if (impersonationId) {
|
||||
return (
|
||||
<div className="grid h-full w-full grid-rows-[2rem_2rem_3rem_auto_2rem]">
|
||||
<div className="grid h-full w-full grid-rows-[2rem_3rem_auto_2rem]">
|
||||
{/* <div className="grid h-full w-full grid-rows-[2rem_2rem_3rem_auto_2rem]"> */}
|
||||
<ImpersonationBanner impersonationId={impersonationId} />
|
||||
{children}
|
||||
</div>
|
||||
@@ -18,7 +19,8 @@ export function AppLayout({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="grid h-full w-full grid-rows-[2rem_3rem_auto_2rem]">
|
||||
// <div className="grid h-full w-full grid-rows-[3rem_auto_2rem]">
|
||||
<div className="grid h-full w-full grid-rows-[3rem_auto_2rem]">
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
@@ -26,7 +28,8 @@ export function AppLayout({
|
||||
|
||||
export function PublicAppLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="grid h-full w-full grid-rows-[2rem_auto_auto_2rem]">
|
||||
<div className="grid h-full w-full grid-rows-[5rem_auto_2rem]">
|
||||
{/* <div className="grid h-full w-full grid-rows-[2rem_auto_auto_2rem]"> */}
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -39,15 +39,13 @@ export const loader = async ({ request }: LoaderArgs) => {
|
||||
);
|
||||
};
|
||||
|
||||
const INTERCOM_APP_ID = "pfbctmiv";
|
||||
|
||||
export default function App() {
|
||||
const { impersonationId } = useTypedLoaderData<typeof loader>();
|
||||
|
||||
return (
|
||||
<AppLayout impersonationId={impersonationId}>
|
||||
<NoMobileOverlay />
|
||||
<ProductHuntBanner />
|
||||
{/* <ProductHuntBanner /> */}
|
||||
<Header />
|
||||
<AppBody>
|
||||
<Outlet />
|
||||
|
||||
@@ -42,7 +42,7 @@ export default function Public() {
|
||||
|
||||
return (
|
||||
<LayoutComponent>
|
||||
<ProductHuntBanner />
|
||||
{/* <ProductHuntBanner /> */}
|
||||
{loaderData.userId ? <Header /> : <MarketingHeader />}
|
||||
<AppBody>
|
||||
<Outlet />
|
||||
|
||||
Reference in New Issue
Block a user