add auth window

This commit is contained in:
SlimusMinus
2026-04-29 23:24:53 +03:00
parent bfbe5f9873
commit eb180a7da8
22 changed files with 460 additions and 19 deletions

26
src/config/constants.js Normal file
View File

@@ -0,0 +1,26 @@
import bagIcon from '../assets/bag.svg';
import catIcon from '../assets/cat.png';
import dogIcon from '../assets/dog.png';
import phoneIcon from '../assets/phone.png';
import walletIcon from '../assets/wallet.png';
import parcelIcon from '../assets/parcel.png';
import cardIcon from '../assets/card.png';
import headphonesIcon from '../assets/headphones.png';
import watchIcon from '../assets/watch.png';
import glassesIcon from '../assets/glasses.png';
export const API_URL = process.env.REACT_APP_API_URL || "http://localhost:8080";
export const FLOAT_ICONS = [
{ icon: bagIcon, top: "5%", left: "5%", delay: "0s" },
{ icon: catIcon, top: "5%", right: "5%", delay: "1s" },
{ icon: dogIcon, top: "25%", left: "25%", delay: "0.4s" },
{ icon: phoneIcon, top: "25%", right: "17%", delay: "1.4s" },
{ icon: walletIcon, top: "45%", left: "5%", delay: "2s" },
{ icon: parcelIcon, top: "45%", right: "25%", delay: "0.7s" },
{ icon: cardIcon, top: "65%", left: "10%", delay: "1.7s" },
{ icon: headphonesIcon, top: "65%", right: "2%", delay: "2.4s" },
{ icon: watchIcon, bottom: "15%", left: "20%", delay: "3s" },
{ icon: glassesIcon, bottom: "5%", right: "20%", delay: "3.4s" },
];