- Remove hardcoded <script> and <link> tags for sweetalert2 from index.html
(library is already bundled via npm, CDN paths caused 404 + MIME errors)
- Remove deprecated 'exact' prop and 'activeClassName' from NavLink in
Navbar.js and NavbarUpload.js (not supported in React Router v6)
- Replace activeClassName with className={({ isActive }) => ...} pattern
- Add future flags to <BrowserRouter> in App.js:
v7_startTransition and v7_relativeSplatPath to suppress RR v6 warnings
34 lines
1.6 KiB
HTML
34 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<!-- Favicons: multiple sizes for different platforms -->
|
|
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/logo-16.png" />
|
|
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/logo-32.png" />
|
|
<link rel="icon" type="image/png" sizes="180x180" href="%PUBLIC_URL%/logo-180.png" />
|
|
<link rel="icon" type="image/png" sizes="192x192" href="%PUBLIC_URL%/logo-192.png" />
|
|
<link rel="icon" type="image/png" sizes="512x512" href="%PUBLIC_URL%/logo-512.png" />
|
|
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#323377" />
|
|
<meta
|
|
name="description"
|
|
content="Share your images smoothly over the internet."
|
|
/>
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/logo-180.png" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
|
<script src="https://kit.fontawesome.com/fc1a4a5a71.js" crossorigin="anonymous"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@100&display=swap" rel="stylesheet">
|
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
|
|
<title>Image Uploader</title>
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<script src="%PUBLIC_URL%/env-config.js"></script>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|