Skip to content

Commit

Permalink
Reverted: Made pages static
Browse files Browse the repository at this point in the history
  • Loading branch information
SiebeBaree committed Apr 20, 2024
1 parent 051a868 commit 5cfd24c
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/changelog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import ChangelogSection from '@/app/(main)/changelog/ChangelogSection';
import { Changelog } from '@/lib/types';
import PageTitle from '@/components/page-title';

export const dynamic = 'force-static';

export default function ChangelogPage() {
changelog.sort((a: Changelog, b: Changelog) => b.timestamp - a.timestamp);

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/guide/(guides)/faq/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import faqItems from '@/lib/data/faq.json';
import FaqCard from './faq-card';

export const dynamic = 'force-static';

export default function FaqGuide() {
return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { Separator } from '@/components/ui/separator';
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
import Image from 'next/image';

export const dynamic = 'force-static';

export default function GettingStartedGuide() {
return (
<>
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/guide/(guides)/premium/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import Link from 'next/link';

export const dynamic = 'force-static';

export default function PremiumGuide() {
return (
<>
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/guide/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import guides from '@/lib/data/guides.json';
import { Card, CardContent } from '@/components/ui/card';
import { cn } from '@/lib/utils';

export const dynamic = 'force-static';

export default function Guide() {
return (
<main className="container mx-auto px-5">
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/privacy-policy/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import PageTitle from '@/components/page-title';
import SectionWrapper from '@/components/section-wrapper';

export const dynamic = 'force-static';

export default function PrivacyPolicyPage() {
return (
<SectionWrapper>
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/roadmap/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import PageTitle from '@/components/page-title';
import { BotIcon, GlobeIcon, LucideIcon, TriangleAlertIcon } from 'lucide-react';

export const dynamic = 'force-static';

type Roadmap = {
version: string;
plannedRelease?: string;
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/terms-of-use/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import PageTitle from '@/components/page-title';
import SectionWrapper from '@/components/section-wrapper';

export const dynamic = 'force-static';

export default function TermsOfUsePage() {
return (
<SectionWrapper>
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/app/(main)/vote/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { Button } from '@/components/ui/button';
import Image from 'next/image';
import Link from 'next/link';

export const dynamic = 'force-static';

export default function VotePage() {
return (
<main className="container mx-auto px-5">
Expand Down

0 comments on commit 5cfd24c

Please sign in to comment.