Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOK-13] main page #5

Merged
merged 6 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14,275 changes: 14,275 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions packages/client/src/app/App.scss

This file was deleted.

29 changes: 5 additions & 24 deletions packages/client/src/app/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// import { useEffect } from 'react'

import '@/app/App.scss'
import AuthLayout from '@/layouts/auth-layout'
import PrivateLayout from '@/layouts/private-layout'
import PublicLayout from '@/layouts/public-layout'
import RootLayout from '@/layouts/root-layout'
import AuthLayout from '@/layouts/AuthLayout/AuthLayout'
import PrivateLayout from '@/layouts/PrivateLayout/PrivateLayout'
import PublicLayout from '@/layouts/PublicLayout/PublicLayout'
import RootLayout from '@/layouts/RootLayout/RootLayout'
import { Error } from '@/pages/Error/Error'
import { Forum } from '@/pages/Forum/Forum'
import { Game } from '@/pages/Game/Game'
Expand Down Expand Up @@ -84,23 +81,7 @@ const routerConfig = createBrowserRouter([
])

function App() {
// useEffect(() => {
// const fetchServerData = async () => {
// const url = `http://localhost:${__SERVER_PORT__}`
// const response = await fetch(url)
// const data = await response.json()
// console.log(data)
// }
//
// fetchServerData()
// }, [])
//

return (
<div className={'app-layout'}>
<RouterProvider router={routerConfig} />
</div>
)
return <RouterProvider router={routerConfig} />
}

export default App
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/client/src/assets/images/page-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions packages/client/src/assets/images/site-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/smoke-top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading