Added ThemeToggle

Added Footer
This commit is contained in:
Rahaf
2025-12-23 22:00:31 +03:00
parent 914078190f
commit 3ff54588ba
6 changed files with 203 additions and 57 deletions

View File

@ -1,26 +1,32 @@
import React from "react";
import "./i18n"; // Import i18n configuration
import "./i18n";
import Navbar from "./Components/Nav/Navbar";
import Home from "./Components/Sections/Home/Home";
import Services from "./Components/Sections/Services/Services";
import About from "./Components/Sections/About/About";
import Contact from "./Components/Sections/Contact/Contact";
import ImagePreloader from "./Components/ImagePreloader";
import Footer from "./Components/Nav/Footer";
import "./App.css";
function App() {
const App = () => {
return (
<ImagePreloader>
<div className="App">
<Navbar />
<Home />
<Services />
<About />
<Contact />
<div className="min-h-screen bg-white dark:bg-gray-900 text-gray-900 dark:text-white transition-colors duration-300">
<div className="flex flex-col min-h-screen">
<Navbar />
<main className="flex-grow">
<Home />
<Services />
<About />
<Contact />
</main>
<Footer />
</div>
</div>
</ImagePreloader>
);
}
};
export default App;
//test
export default App;