diff --git a/src/App.css b/src/App.css index 1b2d9fa..5b1acdf 100644 --- a/src/App.css +++ b/src/App.css @@ -26,6 +26,51 @@ body, html { animation: fadeIn 0.3s ease-in-out forwards; } +/* New animations for DataStatsPage */ +@keyframes fade-in { + from { opacity: 0; } + to { opacity: 1; } +} + +@keyframes slide-up { + from { opacity: 0; transform: translateY(20px); } + to { opacity: 1; transform: translateY(0); } +} + +@keyframes fade-in-up { + from { opacity: 0; transform: translateY(30px); } + to { opacity: 1; transform: translateY(0); } +} + +@keyframes slide-in-left { + from { opacity: 0; transform: translateX(-20px); } + to { opacity: 1; transform: translateX(0); } +} + +.animate-fade-in { + animation: fade-in 0.8s ease-out forwards; +} + +.animate-slide-up { + animation: slide-up 0.6s ease-out forwards; +} + +.animate-fade-in-up { + animation: fade-in-up 0.8s ease-out forwards; +} + +.animate-slide-in-left { + animation: slide-in-left 0.6s ease-out forwards; +} + +.delay-100 { + animation-delay: 0.1s; +} + +.delay-200 { + animation-delay: 0.2s; +} + /* Custom scrollbar for search results */ .custom-scrollbar::-webkit-scrollbar { width: 6px; diff --git a/src/App.tsx b/src/App.tsx index dde6a58..9bf8520 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,6 +6,8 @@ import StatisticsSection from './components/StatisticsSection'; import FeaturesSection from './components/FeaturesSection'; import Footer from './components/Footer'; import CandidatePage from './components/CandidatePage/CandidatePage'; +import DataStatsPage from './components/DataStatsPage'; +import NotFound from './components/NotFound'; import MatrixBackground from './components/MatrixBackground'; import './App.css'; @@ -14,6 +16,7 @@ const HomePage: React.FC = () => (
+
); @@ -28,6 +31,8 @@ function App() { } /> } /> + } /> + } />