Docker ready deploy
This commit is contained in:
Generated
-25
@@ -264,31 +264,6 @@
|
||||
"node": ">=6.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/core": {
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
|
||||
"integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@emnapi/wasi-threads": "1.2.1",
|
||||
"tslib": "^2.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/runtime": {
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",
|
||||
"integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"tslib": "^2.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/wasi-threads": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",
|
||||
|
||||
+13
-14
@@ -1,4 +1,3 @@
|
||||
// App.js
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import QuizQuestion from './components/QuizQuestion';
|
||||
import QuizResults from './components/QuizResults';
|
||||
@@ -35,22 +34,22 @@ const App = () => {
|
||||
useEffect(() => {
|
||||
const loadQuizData = async () => {
|
||||
const mockQuizData = {
|
||||
title: "Увлекательная викторина",
|
||||
title: "Викторина",
|
||||
description: "Проверьте свои знания! Сравнивайте свои результаты с другими игроками после каждого вопроса.",
|
||||
timeLimit: 30,
|
||||
questions: [
|
||||
{
|
||||
id: 1,
|
||||
text: "Какая планета находится ближе всего к Солнцу?",
|
||||
imageUrl: "https://example.com/solar-system.jpg",
|
||||
imageUrl: "https://placehold.jp/150x150.png",
|
||||
type: "single",
|
||||
timeLimit: 30,
|
||||
points: 100,
|
||||
answers: [
|
||||
{ id: "a", text: "Венера", imageUrl: "https://example.com/venus.jpg", isCorrect: false },
|
||||
{ id: "b", text: "Меркурий", imageUrl: "https://example.com/mercury.jpg", isCorrect: true },
|
||||
{ id: "c", text: "Марс", imageUrl: "https://example.com/mars.jpg", isCorrect: false },
|
||||
{ id: "d", text: "Юпитер", imageUrl: "https://example.com/jupiter.jpg", isCorrect: false }
|
||||
{ id: "a", text: "Венера", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false },
|
||||
{ id: "b", text: "Меркурий", imageUrl: "https://placehold.jp/150x150.png", isCorrect: true },
|
||||
{ id: "c", text: "Марс", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false },
|
||||
{ id: "d", text: "Юпитер", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -60,8 +59,8 @@ const App = () => {
|
||||
timeLimit: 25,
|
||||
points: 100,
|
||||
answers: [
|
||||
{ id: "a", text: "Python", imageUrl: "https://example.com/python.jpg", isCorrect: false },
|
||||
{ id: "b", text: "Java", imageUrl: "https://example.com/java.jpg", isCorrect: false },
|
||||
{ id: "a", text: "Python", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false },
|
||||
{ id: "b", text: "Java", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false },
|
||||
{ id: "c", text: "JavaScript", isCorrect: true },
|
||||
{ id: "d", text: "C++", isCorrect: false }
|
||||
]
|
||||
@@ -77,15 +76,15 @@ const App = () => {
|
||||
{
|
||||
id: 4,
|
||||
text: "Какое животное изображено на картинке?",
|
||||
imageUrl: "https://example.com/animal.jpg",
|
||||
imageUrl: "https://placehold.jp/150x150.png",
|
||||
type: "single",
|
||||
timeLimit: 20,
|
||||
points: 100,
|
||||
answers: [
|
||||
{ id: "a", text: "Собака", imageUrl: "https://example.com/dog.jpg", isCorrect: false },
|
||||
{ id: "b", text: "Кошка", imageUrl: "https://example.com/cat.jpg", isCorrect: true },
|
||||
{ id: "c", text: "Птица", imageUrl: "https://example.com/bird.jpg", isCorrect: false },
|
||||
{ id: "d", text: "Рыба", imageUrl: "https://example.com/fish.jpg", isCorrect: false }
|
||||
{ id: "a", text: "Собака", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false },
|
||||
{ id: "b", text: "Кошка", imageUrl: "https://placehold.jp/150x150.png", isCorrect: true },
|
||||
{ id: "c", text: "Птица", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false },
|
||||
{ id: "d", text: "Рыба", imageUrl: "https://placehold.jp/150x150.png", isCorrect: false }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user