feat: remove unused texture files and add model metadata
- Deleted various texture files related to the Raspberry Pi camera model. - Introduced a new JSON file to store model metadata including IDs, names, and URLs. - Implemented authentication and session management using Supabase. - Created a header component for navigation and user session display. - Added protected routes to restrict access to certain pages. - Developed a private layout for authenticated users. - Enhanced the home page to dynamically load models from the new JSON file. - Updated the login page to handle user authentication. - Created a model uploader for users to upload 3D models. - Improved overall styling and layout for better user experience.
This commit is contained in:
22
public/models.json
Normal file
22
public/models.json
Normal file
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"id": "brazo",
|
||||
"name": "Brazo Robótico",
|
||||
"url": "/visor3d/3d/brazo.glb"
|
||||
},
|
||||
{
|
||||
"id": "alcohol",
|
||||
"name": "Composición del Alcohol",
|
||||
"url": "/visor3d/3d/alcohol.glb"
|
||||
},
|
||||
{
|
||||
"id": "hydrolisis",
|
||||
"name": "Hidrolisis",
|
||||
"url": "/visor3d/3d/hydrolisis.glb"
|
||||
},
|
||||
{
|
||||
"id": "motor",
|
||||
"name": "Motor de Combustión",
|
||||
"url": "/visor3d/3d/motor_de_combustion.glb"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user