Skip to content

Commit

Permalink
Merge pull request #11 from Timur233/SOK-21_start-game-page
Browse files Browse the repository at this point in the history
[SOK-21] start game page
  • Loading branch information
Timur233 authored Oct 3, 2024
2 parents af09e99 + 1ea0f72 commit 2b4debc
Show file tree
Hide file tree
Showing 41 changed files with 1,577 additions and 3,019 deletions.
1,557 changes: 58 additions & 1,499 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/png" href="/favicon.png" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand All @@ -15,6 +15,7 @@
</head>
<body>
<div id="root"></div>
<div id="modal-root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Binary file added packages/client/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions packages/client/public/sprite.symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion packages/client/public/vite.svg

This file was deleted.

8 changes: 7 additions & 1 deletion packages/client/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { Thread } from '@/pages/Thread/Thread'
import { Leaderboard } from '@/pages/Leaderboard/Leaderboard'
import { Profile } from '@/pages/Profile/Profile'
import { ChangePassword } from '@/pages/Profile/ChangePassword'
import { SvgSprite } from '@/components/ui/SvgSprite/SvgSprite'

const routerConfig = createBrowserRouter([
{
Expand Down Expand Up @@ -75,7 +76,12 @@ const routerConfig = createBrowserRouter([
])

function App() {
return <RouterProvider router={routerConfig} />
return (
<>
<RouterProvider router={routerConfig} />
<SvgSprite url={'/sprite.symbol.svg'} />
</>
)
}

export default App
Binary file added packages/client/src/assets/images/game-info.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/client/src/assets/images/ground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/client/src/assets/images/loader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2b4debc

Please sign in to comment.