You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-10 22:41:43 +02:00
Доработка доков
This commit is contained in:
4
docs/docusaurus/src/css/custom.css
vendored
4
docs/docusaurus/src/css/custom.css
vendored
@@ -459,9 +459,9 @@ li > a.menu__link {
|
||||
@keyframes fall {
|
||||
0% {
|
||||
transform: translateY(-100px);
|
||||
opacity: 0.15;
|
||||
opacity: 0.25;
|
||||
}
|
||||
28% {
|
||||
27% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
|
8
docs/docusaurus/src/pages/index.js
vendored
8
docs/docusaurus/src/pages/index.js
vendored
@@ -38,16 +38,14 @@ const iconList = [
|
||||
];
|
||||
|
||||
const FallingIcons = () => {
|
||||
|
||||
const baseIconCount = 350;
|
||||
const iconCount = Math.round(baseIconCount * (window.innerWidth / 1000));
|
||||
const iconCount = 60; // количество падающих иконок
|
||||
const icons = [];
|
||||
|
||||
for (let i = 0; i < iconCount; i++) {
|
||||
const randomIcon = iconList[Math.floor(Math.random() * iconList.length)];
|
||||
const left = (i / (iconCount - 1)) * 100; // равномерное распределение по ширине
|
||||
const duration = Math.random() + 40;// случайная длительность от 6 до 10 секунд
|
||||
const delay = Math.random() * 40; // случайная задержка от 0 до 5 секунд
|
||||
const duration = Math.random() + 20;// случайная длительность от 6 до 10 секунд
|
||||
const delay = Math.random() * 20; // случайная задержка от 0 до 5 секунд
|
||||
|
||||
icons.push(
|
||||
<img
|
||||
|
3
docs/docusaurus/src/pages/index.module.css
vendored
3
docs/docusaurus/src/pages/index.module.css
vendored
@@ -102,5 +102,4 @@
|
||||
|
||||
.textContainer {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user