mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
added dudes to clouds
This commit is contained in:
parent
1d28354436
commit
fc59ad9f80
5 changed files with 4109 additions and 1184 deletions
4058
public/images/clouds.svg
Normal file
4058
public/images/clouds.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 214 KiB |
|
@ -8,12 +8,12 @@
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg5"
|
id="svg5"
|
||||||
sodipodi:docname="muro_is_lost.svg"
|
sodipodi:docname="muro_is_lost.svg"
|
||||||
inkscape:version="1.2-dev (9ee32be, 2021-06-19)"
|
inkscape:version="1.2 (dc2aeda, 2022-05-15)"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
>
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
<sodipodi:namedview
|
<sodipodi:namedview
|
||||||
id="namedview7"
|
id="namedview7"
|
||||||
pagecolor="#1b1b1b"
|
pagecolor="#1b1b1b"
|
||||||
|
@ -28,15 +28,16 @@
|
||||||
inkscape:showpageshadow="false"
|
inkscape:showpageshadow="false"
|
||||||
showguides="true"
|
showguides="true"
|
||||||
inkscape:snap-global="false"
|
inkscape:snap-global="false"
|
||||||
inkscape:zoom="0.4148555"
|
inkscape:zoom="0.87736636"
|
||||||
inkscape:cx="472.45366"
|
inkscape:cx="1497.664"
|
||||||
inkscape:cy="984.6802"
|
inkscape:cy="657.08013"
|
||||||
inkscape:window-width="1440"
|
inkscape:window-width="1440"
|
||||||
inkscape:window-height="847"
|
inkscape:window-height="847"
|
||||||
inkscape:window-x="0"
|
inkscape:window-x="0"
|
||||||
inkscape:window-y="25"
|
inkscape:window-y="25"
|
||||||
inkscape:window-maximized="0"
|
inkscape:window-maximized="0"
|
||||||
inkscape:current-layer="layer2">
|
inkscape:current-layer="g73042"
|
||||||
|
inkscape:deskcolor="#1b1b1b">
|
||||||
<inkscape:grid
|
<inkscape:grid
|
||||||
type="xygrid"
|
type="xygrid"
|
||||||
id="grid9087" />
|
id="grid9087" />
|
||||||
|
@ -902,6 +903,13 @@
|
||||||
height="100%" />
|
height="100%" />
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
|
<ellipse
|
||||||
|
style="fill:#631f22;fill-opacity:1;stroke-width:1.20552;opacity:0.25581395"
|
||||||
|
id="path18572"
|
||||||
|
cx="369.51007"
|
||||||
|
cy="186.36795"
|
||||||
|
rx="5.5428786"
|
||||||
|
ry="5.4895811" />
|
||||||
</g>
|
</g>
|
||||||
<path
|
<path
|
||||||
id="rect2387-7"
|
id="rect2387-7"
|
||||||
|
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
@ -1,21 +1,21 @@
|
||||||
import React, { FC, useCallback } from 'react';
|
import React, { FC, useCallback } from "react";
|
||||||
|
|
||||||
import { LoginDialogButtons } from '~/components/auth/login/LoginDialogButtons';
|
import { LoginDialogButtons } from "~/components/auth/login/LoginDialogButtons";
|
||||||
import { Group } from '~/components/containers/Group';
|
import { Group } from "~/components/containers/Group";
|
||||||
import { Padder } from '~/components/containers/Padder';
|
import { Padder } from "~/components/containers/Padder";
|
||||||
import { BetterScrollDialog } from '~/components/dialogs/BetterScrollDialog';
|
import { BetterScrollDialog } from "~/components/dialogs/BetterScrollDialog";
|
||||||
import { DialogTitle } from '~/components/dialogs/DialogTitle';
|
import { DialogTitle } from "~/components/dialogs/DialogTitle";
|
||||||
import { Button } from '~/components/input/Button';
|
import { Button } from "~/components/input/Button";
|
||||||
import { InputText } from '~/components/input/InputText';
|
import { InputText } from "~/components/input/InputText";
|
||||||
import { Dialog } from '~/constants/modal';
|
import { Dialog } from "~/constants/modal";
|
||||||
import { useCloseOnEscape } from '~/hooks';
|
import { useCloseOnEscape } from "~/hooks";
|
||||||
import { useAuth } from '~/hooks/auth/useAuth';
|
import { useAuth } from "~/hooks/auth/useAuth";
|
||||||
import { useLoginForm } from '~/hooks/auth/useLoginForm';
|
import { useLoginForm } from "~/hooks/auth/useLoginForm";
|
||||||
import { useOAuth } from '~/hooks/auth/useOAuth';
|
import { useOAuth } from "~/hooks/auth/useOAuth";
|
||||||
import { useShowModal } from '~/hooks/modal/useShowModal';
|
import { useShowModal } from "~/hooks/modal/useShowModal";
|
||||||
import { DialogComponentProps } from '~/types/modal';
|
import { DialogComponentProps } from "~/types/modal";
|
||||||
|
|
||||||
import styles from './styles.module.scss';
|
import styles from "./styles.module.scss";
|
||||||
|
|
||||||
type LoginDialogProps = DialogComponentProps & {};
|
type LoginDialogProps = DialogComponentProps & {};
|
||||||
|
|
||||||
|
@ -30,10 +30,13 @@ const LoginDialog: FC<LoginDialogProps> = ({ onRequestClose }) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
showRestoreDialog({});
|
showRestoreDialog({});
|
||||||
},
|
},
|
||||||
[showRestoreDialog]
|
[showRestoreDialog],
|
||||||
);
|
);
|
||||||
|
|
||||||
const { values, errors, handleSubmit, handleChange } = useLoginForm(login, onRequestClose);
|
const { values, errors, handleSubmit, handleChange } = useLoginForm(
|
||||||
|
login,
|
||||||
|
onRequestClose,
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<form onSubmit={handleSubmit}>
|
<form onSubmit={handleSubmit}>
|
||||||
|
@ -51,7 +54,7 @@ const LoginDialog: FC<LoginDialogProps> = ({ onRequestClose }) => {
|
||||||
|
|
||||||
<InputText
|
<InputText
|
||||||
title="Логин"
|
title="Логин"
|
||||||
handler={handleChange('username')}
|
handler={handleChange("username")}
|
||||||
value={values.username}
|
value={values.username}
|
||||||
error={errors.username}
|
error={errors.username}
|
||||||
autoFocus
|
autoFocus
|
||||||
|
@ -59,7 +62,7 @@ const LoginDialog: FC<LoginDialogProps> = ({ onRequestClose }) => {
|
||||||
|
|
||||||
<InputText
|
<InputText
|
||||||
title="Пароль"
|
title="Пароль"
|
||||||
handler={handleChange('password')}
|
handler={handleChange("password")}
|
||||||
value={values.password}
|
value={values.password}
|
||||||
error={errors.password}
|
error={errors.password}
|
||||||
type="password"
|
type="password"
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
$secondary_color: darken(desaturate($blue, 100%), 30%);
|
$secondary_color: darken(desaturate($blue, 100%), 30%);
|
||||||
$vk_color: $secondary_color;
|
$vk_color: $secondary_color;
|
||||||
|
|
||||||
.dialog {}
|
.dialog {
|
||||||
|
}
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -52,4 +53,6 @@ $vk_color: $secondary_color;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
background: url(/images/clouds.svg) 50% 50%;
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 75 KiB |
Loading…
Add table
Add a link
Reference in a new issue