diff --git a/frontend/casino/package.json b/frontend/casino/package.json index 92d230c..4e229a1 100644 --- a/frontend/casino/package.json +++ b/frontend/casino/package.json @@ -18,12 +18,14 @@ "@mui/material": "^5.14.19", "@nextui-org/react": "^1.0.0-beta.10", "@stitches/react": "^1.2.8", + "autoprefixer": "^10.4.16", "eslint-plugin-mobx": "^0.0.9", "framer-motion": "^10.16.12", "jdenticon": "^3.2.0", "luxon": "^3.4.4", "mobx": "^6.12.0", "mobx-react-lite": "^4.0.5", + "postcss": "^8.4.32", "react": "^18.2.0", "react-aria": "^3.30.0", "react-datepicker": "^4.24.0", @@ -34,6 +36,7 @@ "react-stately": "^3.28.0", "reseter.css": "^2.0.0", "swagger-typescript-api": "^12.0.2", + "tailwindcss": "^3.3.6", "viem": "^1.12.1", "wagmi": "1.4.2" }, diff --git a/frontend/casino/postcss.config.js b/frontend/casino/postcss.config.js new file mode 100644 index 0000000..2e7af2b --- /dev/null +++ b/frontend/casino/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/frontend/casino/src/App.tsx b/frontend/casino/src/App.tsx index 6f837e6..e79214c 100644 --- a/frontend/casino/src/App.tsx +++ b/frontend/casino/src/App.tsx @@ -1,7 +1,7 @@ import { RouterProvider } from 'react-router-dom' -import { router } from './app/pages/router.tsx' import { Providers } from './providers.tsx' +import {router} from "./app/pages/router.tsx"; export const App = function App() { return ( diff --git a/frontend/casino/src/UIkit/index.ts b/frontend/casino/src/app/UIkit/index.ts similarity index 100% rename from frontend/casino/src/UIkit/index.ts rename to frontend/casino/src/app/UIkit/index.ts diff --git a/frontend/casino/src/components/App/AppLayout/AppLayout.tsx b/frontend/casino/src/app/components/App/AppLayout/AppLayout.tsx similarity index 100% rename from frontend/casino/src/components/App/AppLayout/AppLayout.tsx rename to frontend/casino/src/app/components/App/AppLayout/AppLayout.tsx diff --git a/frontend/casino/src/components/App/AppLayout/index.ts b/frontend/casino/src/app/components/App/AppLayout/index.ts similarity index 100% rename from frontend/casino/src/components/App/AppLayout/index.ts rename to frontend/casino/src/app/components/App/AppLayout/index.ts diff --git a/frontend/casino/src/app/components/App/AppNav/AppNav.tsx b/frontend/casino/src/app/components/App/AppNav/AppNav.tsx new file mode 100644 index 0000000..f922d6c --- /dev/null +++ b/frontend/casino/src/app/components/App/AppNav/AppNav.tsx @@ -0,0 +1,7 @@ +export const AppNav = () => { + return ( +
+ Header +
+ ); +}; \ No newline at end of file diff --git a/frontend/casino/src/app/components/App/AppNav/index.ts b/frontend/casino/src/app/components/App/AppNav/index.ts new file mode 100644 index 0000000..7cc3f79 --- /dev/null +++ b/frontend/casino/src/app/components/App/AppNav/index.ts @@ -0,0 +1 @@ +export * from './AppNav.tsx' diff --git a/frontend/casino/src/components/App/Footer/Footer.tsx b/frontend/casino/src/app/components/App/Footer/Footer.tsx similarity index 50% rename from frontend/casino/src/components/App/Footer/Footer.tsx rename to frontend/casino/src/app/components/App/Footer/Footer.tsx index 70420c8..54a0411 100644 --- a/frontend/casino/src/components/App/Footer/Footer.tsx +++ b/frontend/casino/src/app/components/App/Footer/Footer.tsx @@ -1,7 +1,7 @@ export const Footer = () => { return ( -
- +
+ Footer
); }; \ No newline at end of file diff --git a/frontend/casino/src/app/components/App/Footer/index.ts b/frontend/casino/src/app/components/App/Footer/index.ts new file mode 100644 index 0000000..be74a53 --- /dev/null +++ b/frontend/casino/src/app/components/App/Footer/index.ts @@ -0,0 +1 @@ +export * from './Footer.tsx' diff --git a/frontend/casino/src/components/App/index.ts b/frontend/casino/src/app/components/App/index.ts similarity index 100% rename from frontend/casino/src/components/App/index.ts rename to frontend/casino/src/app/components/App/index.ts diff --git a/frontend/casino/src/hooks/index.ts b/frontend/casino/src/app/hooks/index.ts similarity index 100% rename from frontend/casino/src/hooks/index.ts rename to frontend/casino/src/app/hooks/index.ts diff --git a/frontend/casino/src/hooks/useDOMRef.ts b/frontend/casino/src/app/hooks/useDOMRef.ts similarity index 100% rename from frontend/casino/src/hooks/useDOMRef.ts rename to frontend/casino/src/app/hooks/useDOMRef.ts diff --git a/frontend/casino/src/hooks/useDidMountEffect.tsx b/frontend/casino/src/app/hooks/useDidMountEffect.tsx similarity index 100% rename from frontend/casino/src/hooks/useDidMountEffect.tsx rename to frontend/casino/src/app/hooks/useDidMountEffect.tsx diff --git a/frontend/casino/src/hooks/useMediaMui.ts b/frontend/casino/src/app/hooks/useMediaMui.ts similarity index 100% rename from frontend/casino/src/hooks/useMediaMui.ts rename to frontend/casino/src/app/hooks/useMediaMui.ts diff --git a/frontend/casino/src/hooks/useScrollTop.ts b/frontend/casino/src/app/hooks/useScrollTop.ts similarity index 100% rename from frontend/casino/src/hooks/useScrollTop.ts rename to frontend/casino/src/app/hooks/useScrollTop.ts diff --git a/frontend/casino/src/hooks/useScrollWindow.ts b/frontend/casino/src/app/hooks/useScrollWindow.ts similarity index 100% rename from frontend/casino/src/hooks/useScrollWindow.ts rename to frontend/casino/src/app/hooks/useScrollWindow.ts diff --git a/frontend/casino/src/hooks/useStores.tsx b/frontend/casino/src/app/hooks/useStores.tsx similarity index 100% rename from frontend/casino/src/hooks/useStores.tsx rename to frontend/casino/src/app/hooks/useStores.tsx diff --git a/frontend/casino/src/app/pages/MainPage/MainPage.tsx b/frontend/casino/src/app/pages/MainPage/MainPage.tsx new file mode 100644 index 0000000..4e5332f --- /dev/null +++ b/frontend/casino/src/app/pages/MainPage/MainPage.tsx @@ -0,0 +1,7 @@ +export const MainPage = () => { + return ( +

+ Hello world! +

+ ); +}; \ No newline at end of file diff --git a/frontend/casino/src/app/pages/NotMainPage/NotMainPage.tsx b/frontend/casino/src/app/pages/NotMainPage/NotMainPage.tsx new file mode 100644 index 0000000..23cb091 --- /dev/null +++ b/frontend/casino/src/app/pages/NotMainPage/NotMainPage.tsx @@ -0,0 +1,7 @@ +export const NotMainPage = () => { + return ( +

+ Not Main Page +

+ ); +}; \ No newline at end of file diff --git a/frontend/casino/src/pages/router.tsx b/frontend/casino/src/app/pages/router.tsx similarity index 61% rename from frontend/casino/src/pages/router.tsx rename to frontend/casino/src/app/pages/router.tsx index 9d6631c..95adf1a 100644 --- a/frontend/casino/src/pages/router.tsx +++ b/frontend/casino/src/app/pages/router.tsx @@ -1,7 +1,17 @@ import { createBrowserRouter, Navigate, type RouteObject } from 'react-router-dom' import { AppLayout } from '../components/App' +import {MainPage} from "./MainPage/MainPage.tsx"; +import {NotMainPage} from "./NotMainPage/NotMainPage.tsx"; const routes: RouteObject[] = [ + { + path: '/', + element: , + }, + { + path: '/example', + element: , + }, { path: '*', element: , diff --git a/frontend/casino/src/assets/fonts/Inter-Regular.ttf b/frontend/casino/src/assets/fonts/Inter-Regular.ttf new file mode 100644 index 0000000..8d4eebf Binary files /dev/null and b/frontend/casino/src/assets/fonts/Inter-Regular.ttf differ diff --git a/frontend/casino/src/assets/fonts/Montserrat-Bold.ttf b/frontend/casino/src/assets/fonts/Montserrat-Bold.ttf new file mode 100644 index 0000000..efddc83 Binary files /dev/null and b/frontend/casino/src/assets/fonts/Montserrat-Bold.ttf differ diff --git a/frontend/casino/src/assets/fonts/Montserrat-Regular.ttf b/frontend/casino/src/assets/fonts/Montserrat-Regular.ttf new file mode 100644 index 0000000..aa9033a Binary files /dev/null and b/frontend/casino/src/assets/fonts/Montserrat-Regular.ttf differ diff --git a/frontend/casino/src/assets/fonts/Montserrat-SemiBold.ttf b/frontend/casino/src/assets/fonts/Montserrat-SemiBold.ttf new file mode 100644 index 0000000..cbf44db Binary files /dev/null and b/frontend/casino/src/assets/fonts/Montserrat-SemiBold.ttf differ diff --git a/frontend/casino/src/assets/fonts/Montserrat-VariableFont_wght.ttf b/frontend/casino/src/assets/fonts/Montserrat-VariableFont_wght.ttf new file mode 100644 index 0000000..1d06e71 Binary files /dev/null and b/frontend/casino/src/assets/fonts/Montserrat-VariableFont_wght.ttf differ diff --git a/frontend/casino/src/assets/fonts/Montserrat-VariableFont_wght500.ttf b/frontend/casino/src/assets/fonts/Montserrat-VariableFont_wght500.ttf new file mode 100644 index 0000000..1d06e71 Binary files /dev/null and b/frontend/casino/src/assets/fonts/Montserrat-VariableFont_wght500.ttf differ diff --git a/frontend/casino/src/assets/fonts/MuseoModerno-SemiBold.ttf b/frontend/casino/src/assets/fonts/MuseoModerno-SemiBold.ttf new file mode 100644 index 0000000..218267e Binary files /dev/null and b/frontend/casino/src/assets/fonts/MuseoModerno-SemiBold.ttf differ diff --git a/frontend/casino/src/assets/fonts/MuseoModerno-VariableFont_wght.ttf b/frontend/casino/src/assets/fonts/MuseoModerno-VariableFont_wght.ttf new file mode 100644 index 0000000..dbf731c Binary files /dev/null and b/frontend/casino/src/assets/fonts/MuseoModerno-VariableFont_wght.ttf differ diff --git a/frontend/casino/src/assets/fonts/Sora-Bold.ttf b/frontend/casino/src/assets/fonts/Sora-Bold.ttf new file mode 100644 index 0000000..f6ea9cd Binary files /dev/null and b/frontend/casino/src/assets/fonts/Sora-Bold.ttf differ diff --git a/frontend/casino/src/assets/fonts/SpaceGrotesk-VariableFont_wght.ttf b/frontend/casino/src/assets/fonts/SpaceGrotesk-VariableFont_wght.ttf new file mode 100644 index 0000000..b54a196 Binary files /dev/null and b/frontend/casino/src/assets/fonts/SpaceGrotesk-VariableFont_wght.ttf differ diff --git a/frontend/casino/src/assets/icons/Plus.svg b/frontend/casino/src/assets/icons/Plus.svg new file mode 100644 index 0000000..3c9553a --- /dev/null +++ b/frontend/casino/src/assets/icons/Plus.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/casino/src/assets/icons/arrow-back-outline.svg b/frontend/casino/src/assets/icons/arrow-back-outline.svg new file mode 100644 index 0000000..07e781c --- /dev/null +++ b/frontend/casino/src/assets/icons/arrow-back-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/casino/src/assets/icons/arrow-forward-outline.svg b/frontend/casino/src/assets/icons/arrow-forward-outline.svg new file mode 100644 index 0000000..46278f5 --- /dev/null +++ b/frontend/casino/src/assets/icons/arrow-forward-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/casino/src/assets/img/BearJedi.jpg b/frontend/casino/src/assets/img/BearJedi.jpg new file mode 100644 index 0000000..9114b0c Binary files /dev/null and b/frontend/casino/src/assets/img/BearJedi.jpg differ diff --git a/frontend/casino/src/assets/img/Capibebra.gif b/frontend/casino/src/assets/img/Capibebra.gif new file mode 100644 index 0000000..ffff13c Binary files /dev/null and b/frontend/casino/src/assets/img/Capibebra.gif differ diff --git a/frontend/casino/src/assets/img/CloseButton.svg b/frontend/casino/src/assets/img/CloseButton.svg new file mode 100644 index 0000000..b0d5a28 --- /dev/null +++ b/frontend/casino/src/assets/img/CloseButton.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/DeBankImg.svg b/frontend/casino/src/assets/img/DeBankImg.svg new file mode 100644 index 0000000..fe8ad1b --- /dev/null +++ b/frontend/casino/src/assets/img/DeBankImg.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/casino/src/assets/img/DiscordBlack.svg b/frontend/casino/src/assets/img/DiscordBlack.svg new file mode 100644 index 0000000..05eb7e9 --- /dev/null +++ b/frontend/casino/src/assets/img/DiscordBlack.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/DiscordImg.svg b/frontend/casino/src/assets/img/DiscordImg.svg new file mode 100644 index 0000000..749a0e7 --- /dev/null +++ b/frontend/casino/src/assets/img/DiscordImg.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/frontend/casino/src/assets/img/Email.svg b/frontend/casino/src/assets/img/Email.svg new file mode 100644 index 0000000..0c78750 --- /dev/null +++ b/frontend/casino/src/assets/img/Email.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/casino/src/assets/img/FMMakerLogoFooter.svg b/frontend/casino/src/assets/img/FMMakerLogoFooter.svg new file mode 100644 index 0000000..fe7d1fb --- /dev/null +++ b/frontend/casino/src/assets/img/FMMakerLogoFooter.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/frontend/casino/src/assets/img/FMMakerLogoHeader.svg b/frontend/casino/src/assets/img/FMMakerLogoHeader.svg new file mode 100644 index 0000000..c7a4583 --- /dev/null +++ b/frontend/casino/src/assets/img/FMMakerLogoHeader.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/frontend/casino/src/assets/img/FWicon.svg b/frontend/casino/src/assets/img/FWicon.svg new file mode 100644 index 0000000..3e1c11c --- /dev/null +++ b/frontend/casino/src/assets/img/FWicon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/casino/src/assets/img/Instagram.svg b/frontend/casino/src/assets/img/Instagram.svg new file mode 100644 index 0000000..3ca0b9e --- /dev/null +++ b/frontend/casino/src/assets/img/Instagram.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/casino/src/assets/img/InstagramImg.svg b/frontend/casino/src/assets/img/InstagramImg.svg new file mode 100644 index 0000000..1be4df1 --- /dev/null +++ b/frontend/casino/src/assets/img/InstagramImg.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/frontend/casino/src/assets/img/LinkedinBlack.svg b/frontend/casino/src/assets/img/LinkedinBlack.svg new file mode 100644 index 0000000..b106c95 --- /dev/null +++ b/frontend/casino/src/assets/img/LinkedinBlack.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/LinkedinImg.svg b/frontend/casino/src/assets/img/LinkedinImg.svg new file mode 100644 index 0000000..5d076a0 --- /dev/null +++ b/frontend/casino/src/assets/img/LinkedinImg.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/MediumBlack.svg b/frontend/casino/src/assets/img/MediumBlack.svg new file mode 100644 index 0000000..20549a1 --- /dev/null +++ b/frontend/casino/src/assets/img/MediumBlack.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/casino/src/assets/img/MediumImg.svg b/frontend/casino/src/assets/img/MediumImg.svg new file mode 100644 index 0000000..672d0c4 --- /dev/null +++ b/frontend/casino/src/assets/img/MediumImg.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/casino/src/assets/img/Redirect.svg b/frontend/casino/src/assets/img/Redirect.svg new file mode 100644 index 0000000..cb2a422 --- /dev/null +++ b/frontend/casino/src/assets/img/Redirect.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/casino/src/assets/img/SuccesfullIcon.svg b/frontend/casino/src/assets/img/SuccesfullIcon.svg new file mode 100644 index 0000000..c6acef3 --- /dev/null +++ b/frontend/casino/src/assets/img/SuccesfullIcon.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/frontend/casino/src/assets/img/TelegramBlack.svg b/frontend/casino/src/assets/img/TelegramBlack.svg new file mode 100644 index 0000000..6db2181 --- /dev/null +++ b/frontend/casino/src/assets/img/TelegramBlack.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/TelegramImg.svg b/frontend/casino/src/assets/img/TelegramImg.svg new file mode 100644 index 0000000..c9505ef --- /dev/null +++ b/frontend/casino/src/assets/img/TelegramImg.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/frontend/casino/src/assets/img/TwitterBlack.svg b/frontend/casino/src/assets/img/TwitterBlack.svg new file mode 100644 index 0000000..fd02766 --- /dev/null +++ b/frontend/casino/src/assets/img/TwitterBlack.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/TwitterImg.svg b/frontend/casino/src/assets/img/TwitterImg.svg new file mode 100644 index 0000000..2cb39db --- /dev/null +++ b/frontend/casino/src/assets/img/TwitterImg.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/YoutubeBlack.svg b/frontend/casino/src/assets/img/YoutubeBlack.svg new file mode 100644 index 0000000..702b63a --- /dev/null +++ b/frontend/casino/src/assets/img/YoutubeBlack.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/YoutubeImg.svg b/frontend/casino/src/assets/img/YoutubeImg.svg new file mode 100644 index 0000000..07b78e8 --- /dev/null +++ b/frontend/casino/src/assets/img/YoutubeImg.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/casino/src/assets/img/closeButtonIcon.svg b/frontend/casino/src/assets/img/closeButtonIcon.svg new file mode 100644 index 0000000..f62b11a --- /dev/null +++ b/frontend/casino/src/assets/img/closeButtonIcon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/casino/src/components/App/AppNav/AppNav.tsx b/frontend/casino/src/components/App/AppNav/AppNav.tsx deleted file mode 100644 index 081777f..0000000 --- a/frontend/casino/src/components/App/AppNav/AppNav.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export const AppNav = () => { - return ( -
- -
- ); -}; \ No newline at end of file diff --git a/frontend/casino/src/components/App/AppNav/index.ts b/frontend/casino/src/components/App/AppNav/index.ts deleted file mode 100644 index 9a09e2f..0000000 --- a/frontend/casino/src/components/App/AppNav/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './AppNav' diff --git a/frontend/casino/src/components/App/Footer/index.ts b/frontend/casino/src/components/App/Footer/index.ts deleted file mode 100644 index bd2c119..0000000 --- a/frontend/casino/src/components/App/Footer/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './Footer' diff --git a/frontend/casino/src/index.css b/frontend/casino/src/index.css new file mode 100644 index 0000000..bd6213e --- /dev/null +++ b/frontend/casino/src/index.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file diff --git a/frontend/casino/src/main.tsx b/frontend/casino/src/main.tsx index 7ab288c..cabfbb3 100644 --- a/frontend/casino/src/main.tsx +++ b/frontend/casino/src/main.tsx @@ -1,6 +1,7 @@ import React from 'react' import ReactDOM from 'react-dom/client' import { App } from './App.tsx' +import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( diff --git a/frontend/casino/src/styles/global.ts b/frontend/casino/src/styles/global.ts new file mode 100644 index 0000000..11b3e05 --- /dev/null +++ b/frontend/casino/src/styles/global.ts @@ -0,0 +1,110 @@ +import interRegular from '../assets/fonts/Inter-Regular.ttf' +import montserratBold from '../assets/fonts/Montserrat-Bold.ttf' +import montserratSemiBold from '../assets/fonts/Montserrat-SemiBold.ttf' +import montserratRegular400 from '../assets/fonts/Montserrat-VariableFont_wght.ttf' +import montserratReg from '../assets/fonts/Montserrat-VariableFont_wght500.ttf' +import museoModernoSemiBold from '../assets/fonts/MuseoModerno-SemiBold.ttf' +import museoModernoBold from '../assets/fonts/MuseoModerno-VariableFont_wght.ttf' +import soraBold from '../assets/fonts/Sora-Bold.ttf' +import SpaceGrotesk from '../assets/fonts/SpaceGrotesk-VariableFont_wght.ttf' +import { globalCss } from './stitches.config' + +export const globalStyles = globalCss({ + '@font-face': [ + { + fontFamily: 'Montserrat', + fontStyle: 'normal', + fontWeight: 600, + src: `local(''), url('${montserratSemiBold}') format('truetype')`, + }, + { + fontFamily: 'Montserrat', + fontStyle: 'normal', + fontWeight: 500, + src: `local(''), url('${montserratReg}') format('truetype')`, + }, + { + fontFamily: 'Montserrat', + fontStyle: 'normal', + fontWeight: 700, + src: `local(''), url('${montserratBold}') format('truetype')`, + }, + { + fontFamily: 'Montserrat', + fontStyle: 'normal', + fontWeight: 400, + src: `local(''), url('${montserratRegular400}') format('truetype')`, + }, + { + fontFamily: 'Sora', + fontStyle: 'normal', + fontWeight: 700, + src: `local(''), url('${soraBold}') format('truetype')`, + }, + { + fontFamily: 'Inter', + fontStyle: 'normal', + fontWeight: 400, + src: `local(''), url('${interRegular}') format('truetype')`, + }, + { + fontFamily: 'Space Grotesk', + fontStyle: 'normal', + fontWeight: 700, + src: `local(''), url('${SpaceGrotesk}') format('truetype')`, + }, + { + fontFamily: 'MuseoModerno', + fontStyle: 'normal', + fontWeight: 600, + src: `local(''), url('${museoModernoSemiBold}') format('truetype')`, + }, + { + fontFamily: 'MuseoModerno', + fontStyle: 'normal', + fontWeight: 700, + src: `local(''), url('${museoModernoBold}') format('truetype')`, + }, + ], + 'html, body, #root, #root>div': { + fontFamily: '$primary', + fontSize: '$html', + height: '100%', + }, + a: { + textDecoration: 'none', + }, + html: { + // breaks popovers + // overflowY: 'hidden' + }, + body: { + overflow: 'overlay', + }, + '*::-webkit-scrollbar, html *::-webkit-scrollbar': { + width: '10px', + height: '4px', + }, + '*::-webkit-scrollbar-track, html *::-webkit-scrollbar-track': { + background: 'none', + boxShadow: 'inset 0 0 5px 5px #0090FF', + border: 'solid 6px transparent', + }, + + '*::-webkit-scrollbar-thumb, html *::-webkit-scrollbar-thumb': { + background: '#0090FF', + borderRadius: '8px', + border: 'solid 1px rgba(255, 255, 255, 0.5)', + }, + + '#root': { + height: '100%', + }, + '& .nextui-c-cVVQUL-kzmUGS-borderWeight-black': { + background: 'none !important', + overflow: 'inherit !important', + border: 'none !important', + boxShadow: 'none !important', + marginRight: '20px', + }, +}) diff --git a/frontend/casino/src/styles/index.ts b/frontend/casino/src/styles/index.ts new file mode 100644 index 0000000..ef8cfd8 --- /dev/null +++ b/frontend/casino/src/styles/index.ts @@ -0,0 +1,3 @@ +export * from './provider' +export * from './shared' +export * from './stitches.config' diff --git a/frontend/casino/src/styles/provider.tsx b/frontend/casino/src/styles/provider.tsx new file mode 100644 index 0000000..2837148 --- /dev/null +++ b/frontend/casino/src/styles/provider.tsx @@ -0,0 +1,13 @@ +import 'reseter.css/css/minireseter.css' + +import { observer } from 'mobx-react-lite' +import { type FC, type PropsWithChildren } from 'react' + +import { globalStyles } from './global' + +export const StitchesProvider: FC = observer(({ children }) => { + globalStyles() + + // currently, there is nothing provided, but in future this will likely to change + return <>{children} +}) diff --git a/frontend/casino/src/styles/shared.ts b/frontend/casino/src/styles/shared.ts new file mode 100644 index 0000000..15bf6da --- /dev/null +++ b/frontend/casino/src/styles/shared.ts @@ -0,0 +1,72 @@ +import { css, type theme } from './stitches.config' + +// shows on all breakpoints, that higher than a specified one +export const cssShowIn = css({ + variants: { + showIn: { + xs: { + '@xsUp': { + display: 'none', + }, + }, + sm: { + '@smUp': { + display: 'none', + }, + }, + md: { + '@mdUp': { + display: 'none', + }, + }, + lg: { + '@lgUp': { + display: 'none', + }, + }, + xl: { + '@xlUp': { + display: 'none', + }, + }, + }, + }, +}) + +export const cssHideIn = css({ + variants: { + hideIn: { + xs: { + '@xs': { + display: 'none', + }, + }, + sm: { + '@sm': { + display: 'none', + }, + }, + md: { + '@md': { + display: 'none', + }, + }, + lg: { + '@lg': { + display: 'none', + }, + }, + xl: { + '@xl': { + display: 'none', + }, + }, + }, + }, +}) + +export const cssShowHideIn = css(cssShowIn, cssHideIn) + +export type ThemeType = typeof theme + +export type BreakpointsOptions = keyof ThemeType['breakpoints'] diff --git a/frontend/casino/src/styles/stitches.config.ts b/frontend/casino/src/styles/stitches.config.ts new file mode 100644 index 0000000..12a69c2 --- /dev/null +++ b/frontend/casino/src/styles/stitches.config.ts @@ -0,0 +1,222 @@ +import { createStitches, type PropertyValue } from '@stitches/react' + +export const { + styled, + css, + globalCss, + keyframes, + getCssText, + theme, + createTheme, + config, +} = createStitches({ + theme: { + colors: { + blue300: '#4DB1FF', + blue500: '#0090FF', + blue600: '#655BE5', // Color: Slate Blue + blue700: '#4160ED', // Color: Ultramarine Blue + blue900: '#13132D', // Color: Space Cadet + + purple: '#AF29FF', // Color: Electric Purple + magenta: '#E14BEC', // Color: Magenta + pink: '#F4CFF3', // Color: Pink Lace + + black: '#000000', // Color: Eerie Black + white: '#ffffff', + whiteOp25: 'rgba(255, 255, 255, 0.25)', + whiteOp50: 'rgba(255, 255, 255, 0.5)', + whiteOp75: 'rgba(255, 255, 255, 0.75)', + blue500Op75: 'rgba(0, 144, 255, 0.75)', + + gray100: '#F9F9F9', + gray200: '#E5E5E5', + gray300: '#E9E9EA', // raisin + 90% + gray400: '#A7A8A9', // raisin + 60% + gray500: '#59596C', + gray600: '#656669', // raisin + 30% + gray700: '#2F3134', + gray800: '#232528', // raisin + + green: '#00FF0A', + + red: '#D81B60', + red500: '#C54B5C', + + gradient0: '#38BCC9', + gradient1: '#088DFA', + }, + + space: { + 1: '4px', // на мобилках + 2: '8px', + 3: '16px', // самый ходовой + 4: '32px', + 5: '40px', + 6: '80px', + }, + + fonts: { + h: 'Montserrat, sans-serif', + body: 'Montserrat, sans-serif', + button: 'Montserrat, sans-serif', + primary: 'Montserrat, sans-serif', + secondary: 'Inter, sans-serif', + ternary: 'Space Grotesk, sans-serif', + fourfold: 'MuseoModerno, sans-serif', + }, + + // 1rem = 16px + fontSizes: { + html: '16px', // defines 1rem + + h1: '3rem', // 48px + h2: '2.5rem', // 40px + h3: '2rem', // 32px + h4: '1.5625rem', // 25px + h5: '1.25rem', // 20px + + body1: '1.5rem', // 24px + body2: '1.25rem', // 20px + body3: '1.125rem', // 18px + body4: '1rem', // 16px + + button1: '1rem', // 16px + + primary1: '1rem', // 16px + primary2: '0.875rem', // 14px + primary3: '0.75rem', // 12px + + secondary1: '1rem', // 16px + secondary2: '0.875rem', // 14px + secondary3: '0.75rem', // 12px + + ternary1: '2.5rem', // 40px + ternary2: '2rem', // 32px + ternary3: '1.5rem', // 24px + + fourfold1: '2.5rem', // 40px + fourfold2: '2rem', // 32px + fourfold3: '1.5rem', // 24px + }, + + fontWeights: { + h: 700, // header + body: 400, + button: 600, + primary: 600, + secondary: 400, + ternary: 700, + fourfold: 700, + }, + + lineHeights: { + h1: 1.1666, + h2: 1.26, + h3: 1.26, + h4: 1.26, + h5: 1.2, + + body1: 1.333, + body2: 1.219, // 20px + body3: 1.2777, // 18px + body4: 1.21875, // 16px + + button1: 1.5, // 16px + + primary1: 1.25, // 16px + primary2: 1.4285714, // 14px + primary3: 1.333, // 12px + + secondary1: 1.21, // 16px + secondary2: 1.2857143, // 14px + secondary3: 1.333333, // 12px + + ternary1: '48px', + ternary2: '48px', + ternary3: '30px', + + fourfold1: '48px', + fourfold2: '48px', + fourfold3: '30px', + }, + + radii: { + 1: '8px', + 2: '12px', + 3: '16px', + 4: '32px', + 6: '80px', + }, + + shadows: { + // names of shadows are from the figma + form: '0px 0px 15px rgba(19, 19, 45, 0.05)', + hover: '0px 2px 15px rgba(19, 19, 45, 0.2)', + header: '0px 4px 15px rgba(19, 19, 45, 0.05)', + footer: '0px -4px 15px rgba(19, 19, 45, 0.05)', + low: '0px 4px 15px rgba(19, 19, 45, 0.1)', + }, + + breakpoints: { + xs: '400px', + sm: '600px', + md: '900px', + lg: '1200px', + xl: '1536px', + }, + + gradients: { + main: 'linear-gradient(90deg, $colors$gradient0 0%, $colors$gradient1 100%)', + background: 'linear-gradient(291.31deg, #512da8 0%, #49b2fd 100%)', + button: 'linear-gradient(to left, #0076D0, #0090FF, #38BCC9, #0099A8, #0090FF, #0076D0)', + mainNew: 'linear-gradient(135deg, #028FFF 0%, #04E762 100%)', + }, + + layout: { + navBarHeight: '80px', + bannerHeight: '36px', + blockchainToggleHeight: '58px', + }, + }, + + media: { + xs: '(max-width: 400px)', + sm: '(max-width: 600px)', + mdx: '(max-width: 700px)', + md: '(max-width: 900px)', + lg: '(max-width: 1200px)', + xl: '(max-width: 1536px)', + + xsUp: '(min-width: 400px)', + smUp: '(min-width: 600px)', + mdxUp: '(min-width: 700px)', + mdUp: '(min-width: 900px)', + lgUp: '(min-width: 1201px)', + xlUp: '(min-width: 1536px)', + }, + + utils: { + focusRing: (color: string) => ({ + outline: `2px solid ${color}`, + outlineOffset: '2px', + }), + paddingLR: (padding: PropertyValue<'paddingLeft'>) => ({ + paddingLeft: padding, + paddingRight: padding, + }), + paddingTB: (padding: PropertyValue<'paddingTop'>) => ({ + paddingTop: padding, + paddingBottom: padding, + }), + dflex: (value: PropertyValue<'alignItems'>) => ({ + display: 'flex', + alignItems: value, + justifyContent: value, + }), + size: (value: PropertyValue<'width'>) => ({ + width: value, + height: value, + }), + }, +}) diff --git a/frontend/casino/tailwind.config.js b/frontend/casino/tailwind.config.js new file mode 100644 index 0000000..89a305e --- /dev/null +++ b/frontend/casino/tailwind.config.js @@ -0,0 +1,11 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: [ + "./index.html", + "./src/**/*.{js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +} \ No newline at end of file diff --git a/frontend/casino/yarn.lock b/frontend/casino/yarn.lock index d75d827..9afd692 100644 --- a/frontend/casino/yarn.lock +++ b/frontend/casino/yarn.lock @@ -12,6 +12,11 @@ resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== +"@alloc/quick-lru@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" + integrity sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw== + "@ampproject/remapping@^2.2.0": version "2.2.1" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" @@ -4341,6 +4346,11 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + anymatch@^3.1.3, anymatch@~3.1.2: version "3.1.3" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" @@ -4354,6 +4364,11 @@ arch@^2.2.0: resolved "https://registry.yarnpkg.com/arch/-/arch-2.2.0.tgz#1bc47818f305764f23ab3306b0bfc086c5a29d11" integrity sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ== +arg@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" + integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== + argparse@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" @@ -4464,6 +4479,18 @@ atomic-sleep@^1.0.0: resolved "https://registry.yarnpkg.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b" integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== +autoprefixer@^10.4.16: + version "10.4.16" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.16.tgz#fad1411024d8670880bdece3970aa72e3572feb8" + integrity sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ== + dependencies: + browserslist "^4.21.10" + caniuse-lite "^1.0.30001538" + fraction.js "^4.3.6" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + available-typed-arrays@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" @@ -4548,7 +4575,7 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" -browserslist@^4.22.2: +browserslist@^4.21.10, browserslist@^4.22.2: version "4.22.2" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b" integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== @@ -4611,11 +4638,21 @@ callsites@^3.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== +camelcase-css@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" + integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== + camelcase@^5.0.0: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== +caniuse-lite@^1.0.30001538: + version "1.0.30001570" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz#b4e5c1fa786f733ab78fc70f592df6b3f23244ca" + integrity sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw== + caniuse-lite@^1.0.30001565: version "1.0.30001568" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001568.tgz#53fa9297273c9a977a560663f48cbea1767518b7" @@ -4748,6 +4785,11 @@ commander@^2.20.3: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== +commander@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" + integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== + compute-scroll-into-view@3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-3.0.3.tgz#c418900a5c56e2b04b885b54995df164535962b1" @@ -4835,6 +4877,11 @@ css-box-model@1.2.1: dependencies: tiny-invariant "^1.0.6" +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + csstype@^3.0.2, csstype@^3.1.2: version "3.1.3" resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" @@ -4951,6 +4998,11 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" +dlv@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" + integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== + doctrine@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" @@ -5509,7 +5561,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.2.9: +fast-glob@^3.2.9, fast-glob@^3.3.0: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== @@ -5640,6 +5692,11 @@ formdata-polyfill@^4.0.10: dependencies: fetch-blob "^3.1.2" +fraction.js@^4.3.6: + version "4.3.7" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7" + integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== + framer-motion@^10.16.12: version "10.16.16" resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-10.16.16.tgz#a10a03e1190a717109163cfff212a84c8ad11b0c" @@ -5750,6 +5807,18 @@ glob-parent@^6.0.2: dependencies: is-glob "^4.0.3" +glob@7.1.6: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + glob@^7.1.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -6268,7 +6337,7 @@ jdenticon@^3.2.0: dependencies: canvas-renderer "~2.2.0" -jiti@^1.20.0: +jiti@^1.19.1, jiti@^1.20.0: version "1.21.0" resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== @@ -6396,6 +6465,16 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +lilconfig@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" + integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== + +lilconfig@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.0.0.tgz#f8067feb033b5b74dab4602a5f5029420be749bc" + integrity sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g== + lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" @@ -6569,7 +6648,7 @@ minimalistic-assert@^1.0.1: resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== -minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -6635,6 +6714,15 @@ multiformats@^9.4.2: resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + nanoid@3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" @@ -6732,6 +6820,11 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== +normalize-range@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" + integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== + npm-run-path@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" @@ -6785,11 +6878,16 @@ oas-validator@^5.0.8: should "^13.2.1" yaml "^1.10.0" -object-assign@^4.1.1: +object-assign@^4.0.1, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== +object-hash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" + integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== + object-inspect@^1.13.1, object-inspect@^1.9.0: version "1.13.1" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" @@ -6985,6 +7083,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + pify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" @@ -7025,6 +7128,11 @@ pino@7.11.0: sonic-boom "^2.2.1" thread-stream "^0.15.1" +pirates@^4.0.1: + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + pkg-types@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.0.3.tgz#988b42ab19254c01614d13f4f65a2cfc7880f868" @@ -7044,7 +7152,51 @@ pony-cause@^2.1.10: resolved "https://registry.yarnpkg.com/pony-cause/-/pony-cause-2.1.10.tgz#828457ad6f13be401a075dbf14107a9057945174" integrity sha512-3IKLNXclQgkU++2fSi93sQ6BznFuxSLB11HdvZQ6JW/spahf/P1pAHBQEahr20rs0htZW0UDkM1HmA+nZkXKsw== -postcss@^8.4.32: +postcss-import@^15.1.0: + version "15.1.0" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-15.1.0.tgz#41c64ed8cc0e23735a9698b3249ffdbf704adc70" + integrity sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + +postcss-js@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-4.0.1.tgz#61598186f3703bab052f1c4f7d805f3991bee9d2" + integrity sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw== + dependencies: + camelcase-css "^2.0.1" + +postcss-load-config@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.2.tgz#7159dcf626118d33e299f485d6afe4aff7c4a3e3" + integrity sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ== + dependencies: + lilconfig "^3.0.0" + yaml "^2.3.4" + +postcss-nested@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-6.0.1.tgz#f83dc9846ca16d2f4fa864f16e9d9f7d0961662c" + integrity sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ== + dependencies: + postcss-selector-parser "^6.0.11" + +postcss-selector-parser@^6.0.11: + version "6.0.13" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b" + integrity sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss@^8.4.23, postcss@^8.4.32: version "8.4.32" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.32.tgz#1dac6ac51ab19adb21b8b34fd2d93a86440ef6c9" integrity sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw== @@ -7371,6 +7523,13 @@ react@^18.2.0: dependencies: loose-envify "^1.1.0" +read-cache@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== + dependencies: + pify "^2.3.0" + readable-stream@^3.1.1, readable-stream@^3.5.0, readable-stream@^3.6.0: version "3.6.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" @@ -7470,7 +7629,7 @@ resolve-pkg-maps@^1.0.0: resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== -resolve@^1.19.0, resolve@^1.22.2, resolve@^1.22.4: +resolve@^1.1.7, resolve@^1.19.0, resolve@^1.22.2, resolve@^1.22.4: version "1.22.8" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== @@ -7842,6 +8001,19 @@ stylis@4.2.0: resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.2.0.tgz#79daee0208964c8fe695a42fcffcac633a211a51" integrity sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw== +sucrase@^3.32.0: + version "3.34.0" + resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.34.0.tgz#1e0e2d8fcf07f8b9c3569067d92fbd8690fb576f" + integrity sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw== + dependencies: + "@jridgewell/gen-mapping" "^0.3.2" + commander "^4.0.0" + glob "7.1.6" + lines-and-columns "^1.1.6" + mz "^2.7.0" + pirates "^4.0.1" + ts-interface-checker "^0.1.9" + superstruct@^0.14.2: version "0.14.2" resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-0.14.2.tgz#0dbcdf3d83676588828f1cf5ed35cda02f59025b" @@ -7913,6 +8085,34 @@ swagger2openapi@7.0.8: yaml "^1.10.0" yargs "^17.0.1" +tailwindcss@^3.3.6: + version "3.3.6" + resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.6.tgz#4dd7986bf4902ad385d90d45fd4b2fa5fab26d5f" + integrity sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw== + dependencies: + "@alloc/quick-lru" "^5.2.0" + arg "^5.0.2" + chokidar "^3.5.3" + didyoumean "^1.2.2" + dlv "^1.1.3" + fast-glob "^3.3.0" + glob-parent "^6.0.2" + is-glob "^4.0.3" + jiti "^1.19.1" + lilconfig "^2.1.0" + micromatch "^4.0.5" + normalize-path "^3.0.0" + object-hash "^3.0.0" + picocolors "^1.0.0" + postcss "^8.4.23" + postcss-import "^15.1.0" + postcss-js "^4.0.1" + postcss-load-config "^4.0.1" + postcss-nested "^6.0.1" + postcss-selector-parser "^6.0.11" + resolve "^1.22.2" + sucrase "^3.32.0" + text-encoding-utf-8@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz#585b62197b0ae437e3c7b5d0af27ac1021e10d13" @@ -7923,6 +8123,20 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + thread-stream@^0.15.1: version "0.15.2" resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-0.15.2.tgz#fb95ad87d2f1e28f07116eb23d85aba3bc0425f4" @@ -7972,6 +8186,11 @@ ts-dedent@^2.2.0: resolved "https://registry.yarnpkg.com/ts-dedent/-/ts-dedent-2.2.0.tgz#39e4bd297cd036292ae2394eb3412be63f563bb5" integrity sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ== +ts-interface-checker@^0.1.9: + version "0.1.13" + resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" + integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== + tsconfig-paths@^3.14.2: version "3.14.2" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" @@ -8188,7 +8407,7 @@ utf-8-validate@^5.0.2: dependencies: node-gyp-build "^4.3.0" -util-deprecate@^1.0.1: +util-deprecate@^1.0.1, util-deprecate@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== @@ -8409,6 +8628,11 @@ yaml@^1.10.0: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== +yaml@^2.3.4: + version "2.3.4" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" + integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== + yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0"