Add welcome to the registration

This commit is contained in:
2024-04-11 16:22:03 +03:00
parent 271374b6c6
commit fafab29d25
5 changed files with 153 additions and 3 deletions

View File

@ -0,0 +1,54 @@
import React, { useState } from "react";
import { AuthHeader } from "@components/Common/AuthHeader/AuthHeader";
import BaseButton from "@components/Common/BaseButton/BaseButton";
import { Footer } from "@components/Common/Footer/Footer";
import { Loader } from "@components/Common/Loader/Loader";
import SideBar from "@components/SideBar/SideBar";
import ITguild from "assets/images/logo/ITguild.svg";
import "./welcomePage.scss";
export const WelcomePage = () => {
const [loader, setLoader] = useState(false);
return (
<div className="welcome-page">
<AuthHeader />
<div className="welcome-page-component">
<div className="welcome-page-component__title">
<img src={ITguild}></img>
<h1>
Добро пожаловать в <span>ITGuild</span>
</h1>
</div>
<div className="welcome-page-component__text">
<p>
Создавайте и редактируйте задачи и проекты вместе с другими
участниками
<br /> команды. Сервис для работы с IT специалистами
</p>
</div>
<div className="button-box">
{loader ? (
<Loader />
) : (
<BaseButton
onClick={() => {
setLoader(true);
}}
styles="button-box__submit"
>
Начать
</BaseButton>
)}
</div>
</div>
<SideBar />
<Footer />
</div>
);
};

View File

@ -0,0 +1,44 @@
.welcome-page {
overflow: hidden;
background-color: #f1f1f1;
min-height: 100vh;
display: flex;
flex-direction: column;
&-component {
display: flex;
align-items: center;
flex-direction: column;
flex: 1;
&__title {
display: flex;
flex-direction: column;
align-items: center;
font-weight: 500;
font-size: 30px;
line-height: 32px;
margin-bottom: 45px;
img {
width: 151px;
margin: 70px 0 19px 0;
}
}
&__text {
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 22px;
margin-bottom: 45px;
}
.button-box__submit {
width: 174px;
height: 50px;
font-size: 18px;
font-weight: 500;
}
}
}