Fixed auth page and tracker
This commit is contained in:
@ -135,9 +135,10 @@
|
||||
line-height: 32px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 5px;
|
||||
margin-left: 41px;
|
||||
font-size: 12px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -194,6 +195,10 @@
|
||||
width: 424px;
|
||||
left: 140px;
|
||||
|
||||
@media (max-width: 1440px) {
|
||||
left: 79px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
@ -33,9 +33,11 @@ export const SliderWorkers = ({}) => {
|
||||
|
||||
const settings = {
|
||||
infinite: true,
|
||||
speed: 300,
|
||||
speed: 1000,
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 1,
|
||||
autoplay: true,
|
||||
autoplaySpeed: 4500,
|
||||
};
|
||||
|
||||
if (window.innerWidth < 575) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { useState } from "react";
|
||||
import { useDispatch } from "react-redux";
|
||||
import { setProject } from "../../../redux/projectsTrackerSlice";
|
||||
import { setProject } from "../../../redux/projectsTrackerSlice";
|
||||
|
||||
import "./ModalCreate.scss";
|
||||
|
||||
@ -9,13 +9,17 @@ export const ModalCreate = ({ active, setActive, title }) => {
|
||||
const dispatch = useDispatch();
|
||||
|
||||
function createName() {
|
||||
let newItem = {
|
||||
name: inputValue,
|
||||
count: 0,
|
||||
};
|
||||
dispatch(setProject(newItem));
|
||||
setActive(false);
|
||||
setInputValue("")
|
||||
if (inputValue === "") {
|
||||
return;
|
||||
} else {
|
||||
let newItem = {
|
||||
name: inputValue,
|
||||
count: 0,
|
||||
};
|
||||
dispatch(setProject(newItem));
|
||||
setActive(false);
|
||||
setInputValue("");
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user