Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LandingPage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<!-- <link rel="icon" type="image/svg+xml" href="/" /> -->
<script src="https://cdn.tailwindcss.com"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>InPactAI</title>
Comment on lines +5 to +8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Consider restoring a real favicon link.

With the favicon commented out, browsers will show a generic icon. If you have an asset, wire it back in for polish.

💡 Example fix (adjust the path to your actual asset)
-    <!-- <link rel="icon" type="image/svg+xml" href="/" /> -->
+    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<!-- <link rel="icon" type="image/svg+xml" href="/" /> -->
<script src="https://cdn.tailwindcss.com"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>InPactAI</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<script src="https://cdn.tailwindcss.com"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InPactAI</title>
🤖 Prompt for AI Agents
In `@LandingPage/index.html` around lines 5 - 8, Uncomment and restore the favicon
link in LandingPage/index.html by re-enabling the commented <link rel="icon"
...> element, update its href to point to your actual favicon asset (e.g.,
/favicon.ico or /assets/favicon.svg) and ensure the type attribute matches the
file (image/x-icon for .ico or image/svg+xml for .svg) so browsers display your
branded icon instead of a generic one.

</head>
<body>
<div id="root"></div>
Expand Down
1 change: 0 additions & 1 deletion LandingPage/public/vite.svg

This file was deleted.

50 changes: 21 additions & 29 deletions LandingPage/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,35 +1,27 @@
import { BrowserRouter, Routes, Route } from 'react-router-dom';
// import Lenis from '@studio-freight/lenis';
import Landing from '../src/Pages/Landing';
import PrivacyPolicy from './Pages/Privacy';
import TermsOfService from './Pages/Legal';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Landing from './Pages/Landing';
import Privacy from './Pages/Privacy';
import Legal from './Pages/Legal';
import Navbar from './components/Navbar';
import Footer from './components/Footer';
import LayoutFrame from './components/LayoutFrame';
import ScrollToTop from './components/ScrollToTop';

function App() {
// useEffect(() => {
// const lenis = new Lenis({
// duration: 1.2,
// easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)),
// smoothWheel: true,
// });

// function raf(time: number) {
// lenis.raf(time);
// requestAnimationFrame(raf);
// }

// requestAnimationFrame(raf);
// }, []);

return (
<BrowserRouter>
<Routes>
<Route path="/" element={<Landing />} />
<Route path="/privacy-policy" element={<PrivacyPolicy />} />
<Route path="/terms-of-service" element={<TermsOfService />} />
{/* <Route path="*" element={<Landing />} /> */}
</Routes>
{/* <Toaster position="top-right" /> */}
</BrowserRouter>
<Router>
<ScrollToTop />
<div className='bg-[#0a0a0b] min-h-screen relative text-white antialiased selection:bg-purple-500/30 font-sans'>
<LayoutFrame />
<Navbar />
<Routes>
<Route path="/" element={<Landing />} />
<Route path="/privacy" element={<Privacy />} />
<Route path="/legal" element={<Legal />} />
</Routes>
<Footer />
</div>
</Router>
);
}

Expand Down
Loading