Skip to content

Commit

Permalink
fix(www) Build error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alifarooq9 committed May 22, 2024
1 parent c7bb65a commit 16c8232
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 48 deletions.
3 changes: 0 additions & 3 deletions apps/www/src/app/(marketing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ export default function HomePage() {
</MarketingLayout>
);
}

export const dynamic = "force-static";
export const revalidate = 60 * 60;
6 changes: 0 additions & 6 deletions apps/www/src/components/marketing/announment.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
"use client";

import { Icons } from "@/components/icons";
import { badgeVariants } from "@/components/ui/badge";
import { BorderBeam } from "@/components/ui/border-beam";
import { siteUrls } from "@/config/urls";
import { useBreakpoints } from "@/hooks/use-breakpoints";
import { cn } from "@/lib/utils";
import Link from "next/link";

export function Announcment() {
const breakpoint = useBreakpoints();

return (
<Link
href={siteUrls.marketing.earlyAccess}
className={cn(
badgeVariants({
variant: "outline",
size: breakpoint === "sm" ? "sm" : "default",
className:
"relative transition-all hover:border-primary/30",
}),
Expand Down
2 changes: 2 additions & 0 deletions apps/www/src/components/marketing/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export function Hero() {
fill
objectFit="cover"
objectPosition="top"
placeholder="blur"
blurDataURL="/saasdemo.png"
/>

<BorderBeam size={300} duration={12} delay={16} />
Expand Down
39 changes: 0 additions & 39 deletions apps/www/src/hooks/use-breakpoints.ts

This file was deleted.

0 comments on commit 16c8232

Please sign in to comment.