Skip to content

Commit

Permalink
Remove wrapped banenr
Browse files Browse the repository at this point in the history
  • Loading branch information
omfj committed Jan 29, 2025
1 parent 97900b5 commit 017e62b
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 79 deletions.
Binary file removed apps/web/public/sounds/fein.mp3
Binary file not shown.
Binary file removed apps/web/public/sounds/subway-surfers-theme.mp3
Binary file not shown.
3 changes: 1 addition & 2 deletions apps/web/src/app/(default)/hjem/_components/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const Banner = async () => {
const linkTo = bannerInfo?.linkTo ? bannerInfo.linkTo : "/";
const backgroundColor = bannerInfo?.backgroundColor?.hex ?? "var(--primary)";
const color = bannerInfo?.textColor?.hex ?? "white";

return (
<div>
<div className="block">
Expand All @@ -24,5 +25,3 @@ export const Banner = async () => {
</div>
);
};

export default Banner;
3 changes: 0 additions & 3 deletions apps/web/src/app/(default)/hjem/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { WrappedBanner } from "@/app/(wrapped)/wrapped/components/Banner";
import { Container } from "@/components/container";
import { ensureUser } from "@/lib/ensure";
import { ComingHappenings } from "./_components/coming-bedpres";
Expand All @@ -13,8 +12,6 @@ export default async function Home() {

return (
<>
<WrappedBanner />

<div className="space-y-8 py-24">
<Container layout="larger">
<FPCalendar />
Expand Down
5 changes: 2 additions & 3 deletions apps/web/src/app/(default)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Button } from "@/components/ui/button";
import { createHappeningLink } from "@/lib/create-link";
import { ensureAnonymous } from "@/lib/ensure";
import { fetchHomeHappenings } from "@/sanity/happening";
import { WrappedBanner } from "../(wrapped)/wrapped/components/Banner";
import { Banner } from "./hjem/_components/Banner";

export default async function HomePage() {
await ensureAnonymous({
Expand All @@ -25,8 +25,7 @@ export default async function HomePage() {
return (
<>
<div className="z-10">
<WrappedBanner />
{/* replace with <Banner /> when wrapped done thankyou */}
<Banner />
</div>

{/* Prevents scrolling on the body when the blur logo is outside the viewport // No idea why
Expand Down
35 changes: 0 additions & 35 deletions apps/web/src/app/(wrapped)/wrapped/page.tsx

This file was deleted.

36 changes: 0 additions & 36 deletions apps/web/src/app/(wrapped)/wrapped/prescreen/page.tsx

This file was deleted.

0 comments on commit 017e62b

Please sign in to comment.