Skip to content

Commit

Permalink
Disable hover effect, test API routes
Browse files Browse the repository at this point in the history
  • Loading branch information
42A7C5 committed Dec 17, 2023
1 parent 42e131b commit 90bc94d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
output: 'export',
}

module.exports = nextConfig
12 changes: 12 additions & 0 deletions pages/api/Platform/Generative/ChatResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { NextApiRequest, NextApiResponse } from 'next'

type ResponseData = {
message: string
}

export default function handler(
req: NextApiRequest,
res: NextApiResponse<ResponseData>
) {
res.status(200).json({ message: 'Hello from Next.js!' })
}
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function Home(props: any) {
)
return (
<Link key={game.id} href={`/play/${game.id}`}>
<Atropos key={game.id} className='game' rotate={true}>
<Atropos key={game.id} className='game' rotate={false}>
<img
className='game-bgart'
src={game.art.background}
Expand Down

0 comments on commit 90bc94d

Please sign in to comment.