feat: add bookmark button to game detail page
This commit is contained in:
@@ -15,6 +15,8 @@ import {
|
|||||||
import { FaSteam } from "react-icons/fa"
|
import { FaSteam } from "react-icons/fa"
|
||||||
import { motion } from "motion/react"
|
import { motion } from "motion/react"
|
||||||
|
|
||||||
|
import { BookmarkButton } from "@/components/saved-games/bookmark-button"
|
||||||
|
|
||||||
// Chart imports
|
// Chart imports
|
||||||
import { HistoricalAreaChart } from "@/components/charts/HistoricalAreaChart"
|
import { HistoricalAreaChart } from "@/components/charts/HistoricalAreaChart"
|
||||||
import { UpscalerBarChart } from "@/components/charts/UpscalerBarChart"
|
import { UpscalerBarChart } from "@/components/charts/UpscalerBarChart"
|
||||||
@@ -357,6 +359,7 @@ export function GamePageClient({
|
|||||||
★ {game.metascore}
|
★ {game.metascore}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
<BookmarkButton gameId={game.id} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* External links */}
|
{/* External links */}
|
||||||
|
|||||||
Reference in New Issue
Block a user