You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the main HTML file that serves as the entry point of your application.
<!-- index.html --><!DOCTYPE html><htmllang="en"><head><!-- Meta Tags --><metacharset="UTF-8" /><metahttp-equiv="X-UA-Compatible" content="IE=edge" /><metaname="viewport" content="width=device-width, initial-scale=1.0" /><!-- Page Title --><title>Human Activity Recognition (HAR) System</title><!-- Favicon --><linkrel="icon" href="/favicon.ico" /><!-- Preconnect for Performance Optimization --><linkrel="preconnect" href="https://fonts.googleapis.com" /><linkrel="preconnect" href="https://fonts.gstatic.com" crossorigin/><!-- Google Fonts (Optional) --><linkhref="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
rel="stylesheet"
/><!-- Meta Tags for SEO --><metaname="description"
content="A scalable, ontology-based, fully probabilistic Human Activity Recognition system."
/><metaname="keywords"
content="Human Activity Recognition, HAR, Ontology, Probabilistic Reasoning, AI, Machine Learning"
/><!-- Open Graph Meta Tags for Social Sharing (Optional) --><metaproperty="og:title" content="Human Activity Recognition (HAR) System" /><metaproperty="og:description"
content="A scalable, ontology-based, fully probabilistic Human Activity Recognition system."
/><metaproperty="og:image" content="/images/har-system-thumbnail.png" /><metaproperty="og:url" content="https://yourdomain.com" /><metaname="twitter:card" content="summary_large_image" /></head><bodyclass="antialiased text-gray-800"><!-- Root Div for React --><divid="root"></div><!-- Vite Script --><!-- The script tag is automatically injected by Vite during development and build --></body></html>
Notes:
Fonts and Styles:
Uses the "Inter" font for a modern look.
Tailwind CSS styles are included via index.css imported in your React app.
SEO and Social Sharing:
Meta tags for search engine optimization.
Open Graph tags for better link previews on social media.
Accessibility:
The lang attribute is set to "en" for English.
The viewport meta tag ensures responsiveness on mobile devices.
2. index.css
This CSS file includes Tailwind CSS directives and custom styles for your application.
1. index.html
This is the main HTML file that serves as the entry point of your application.
Notes:
index.css
imported in your React app.lang
attribute is set to"en"
for English.viewport
meta tag ensures responsiveness on mobile devices.2. index.css
This CSS file includes Tailwind CSS directives and custom styles for your application.
Notes:
@tailwind base;
@tailwind components;
@tailwind utilities;
@apply
directive.3. index.tsx
This is the entry point of your React application.
Notes:
App
component from./App
.index.css
for global styles.ReactDOM.render
to mount theApp
component into theroot
div.React.StrictMode
for highlighting potential problems.4. App.tsx
The main application component that sets up routing and context providers.
Notes:
react-router-dom
for client-side routing.React.lazy
andSuspense
to improve performance.ProtectedRoute
component checks if the user is an admin before granting access to admin routes.ErrorBoundary
component catches JavaScript errors and displays a fallback UI.The text was updated successfully, but these errors were encountered: