feat : add package flag-icon

This commit is contained in:
Ali Josheghani
2024-05-28 00:19:58 +03:30
parent 4fabe8856e
commit 8dc97f4ec1
5 changed files with 23 additions and 7 deletions

6
package-lock.json generated
View File

@@ -11,6 +11,7 @@
"@tsparticles/engine": "^3.4.0", "@tsparticles/engine": "^3.4.0",
"@tsparticles/react": "^3.0.0", "@tsparticles/react": "^3.0.0",
"@tsparticles/slim": "^3.4.0", "@tsparticles/slim": "^3.4.0",
"country-flag-icons": "^1.5.11",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
@@ -2250,6 +2251,11 @@
"integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
"dev": true "dev": true
}, },
"node_modules/country-flag-icons": {
"version": "1.5.11",
"resolved": "https://registry.npmjs.org/country-flag-icons/-/country-flag-icons-1.5.11.tgz",
"integrity": "sha512-B+mvFywunkRJs270k7kCBjhogvIA0uNn6GAXv6m2cPn3rrwqZzZVr2gBWcz+Cz7OGVWlcbERlYRIX0S6OGr8Bw=="
},
"node_modules/cross-spawn": { "node_modules/cross-spawn": {
"version": "7.0.3", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",

View File

@@ -13,6 +13,7 @@
"@tsparticles/engine": "^3.4.0", "@tsparticles/engine": "^3.4.0",
"@tsparticles/react": "^3.0.0", "@tsparticles/react": "^3.0.0",
"@tsparticles/slim": "^3.4.0", "@tsparticles/slim": "^3.4.0",
"country-flag-icons": "^1.5.11",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",

BIN
src/assets/ui/Rocket.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

View File

@@ -1,10 +1,10 @@
import React from 'react' import React from "react";
import ReactDOM from 'react-dom/client' import ReactDOM from "react-dom/client";
import App from './App.tsx' import App from "./App.tsx";
import './index.css' import "./index.css";
ReactDOM.createRoot(document.getElementById('root')!).render( ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode> <React.StrictMode>
<App /> <App />
</React.StrictMode>, </React.StrictMode>
) );

View File

@@ -9,12 +9,21 @@ export default {
}, },
animation: { animation: {
pulse: "pulse 1.5s ease-in-out infinite", pulse: "pulse 1.5s ease-in-out infinite",
bounce: "bounce 3s infinite",
}, },
keyframes: { keyframes: {
pulse: { pulse: {
"0%": { transform: "scale(1)", opacity: "1" }, "0%": { transform: "scale(1)", opacity: "1" },
"100%": { transform: "scale(1.5)", opacity: "0" }, "100%": { transform: "scale(1.5)", opacity: "0" },
}, },
bounce: {
"0%, 100%": {
transform: "translateY(-10%)",
},
"50%": {
transform: "none",
},
},
}, },
}, },
}, },