Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
898d2f5959 |
@@ -1,4 +1,5 @@
|
|||||||
import Game from '@/components/Game';
|
import Game from '@/components/Game';
|
||||||
|
import NewsSection from '@/components/NewsSection';
|
||||||
import { getOrCreateDailyPuzzle } from '@/lib/dailyPuzzle';
|
import { getOrCreateDailyPuzzle } from '@/lib/dailyPuzzle';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { PrismaClient } from '@prisma/client';
|
import { PrismaClient } from '@prisma/client';
|
||||||
@@ -102,6 +103,7 @@ export default async function GenrePage({ params }: PageProps) {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
<NewsSection />
|
||||||
<Game dailyPuzzle={dailyPuzzle} genre={decodedGenre} />
|
<Game dailyPuzzle={dailyPuzzle} genre={decodedGenre} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import Game from '@/components/Game';
|
import Game from '@/components/Game';
|
||||||
|
import NewsSection from '@/components/NewsSection';
|
||||||
import { getOrCreateSpecialPuzzle } from '@/lib/dailyPuzzle';
|
import { getOrCreateSpecialPuzzle } from '@/lib/dailyPuzzle';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { PrismaClient } from '@prisma/client';
|
import { PrismaClient } from '@prisma/client';
|
||||||
@@ -94,6 +95,7 @@ export default async function SpecialPage({ params }: PageProps) {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<NewsSection />
|
||||||
<Game
|
<Game
|
||||||
dailyPuzzle={dailyPuzzle}
|
dailyPuzzle={dailyPuzzle}
|
||||||
genre={decodedName}
|
genre={decodedName}
|
||||||
|
|||||||
Reference in New Issue
Block a user