mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-23 03:25:07 +03:00
Restructure CSS
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { useImmer } from "use-immer";
|
||||
import { AlertsContainer, type Alert, type AlertType } from "../chat/ui/components/Alerts";
|
||||
import { AuthContainer, AuthHeader } from "../chat/ui/components/Auth";
|
||||
import type { ErrorResponse, LoginRequest, LoginResponse } from "../chat/core/types";
|
||||
import { ensureKeysOnLogin } from "../../api/authApi";
|
||||
import { API_BASE_URL } from "../chat/core/config";
|
||||
import type { ErrorResponse, LoginRequest, LoginResponse } from "../../core/types";
|
||||
import { ensureKeysOnLogin } from "../../core/api/authApi";
|
||||
import { API_BASE_URL } from "../../core/config";
|
||||
import { useRef } from "react";
|
||||
import type { TextField } from "mdui/components/text-field";
|
||||
import { useAppState } from "../chat/ui/state";
|
||||
import { MaterialTextField } from "../chat/ui/components/core/TextField";
|
||||
import { initialize, isSupported, startElectronReceiver, subscribe } from "../chat/push-notifications";
|
||||
import { isElectron } from "../chat/electron/electron";
|
||||
import { initialize, isSupported, startElectronReceiver, subscribe } from "../../core/push-notifications/push-notifications";
|
||||
import { isElectron } from "../../core/electron/electron";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import "./auth.scss";
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@ import { AuthContainer, AuthHeader } from "../chat/ui/components/Auth";
|
||||
import { AlertsContainer, type Alert, type AlertType } from "../chat/ui/components/Alerts";
|
||||
import { useRef } from "react";
|
||||
import { TextField } from "mdui/components/text-field";
|
||||
import type { ErrorResponse, RegisterRequest, LoginResponse } from "../chat/core/types";
|
||||
import { API_BASE_URL } from "../chat/core/config";
|
||||
import type { ErrorResponse, RegisterRequest, LoginResponse } from "../../core/types";
|
||||
import { API_BASE_URL } from "../../core/config";
|
||||
import { useAppState } from "../chat/ui/state";
|
||||
import { MaterialTextField } from "../chat/ui/components/core/TextField";
|
||||
import { ensureKeysOnLogin } from "../../api/authApi";
|
||||
import { ensureKeysOnLogin } from "../../core/api/authApi";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import "./auth.scss";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@use "../../css/common/colors" as *;
|
||||
@use "../../css/common/material" as *;
|
||||
@use "../../css/colors" as *;
|
||||
@use "../../css/material" as *;
|
||||
|
||||
.auth-container {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user