diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e94f1dc493a77b4692091a208521f3dc355226d0 Binary files /dev/null and b/.DS_Store differ diff --git a/.env.development b/.env.development new file mode 100644 index 0000000000000000000000000000000000000000..de6cbaa05b7bd384d208928bd0cb79b3e6463c67 --- /dev/null +++ b/.env.development @@ -0,0 +1,4 @@ +DB_HOST=https://frutella-api.noodev.ru/api/v1 +AUTH_TRUST_HOST=true +HOST=http://localhost:3000/ +AUTH_SECRET=OIU5S5HqQE7jZMA95BLPjqIZyz8EmXPruhvZyp5PuSU= diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index b58b603fea78041071d125a30db58d79b3d49217..0000000000000000000000000000000000000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ diff --git a/.idea/fruit-tella-next.iml b/.idea/fruit-tella-next.iml deleted file mode 100644 index 24643cc37449b4bde54411a80b8ed61258225e34..0000000000000000000000000000000000000000 --- a/.idea/fruit-tella-next.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/git_toolbox_blame.xml b/.idea/git_toolbox_blame.xml deleted file mode 100644 index 7dc124965d28403ec2545a24d7d1cd1fec1f57d8..0000000000000000000000000000000000000000 --- a/.idea/git_toolbox_blame.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 5e29ecead7f8434cde38b4d90a6fea536c178fa3..0000000000000000000000000000000000000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,140 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/jsLinters/jshint.xml b/.idea/jsLinters/jshint.xml deleted file mode 100644 index d60e3e80b051281dd1cae432e71b29eb7e68d91b..0000000000000000000000000000000000000000 --- a/.idea/jsLinters/jshint.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index abd1199c434083376c668ee433b97c82eca24305..0000000000000000000000000000000000000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - Angular - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 9841ecf084de00e7200c0212231be3bbcea20438..0000000000000000000000000000000000000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7f4cb416c083d265558da75d457237d671..0000000000000000000000000000000000000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts deleted file mode 100644 index 8c098953bc4a43c534bfe2b878038aacb0dbcb03..0000000000000000000000000000000000000000 --- a/app/api/auth/[...nextauth]/route.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Referring to the auth.ts we just created -import {handlers} from "@/shared/api/model/auth/auth"; - -export const {GET, POST} = handlers \ No newline at end of file diff --git a/app/api/file/upload/route.ts b/app/api/file/upload/route.ts deleted file mode 100644 index 3878f82c6f807a488a19167c6caf9288d7a9b8f9..0000000000000000000000000000000000000000 --- a/app/api/file/upload/route.ts +++ /dev/null @@ -1,116 +0,0 @@ -import {NextRequest, NextResponse} from "next/server"; -import {auth} from "@/shared/api/model/auth/auth"; -import {ApiResponse} from "@/shared/types/types"; -import {errorMessages} from "@/shared/config"; - -export async function POST(req: NextRequest) { - - try { - const session = await auth(); - - const url = process.env.DB_HOST + `/upload/` - - const referer = req.headers.get("referer"); - const isHost = referer?.includes(String(process.env.HOST)) ?? false; - - if(!isHost) { - return NextResponse.json( - {message: "Доступ ограничен", status: 400}, - {status: 400} - ); - } - - - const body = await req.formData(); - - const response = await fetch(url, { - method: "POST", - headers: { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-expect-error - Authorization: `Bearer ${session?.accessToken || ""}`, - }, - cache: "no-store", - body, - }); - - - - if (!response.ok) { - const contentType = response.headers.get("Content-Type"); - const customMessage = errorMessages[response.status] || `Ошибка ${response.status}`; - - if (response.status === 204) { - return NextResponse.json({ - message: "Операция выполнена успешно (204 No Content).", - status: response.status, - data: null, - }, { - status: response.status, - }); - } - - if (contentType && contentType.includes("text/html")) { - const errorHtml = await response.text(); - return NextResponse.json({ - message: `Ошибка на сервере (${response.status}). Возможно, проблема на стороне API.`, - status: response.status, - data: errorHtml, - }, { - status: response.status, - }); - } - - try { - const data = await response.json(); - return NextResponse.json({ - message: data?.success || data?.error || customMessage, // Используем серверное сообщение или дефолтное - status: response.status, - data, - }, { - status: response.status, - }); - // eslint-disable-next-line @typescript-eslint/no-unused-vars - } catch (error) { - return NextResponse.json({ - message: customMessage, - status: response.status, - }, { - status: response.status, - }); - } - } - - try { - const data = await response.json(); - return NextResponse.json({ - message: data?.success || data?.error || "Успешный ответ", - status: response.status, - data, - }, { - status: response.status, - }); - // eslint-disable-next-line @typescript-eslint/no-unused-vars - } catch (error) { - return NextResponse.json({ - message: "Запрос выполнен, но данных нет.", - status: response.status, - data: null, - }, { - status: response.status, - }); - } - - - } catch (error) { - return NextResponse.json( - { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - //@ts-ignore - message: error.message || "Internal Server Error", - status: 500, - }, - {status: 500} - ); - } -} diff --git a/app/faq/page.tsx b/app/faq/page.tsx deleted file mode 100644 index c2b01efdc2c5a655d8feffba1d90c40eb71cd304..0000000000000000000000000000000000000000 --- a/app/faq/page.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export const dynamic = 'force-static'; - -export {default} from "@/views/faq" \ No newline at end of file diff --git a/app/favicon.ico b/app/favicon.ico deleted file mode 100644 index ea1553f2ece03f93df947bbc9a3c64936875845a..0000000000000000000000000000000000000000 Binary files a/app/favicon.ico and /dev/null differ diff --git a/next-env.d.ts b/next-env.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1b3be0840f3f6a2bc663b53f4b17d05d2d924df6 --- /dev/null +++ b/next-env.d.ts @@ -0,0 +1,5 @@ +/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/package.json b/package.json index e055d28fe4dbd6cc0c8d2f7d68a7a1e539fad06d..5498b508c19ea2297459042336e62bba639092eb 100644 --- a/package.json +++ b/package.json @@ -9,13 +9,10 @@ "lint": "next lint" }, "dependencies": { - "@tanstack/react-query": "^5.66.4", - "@tanstack/react-query-devtools": "^5.66.4", "@types/react-scroll": "^1.8.10", "@types/sanitize-html": "^2.13.0", "clsx": "^2.1.1", "next": "15.1.7", - "next-auth": "^5.0.0-beta.25", "react": "^19.0.0", "react-device-detect": "^2.2.3", "react-dom": "^19.0.0", diff --git a/public/.DS_Store b/public/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..921de0787afa7c12efc6f449a07e485df3d40f75 Binary files /dev/null and b/public/.DS_Store differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index bb4939f1b0bbf0122407a793e6556ad2d1217f50..5f5ef1fd64efa82c974fbe5c6191bdc24d55e7d1 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/favicon-96x96.png b/public/favicon-96x96.png index cb646118f4c504e9d30cc6843b74a368ef84368f..d53a86bcac8297a4c0f7611555a4bc928eb6ded6 100644 Binary files a/public/favicon-96x96.png and b/public/favicon-96x96.png differ diff --git a/public/favicon.ico b/public/favicon.ico index ea1553f2ece03f93df947bbc9a3c64936875845a..c4c5308347acd6c60d5e2ea2fdb8cd1ba4f00a8f 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg index c704620967bb68b2fdab42e2fcee62174c70caac..210c7ff3612bdf4fd153d505656fdae16b44e7a8 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,3 +1,25 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/fonts/.DS_Store b/public/fonts/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..bc0d6430532167775eb148f37e1ab624ec53f51b Binary files /dev/null and b/public/fonts/.DS_Store differ diff --git a/public/media/.DS_Store b/public/media/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c3fede7704d08cc785805a7eb816f2a647f1dcc9 Binary files /dev/null and b/public/media/.DS_Store differ diff --git a/public/media/about/b-f-lg.png b/public/media/about/b-f-lg.png index a35cf3f127954bfe6bf3656e32acb94cbccd3094..f0e047aff51e59d339c0e73224abe39a8d5756e0 100644 Binary files a/public/media/about/b-f-lg.png and b/public/media/about/b-f-lg.png differ diff --git a/public/media/about/b-f-sm.png b/public/media/about/b-f-sm.png index 06abc90d92d013bbf1ea0cca4fc691fb3bc0e46f..a82848496d4c50dfcb68c4f69b87dd82e26dd8e8 100644 Binary files a/public/media/about/b-f-sm.png and b/public/media/about/b-f-sm.png differ diff --git a/public/media/about/b-l-lg.png b/public/media/about/b-l-lg.png index 08dcf780498890b7c9316e5a3956e6645cda2ceb..0ee9074388314648faae488d12d7bc58b9330864 100644 Binary files a/public/media/about/b-l-lg.png and b/public/media/about/b-l-lg.png differ diff --git a/public/media/about/b-r-lg.png b/public/media/about/b-r-lg.png index fbc8cfe48c9b5ce097d0cb5761fe09c9bdc63de4..addaca2a3e6c7ab44bd2a91705cb4203c2ee54dc 100644 Binary files a/public/media/about/b-r-lg.png and b/public/media/about/b-r-lg.png differ diff --git a/public/media/cards/main-card.jpg b/public/media/cards/main-card.jpg index cf8110f67b16ae99867aaaab16a2b4678ec1761b..c4ab771459a17163235266bec81c9a6787d93e34 100644 Binary files a/public/media/cards/main-card.jpg and b/public/media/cards/main-card.jpg differ diff --git a/public/media/cards/quiz/1.jpg b/public/media/cards/quiz/1.jpg index a5c4653bd0a421296185ebc07a12a5e65f44a56e..1c3d2a5bad8c1a11c06811d5f0498875c46e2ce7 100644 Binary files a/public/media/cards/quiz/1.jpg and b/public/media/cards/quiz/1.jpg differ diff --git a/public/media/cards/quiz/2.jpg b/public/media/cards/quiz/2.jpg index 251f974ee7f3d8ad3ef64b2ecb076d2c74eebf4f..88e4cc3b82c4fe474c5853f63d8849062f2af613 100644 Binary files a/public/media/cards/quiz/2.jpg and b/public/media/cards/quiz/2.jpg differ diff --git a/public/media/cards/quiz/3.jpg b/public/media/cards/quiz/3.jpg index 0ba872db8227a348b24898099c0c8d558e7887ad..658a82a90234ef3ad66d0511274ba8349ea42b99 100644 Binary files a/public/media/cards/quiz/3.jpg and b/public/media/cards/quiz/3.jpg differ diff --git a/public/media/cards/quiz/4.jpg b/public/media/cards/quiz/4.jpg index 837d12d3d9fd5dc1979703e8d93d4001a3b53d65..7ccd5822e8397a607f19451522c6dc50fba3d28a 100644 Binary files a/public/media/cards/quiz/4.jpg and b/public/media/cards/quiz/4.jpg differ diff --git a/public/media/cards/quiz/5.jpg b/public/media/cards/quiz/5.jpg index dd3932622fee0364fe5239fb329316bda83ab052..4d0231cf1805c02fa24292a3bc495d565f00e9ae 100644 Binary files a/public/media/cards/quiz/5.jpg and b/public/media/cards/quiz/5.jpg differ diff --git a/public/media/cards/quiz/6.jpg b/public/media/cards/quiz/6.jpg index f360cd44b0a08305f7d0438028bc12ece9f9ada2..bdd059ecc1d84f318d94e53ea6380562394cdce2 100644 Binary files a/public/media/cards/quiz/6.jpg and b/public/media/cards/quiz/6.jpg differ diff --git a/public/media/cards/quiz/7.jpg b/public/media/cards/quiz/7.jpg index 8f4130be9f8d3c647ec8a8319def2fd211f50ca2..469dbc94861f283841e012c2506192a87d01afe4 100644 Binary files a/public/media/cards/quiz/7.jpg and b/public/media/cards/quiz/7.jpg differ diff --git a/public/media/cards/quiz/8.jpg b/public/media/cards/quiz/8.jpg index bc75cfb54c174c7ffd7d4ad0697e2665b8858fbb..f24b4a8720a5a141b053015c5ddc6580093aa0b3 100644 Binary files a/public/media/cards/quiz/8.jpg and b/public/media/cards/quiz/8.jpg differ diff --git a/public/media/faq/b-f-lg.png b/public/media/faq/b-f-lg.png deleted file mode 100644 index 4de915bcedf61063759fb28d16281264535bee19..0000000000000000000000000000000000000000 Binary files a/public/media/faq/b-f-lg.png and /dev/null differ diff --git a/public/media/faq/b-f-sm.png b/public/media/faq/b-f-sm.png deleted file mode 100644 index 60987326ecffc4412393b62a87dbe2e7df72e0ae..0000000000000000000000000000000000000000 Binary files a/public/media/faq/b-f-sm.png and /dev/null differ diff --git a/public/media/faq/b-r-sm.png b/public/media/faq/b-r-sm.png deleted file mode 100644 index bfc3c7ad7242f6d801bd1883f24f85380e09e64b..0000000000000000000000000000000000000000 Binary files a/public/media/faq/b-r-sm.png and /dev/null differ diff --git a/public/media/faq/top-slime.png b/public/media/faq/top-slime.png deleted file mode 100644 index 6ac5c9c2abd10548ef9ed7e078aae388cdfa89e2..0000000000000000000000000000000000000000 Binary files a/public/media/faq/top-slime.png and /dev/null differ diff --git a/public/media/home/b-f-sm.png b/public/media/home/b-f-sm.png deleted file mode 100644 index 41904939d94d421dc2d9b1c20a1a030890045a3e..0000000000000000000000000000000000000000 Binary files a/public/media/home/b-f-sm.png and /dev/null differ diff --git a/public/media/home/b-lg.png b/public/media/home/b-lg.png deleted file mode 100644 index efd6811c92f7a68cb1a36f2dfdf4d3292c50727d..0000000000000000000000000000000000000000 Binary files a/public/media/home/b-lg.png and /dev/null differ diff --git a/public/media/home/b-sm.png b/public/media/home/b-sm.png index 9c6a817b312465ba61ce24770e6aa88586fc145a..70a275f56b7b72a6471665c768352842945e33e7 100644 Binary files a/public/media/home/b-sm.png and b/public/media/home/b-sm.png differ diff --git a/public/media/home/f-lg.png b/public/media/home/f-lg.png index 2780cacc3c1b5e2685936e8fcd36e391cc096ef1..ebee7e08ea18d2ddcde219a596462434c869bf4a 100644 Binary files a/public/media/home/f-lg.png and b/public/media/home/f-lg.png differ diff --git a/public/media/home/f-sm.png b/public/media/home/f-sm.png deleted file mode 100644 index 8a165e166f6268d761a1aae87a0765bbcc184808..0000000000000000000000000000000000000000 Binary files a/public/media/home/f-sm.png and /dev/null differ diff --git a/public/media/home/h-lg.png b/public/media/home/h-lg.png index 9ed01bbf688f885e03ec60f21d7d2d5c28e0211e..b768648dc33ab0f0c619d338e1d0944a161afa5d 100644 Binary files a/public/media/home/h-lg.png and b/public/media/home/h-lg.png differ diff --git a/public/media/home/h-sm.png b/public/media/home/h-sm.png index fda8cd4cb9762330926a5bdc00c8df7cd0bddde8..a8e5445b7d136200239bc7c58b110712e7ccc4d2 100644 Binary files a/public/media/home/h-sm.png and b/public/media/home/h-sm.png differ diff --git a/public/media/home/sketch.png b/public/media/home/sketch.png index 9d0488489b51e44077aecf19e667201e66903715..76e520022118453cc784454e53754fa86138350c 100644 Binary files a/public/media/home/sketch.png and b/public/media/home/sketch.png differ diff --git a/public/media/layout/footer-desktop.png b/public/media/layout/footer-desktop.png index b855327e7aab426c3559106c532a0eace6748229..2451aa214ec09d90fdfb785572bc7658e14ac487 100644 Binary files a/public/media/layout/footer-desktop.png and b/public/media/layout/footer-desktop.png differ diff --git a/public/media/layout/l-lg.png b/public/media/layout/l-lg.png index 65b05ee6020262df97f5fe5a17341df895dc1d3a..113f78687e13f571be1a33266d397df609da65a7 100644 Binary files a/public/media/layout/l-lg.png and b/public/media/layout/l-lg.png differ diff --git a/public/media/layout/l-sm.png b/public/media/layout/l-sm.png index 3cfb63047df4cba6d920ae16d1b393e9fa709edf..c27dbc3cee7de49e2b50f6993754c6d9361c445b 100644 Binary files a/public/media/layout/l-sm.png and b/public/media/layout/l-sm.png differ diff --git a/public/media/layout/t-sm.png b/public/media/layout/t-sm.png index b9cf34ca0592a8dec4b608c79e9ae594cc3f055c..214bb230f728f8a7af7db1784f36ed58fc6f36a0 100644 Binary files a/public/media/layout/t-sm.png and b/public/media/layout/t-sm.png differ diff --git a/public/media/layout/top-slime.png b/public/media/layout/top-slime.png index cd4943379eac6578b053537565e0d961e82756c1..a5ca5e13dce5b2f11a4079ca53722ead88dd4a6a 100644 Binary files a/public/media/layout/top-slime.png and b/public/media/layout/top-slime.png differ diff --git a/public/media/not-found/b-f-lg.png b/public/media/not-found/b-f-lg.png index 4de915bcedf61063759fb28d16281264535bee19..98c34588ba740a84b3ab9e9077a924a74f88b8c3 100644 Binary files a/public/media/not-found/b-f-lg.png and b/public/media/not-found/b-f-lg.png differ diff --git a/public/media/not-found/b-f-sm.png b/public/media/not-found/b-f-sm.png index 60987326ecffc4412393b62a87dbe2e7df72e0ae..ce6ee3d9b86aa6f46e787468fbfe95e7a861245b 100644 Binary files a/public/media/not-found/b-f-sm.png and b/public/media/not-found/b-f-sm.png differ diff --git a/public/media/prize/prize-lg.png b/public/media/prize/prize-lg.png deleted file mode 100644 index ecbfd46a10c1ad9d028799a5ead03315ce2f4997..0000000000000000000000000000000000000000 Binary files a/public/media/prize/prize-lg.png and /dev/null differ diff --git a/public/media/prize/prize-sm.png b/public/media/prize/prize-sm.png deleted file mode 100644 index 5ccb7a0c3a60883ab1097a826164968542213e58..0000000000000000000000000000000000000000 Binary files a/public/media/prize/prize-sm.png and /dev/null differ diff --git a/public/media/prize/underline-lg.png b/public/media/prize/underline-lg.png deleted file mode 100644 index 68cd3648ab5aecb9528a3702fbf28c1ff4b4af4d..0000000000000000000000000000000000000000 Binary files a/public/media/prize/underline-lg.png and /dev/null differ diff --git a/public/media/prize/underline-sm.png b/public/media/prize/underline-sm.png deleted file mode 100644 index 03440df83ee492eda1a7c07c63f9b58624b77ba5..0000000000000000000000000000000000000000 Binary files a/public/media/prize/underline-sm.png and /dev/null differ diff --git a/public/media/step/arrow-1.png b/public/media/step/arrow-1.png deleted file mode 100644 index f7f1460cf0da804e12d55043d584b7c4b327a243..0000000000000000000000000000000000000000 Binary files a/public/media/step/arrow-1.png and /dev/null differ diff --git a/public/media/step/arrow-2.png b/public/media/step/arrow-2.png deleted file mode 100644 index bd4babc00e7567a003a90ceae7dc3cc11ea7ce37..0000000000000000000000000000000000000000 Binary files a/public/media/step/arrow-2.png and /dev/null differ diff --git a/public/media/step/sketch.png b/public/media/step/sketch.png deleted file mode 100644 index 93408569b93d8e477eacbd51fe1c63edc2ff7c49..0000000000000000000000000000000000000000 Binary files a/public/media/step/sketch.png and /dev/null differ diff --git a/public/media/utils/package-lg.png b/public/media/utils/package-lg.png new file mode 100644 index 0000000000000000000000000000000000000000..a39fddb27af1b6ac9424689b78930c9a71d2e95e Binary files /dev/null and b/public/media/utils/package-lg.png differ diff --git a/public/media/utils/package-sm.png b/public/media/utils/package-sm.png index 5b0570dbb9f557bfbe59459a78b23736e97f1c26..9e2bb2e02da17549dc3ba9b364eabca5aba05a2e 100644 Binary files a/public/media/utils/package-sm.png and b/public/media/utils/package-sm.png differ diff --git a/public/media/utils/package.png b/public/media/utils/package.png deleted file mode 100644 index 87ae65649127a5f08b8f76ec84e3f6f691dcf433..0000000000000000000000000000000000000000 Binary files a/public/media/utils/package.png and /dev/null differ diff --git a/public/media/utils/video-preview.jpg b/public/media/utils/video-preview.jpg index 39fb3abd08aa72d66097608092f66116b9fe80de..6fa4574d31bffe27744faad9962d904d98fb9cfc 100644 Binary files a/public/media/utils/video-preview.jpg and b/public/media/utils/video-preview.jpg differ diff --git a/public/media/video/video.mp4 b/public/media/video/video.MOV similarity index 56% rename from public/media/video/video.mp4 rename to public/media/video/video.MOV index 060446e62e179508961f573b6b16017c4c47629d..84dd3b36dd9516f9160634f2874060aa046dc2a2 100644 Binary files a/public/media/video/video.mp4 and b/public/media/video/video.MOV differ diff --git a/public/rules/Rules_promotion_competition_Fruittella_Creative_family_competition.pdf b/public/rules/Rules_promotion_competition_Fruittella_Creative_family_competition.pdf index ea78197aafd31d8a973fec66e4273291f81f47ad..c346d5eb53eeadd9d098fa76677dce47277b141c 100644 Binary files a/public/rules/Rules_promotion_competition_Fruittella_Creative_family_competition.pdf and b/public/rules/Rules_promotion_competition_Fruittella_Creative_family_competition.pdf differ diff --git a/public/sharing.png b/public/sharing.png index b039a692b7726c395061257c9aa55bc4bec12e32..59a551261a3683af64654c504194f86178928694 100644 Binary files a/public/sharing.png and b/public/sharing.png differ diff --git a/public/site.webmanifest b/public/site.webmanifest index 40ce4f819bcdfab7201cd3bbb21ac5ae70ff702c..cf4bac0c3e39f73fbfe39b9363bec74272eb8156 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -3,13 +3,13 @@ "short_name": "Fruit-tella", "icons": [ { - "src": "/web-app-manifest-192x192.png", + "src": "/web-app-manifest-192x192-06.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, { - "src": "/web-app-manifest-512x512.png", + "src": "/web-app-manifest-512x512-06.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" diff --git a/public/web-app-manifest-192x192.png b/public/web-app-manifest-192x192.png deleted file mode 100644 index cb646118f4c504e9d30cc6843b74a368ef84368f..0000000000000000000000000000000000000000 Binary files a/public/web-app-manifest-192x192.png and /dev/null differ diff --git a/public/web-app-manifest-512x512.png b/public/web-app-manifest-512x512.png index cb646118f4c504e9d30cc6843b74a368ef84368f..7bb6112eea287b53ef2e7c3d1f93eaffe0b25004 100644 Binary files a/public/web-app-manifest-512x512.png and b/public/web-app-manifest-512x512.png differ diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9889cc6d63ac5611d496389b7168f5b766e0e9ca Binary files /dev/null and b/src/.DS_Store differ diff --git a/src/app/.DS_Store b/src/app/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5ab540a0411ffa56a1bdec3d4791002e2ee8e5b0 Binary files /dev/null and b/src/app/.DS_Store differ diff --git a/src/app/appEntry.tsx b/src/app/appEntry.tsx index e64d39fbb1c772ad97e377495b6b542a3782863a..f9800f6c4eb539b55042e73904d6131d2ac9f8fb 100644 --- a/src/app/appEntry.tsx +++ b/src/app/appEntry.tsx @@ -1,52 +1,34 @@ -import { QueryClientProvider } from "@/app/providers"; -import { Fragment, ReactNode } from "react"; -import { BaseLayout } from "@/app/layouts/base-layout"; -import { ModalView } from "@/feature/modal-view"; -import { SignUp } from "@/widgets/sign-up"; -import { UploadError, UploadSuccess, AuthError } from "@/widgets/modal-status"; -import { CookieAlert } from "@/feature/cookie-alert"; -import { NextAuthProvider } from "@/app/providers/NextAuthProvider"; -import { QuizDetailed } from "@/widgets/quiz-detailed/ui/QuizDetailed"; -import { UploadFile } from "@/widgets/upload-file"; -import { PreviewFile } from "@/widgets/preview-file"; -import { VideoModal } from "@/widgets/video-modal"; + +import {Fragment, ReactNode} from "react"; +import {BaseLayout} from "@/app/layouts/base-layout"; +import {CookieAlert} from "@/feature/cookie-alert"; +import {QuizDetailed} from "@/widgets/quiz-detailed/ui/QuizDetailed"; +import {VideoModal} from "@/widgets/video-modal"; export default function RootLayout(props: Readonly<{ children: ReactNode }>) { - const { children } = props; - return ( - - - - - - - - + const {children} = props; + + return ( + + + + + + + + - - - - - + + + + + -