This commit is contained in:
Timourka 2023-11-24 09:42:27 +04:00
parent 6dbb6afa3e
commit 63b5b84495
11 changed files with 23 additions and 22 deletions

View File

@ -7,8 +7,11 @@
<title>unreal tests</title>
</head>
<body id="root" class="d-flex flex-column" style="height: auto; min-height: 100%">
</body>
<body class="d-flex flex-column" style="height: auto; min-height: 100%">
<div id="root" class="d-flex flex-column" style="height: auto; min-height: 100%">
</div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>

View File

@ -1,11 +1,11 @@
import { Link } from "react-router-dom";
import { Link } from 'react-router-dom';
const CreatedTest = () => {
return (
<div className="row justify-content-center align-items-center g-2 mt-1 mb-1">
<div className="col-2">пёс</div>
<div className="col">ПЁЁЁСdfghkl;khgddfhkl;kjgfgh</div>
<Link to="/testPage" class="col-2 btn btn-primary startButton">открыть тест</Link>
<Link to="/testPage" className="col-2 btn btn-primary startButton">открыть тест</Link>
<Link to="#" className="col-2 btn btn-secondary startButton">изменить</Link>
<Link to="#" className="col-2 btn btn-danger startButton">удалить</Link>
</div>

View File

@ -8,10 +8,10 @@ const Header = () => {
<nav className="navbar navbar-expand-md navbar-dark">
<div className="container-fluid">
<Link className="navbar-brand" to="/">
<name>
<div>
<img src={icon} className="img-fluid" alt={'...'}/>
Нереальные тесты
</name>
</div>
</Link>
<button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">

View File

@ -1,4 +1,4 @@
import { Button, Form } from 'react-bootstrap';
import { Form } from 'react-bootstrap';
const Question = () => {
return (

View File

@ -1,4 +1,3 @@
import { Link } from 'react-router-dom';
import { Button, Form } from 'react-bootstrap';
import Question from '../components/question/Question.jsx';

View File

@ -5,11 +5,11 @@ const LogIn = () => {
<>
<Form className="col-md-6 mx-auto mt-3" action="./profile.html" method="get">
<Form.Group className="mb-2">
<Form.Label className="form-label" for="email">E-mail</Form.Label>
<Form.Label className="form-label" htmlFor="email">E-mail</Form.Label>
<Form.Control id="email" name="email" className="form-control" type="email" placeholder="name@example.ru" required/>
</Form.Group>
<Form.Group className="mb-2">
<Form.Label className="form-label" for="password">Пароль</Form.Label>
<Form.Label className="form-label" htmlFor="password">Пароль</Form.Label>
<Form.Control id="password" name="password" className="form-control" type="password" required/>
</Form.Group>
<Form.Group className="text-center">

View File

@ -1,5 +1,5 @@
import RowTest from '../components/rowTest/RowTest';
import Caroucele from '../components/caroucele/Caroucele';
import RowTest from '../components/rowTest/RowTest.jsx';
import Caroucele from '../components/caroucele/Caroucele.jsx';
const MainPage = () => {
return (

View File

@ -1,5 +1,5 @@
import { Link } from 'react-router-dom';
import CreatedTest from '../components/createdTest/CreatedTest';
import CreatedTest from '../components/createdTest/CreatedTest.jsx';
const Profile = () => {
return (

View File

@ -5,20 +5,20 @@ const SignIn = () => {
<>
<Form className="col-md-6 mx-auto mt-3" action="./profile.html" method="get">
<Form.Group className="mb-2">
<Form.Label className="form-label" for="firstname">Логин</Form.Label>
<Form.Control id="firstname" name="firstname" class="form-control" type="text" placeholder="login" required/>
<Form.Label className="form-label" htmlFor="firstname">Логин</Form.Label>
<Form.Control id="firstname" name="firstname" className="form-control" type="text" placeholder="login" required/>
</Form.Group>
<Form.Group className="mb-2">
<Form.Label className="form-label" for="email">E-mail</Form.Label>
<Form.Control id="email" name="email" class="form-control" type="email" placeholder="name@example.ru" required/>
<Form.Label className="form-label" htmlFor="email">E-mail</Form.Label>
<Form.Control id="email" name="email" className="form-control" type="email" placeholder="name@example.ru" required/>
</Form.Group>
<Form.Group className="mb-2">
<Form.Label className="form-label" for="password">Пароль</Form.Label>
<Form.Control id="password" name="password" class="form-control" type="password" required/>
<Form.Label className="form-label" htmlFor="password">Пароль</Form.Label>
<Form.Control id="password" name="password" className="form-control" type="password" required/>
</Form.Group>
<Form.Group className="mb-2">
<Form.Label className="form-label" for="passwordAgain">Повторите ароль</Form.Label>
<Form.Control id="password" name="passwordAgain" class="form-control" type="password" required/>
<Form.Label className="form-label" htmlFor="passwordAgain">Повторите ароль</Form.Label>
<Form.Control id="passwordAgain" name="passwordAgain" className="form-control" type="password" required/>
</Form.Group>
<Form.Group className="text-center">
<Button className="btn btn-primary w-50 startButton" type="submit">Зарегестрироваться</Button>

View File

@ -1,4 +1,3 @@
import { Link } from 'react-router-dom';
import { Button, Form } from 'react-bootstrap';
const TestInProcess = () => {

Binary file not shown.