diff --git a/client/pages/gameforge/GameForgeViewPortfolio.tsx b/client/pages/gameforge/GameForgeViewPortfolio.tsx index be4b4e86..1efbaa02 100644 --- a/client/pages/gameforge/GameForgeViewPortfolio.tsx +++ b/client/pages/gameforge/GameForgeViewPortfolio.tsx @@ -1,95 +1,55 @@ import Layout from "@/components/Layout"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; -import { useState } from "react"; -import { Gamepad2, Filter, Star, Users, TrendingUp } from "lucide-react"; +import { Card, CardContent } from "@/components/ui/card"; +import { Star, Download, Calendar, Users, ArrowRight } from "lucide-react"; import { useNavigate } from "react-router-dom"; -interface Game { - id: number; - title: string; - creator: string; - genre: "Action" | "Puzzle" | "Adventure" | "RPG" | "Casual"; - image: string; - plays: number; - rating: number; - releaseDate: string; -} - -const FEATURED_GAMES: Game[] = [ - { - id: 1, - title: "Pixel Quest Adventure", - creator: "Alex Dev Studios", - genre: "Adventure", - image: "https://via.placeholder.com/300x200/22c55e/000000?text=Pixel+Quest", - plays: 15400, - rating: 4.8, - releaseDate: "2024-01", - }, - { - id: 2, - title: "Logic Maze Pro", - creator: "Puzzle Labs", - genre: "Puzzle", - image: "https://via.placeholder.com/300x200/22c55e/000000?text=Logic+Maze", - plays: 12300, - rating: 4.6, - releaseDate: "2024-01", - }, - { - id: 3, - title: "Battle Royale X", - creator: "Epic Creators", - genre: "Action", - image: "https://via.placeholder.com/300x200/22c55e/000000?text=Battle+Royale", - plays: 28900, - rating: 4.9, - releaseDate: "2023-12", - }, - { - id: 4, - title: "Mystic Realms RPG", - creator: "Story Crafters", - genre: "RPG", - image: "https://via.placeholder.com/300x200/22c55e/000000?text=Mystic+Realms", - plays: 9200, - rating: 4.7, - releaseDate: "2023-12", - }, - { - id: 5, - title: "Casual Match", - creator: "Fun Games Co", - genre: "Casual", - image: "https://via.placeholder.com/300x200/22c55e/000000?text=Casual+Match", - plays: 45600, - rating: 4.5, - releaseDate: "2023-11", - }, - { - id: 6, - title: "Speedrun Challenge", - creator: "Speed Demons", - genre: "Action", - image: "https://via.placeholder.com/300x200/22c55e/000000?text=Speedrun", - plays: 18700, - rating: 4.8, - releaseDate: "2023-11", - }, -]; - -const GENRES = ["All", "Action", "Puzzle", "Adventure", "RPG", "Casual"]; -const SORT_OPTIONS = ["Trending", "Most Played", "Highest Rated", "Newest"]; - export default function GameForgeViewPortfolio() { const navigate = useNavigate(); - const [selectedGenre, setSelectedGenre] = useState("All"); - const [sortBy, setSortBy] = useState("Trending"); - const filteredGames = FEATURED_GAMES.filter( - (game) => selectedGenre === "All" || game.genre === selectedGenre - ); + const games = [ + { + title: "Battle Royale X", + releaseDate: "December 2024", + genre: "Action", + players: "50K+", + rating: 4.7, + downloads: "145K", + revenue: "$85K", + team: "10 devs, 2 designers", + }, + { + title: "Casual Match", + releaseDate: "November 2024", + genre: "Puzzle", + players: "100K+", + rating: 4.5, + downloads: "320K", + revenue: "$125K", + team: "6 devs, 1 designer", + }, + { + title: "Speedrun Challenge", + releaseDate: "October 2024", + genre: "Action", + players: "35K+", + rating: 4.8, + downloads: "98K", + revenue: "$52K", + team: "8 devs, 1 designer", + }, + { + title: "Story Adventure", + releaseDate: "September 2024", + genre: "Adventure", + players: "28K+", + rating: 4.6, + downloads: "76K", + revenue: "$38K", + team: "12 devs, 3 designers", + }, + ]; return ( @@ -101,8 +61,7 @@ export default function GameForgeViewPortfolio() {
- {/* Header */} -
+
- ))} -
-
- -
- - -
- +

+ Released Games +

+

+ Games shipped by GameForge. See player stats, revenue, and team sizes from our monthly releases. +

- {/* Games Grid */} -
+
-
- {filteredGames.map((game) => ( -
+ {games.map((game, idx) => ( + -
- {game.title} -
- - {game.genre} - -
-
+ +
+
+

+ {game.title} +

+ + {game.genre} + +

+ {game.releaseDate} +

+
-
-
-

- {game.title} -

-

- by {game.creator} -

-
+
+

+ PLAYERS +

+

+ {game.players} +

+

+ active +

+
-
-
- - - {(game.plays / 1000).toFixed(1)}K - - - - {game.rating} - +
+

+ RATING +

+

+ {game.rating} +

+

+ {game.downloads} downloads +

+
+ +
+

+ REVENUE +

+

+ {game.revenue} +

+

+ {game.team} +

+
+ +
+
- - -
-
+ + ))}
- {/* Submit CTA */}

- Built Something Amazing? + Games in Development

- Submit your game to our gallery and showcase your work to - thousands of players. + View the current production pipeline and upcoming releases.

-