main page working

This commit is contained in:
2025-12-11 19:59:17 +10:00
parent c495c26320
commit 7a83c54165
6 changed files with 317 additions and 377 deletions

View File

@@ -1,4 +1,47 @@
-
// Данные для меню навигации
var menuItems = {
Home: './index.html',
Embedded: './embeded_details.html',
OpenCV: './opencv_details.html',
Photography: './photography_details.html',
Table: './table.html',
Institute: './images/institute.png'
};
// Данные для боковых карточек
var smallCards = [
{
header: 'Заголовок',
text: '3D printers are versatile tools used for creating prototypes, custom parts, and artistic designs. They work by layering materials.',
image: '../images/16x10/3d-printer.jpeg',
imageAlt: '3D Printer',
link: '#',
},
{
header: 'BLHeli ESCs',
text: 'BLHeli ESCs are electronic speed controllers designed for drones, offering smooth and precise motor control.',
image: '../images/16x10/blheli-esc.jpeg',
imageAlt: 'BLHeli ESC',
link: '#',
},
{
header: 'Raspberry Pi Nano',
text: 'Raspberry Pi Nano is a compact computer ideal for learning, prototyping, and IoT projects. It is highly energy-efficient.',
image: '../images/16x10/rpi-nano.jpeg',
imageAlt: 'Raspberry Pi Nano',
link: '#',
},
{
header: 'Smart Thermostats',
text: 'Smart thermostats help regulate home temperatures efficiently, saving energy and enhancing comfort with automation.',
image: '../images/16x10/thermostat.jpeg',
imageAlt: 'Smart Thermostat',
link: '#',
}
];
const pages = {
embedded: {
title: 'Embedded Details',