From 9e0e842c2d4d71723663c59826a0ab7973706d8d Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Sat, 11 Oct 2025 11:03:20 +0200 Subject: [PATCH] =?UTF-8?q?Podzimn=C3=AD=20atmosf=C3=A9ra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/public/leaf-brown.svg | 22 +++ client/public/leaf-green.svg | 22 +++ client/public/leaf-orange.svg | 22 +++ client/public/leaf-red.svg | 22 +++ client/public/leaf-yellow.svg | 22 +++ client/public/leaf.svg | 22 +++ client/src/App.tsx | 6 + client/src/FallingLeaves.scss | 31 ++++ client/src/FallingLeaves.tsx | 317 ++++++++++++++++++++++++++++++++++ 9 files changed, 486 insertions(+) create mode 100644 client/public/leaf-brown.svg create mode 100644 client/public/leaf-green.svg create mode 100644 client/public/leaf-orange.svg create mode 100644 client/public/leaf-red.svg create mode 100644 client/public/leaf-yellow.svg create mode 100644 client/public/leaf.svg create mode 100644 client/src/FallingLeaves.scss create mode 100644 client/src/FallingLeaves.tsx diff --git a/client/public/leaf-brown.svg b/client/public/leaf-brown.svg new file mode 100644 index 0000000..f7458ac --- /dev/null +++ b/client/public/leaf-brown.svg @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/client/public/leaf-green.svg b/client/public/leaf-green.svg new file mode 100644 index 0000000..084a95b --- /dev/null +++ b/client/public/leaf-green.svg @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/client/public/leaf-orange.svg b/client/public/leaf-orange.svg new file mode 100644 index 0000000..b1a3d4a --- /dev/null +++ b/client/public/leaf-orange.svg @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/client/public/leaf-red.svg b/client/public/leaf-red.svg new file mode 100644 index 0000000..5b44239 --- /dev/null +++ b/client/public/leaf-red.svg @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/client/public/leaf-yellow.svg b/client/public/leaf-yellow.svg new file mode 100644 index 0000000..aff490d --- /dev/null +++ b/client/public/leaf-yellow.svg @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/client/public/leaf.svg b/client/public/leaf.svg new file mode 100644 index 0000000..d064de2 --- /dev/null +++ b/client/public/leaf.svg @@ -0,0 +1,22 @@ + + + + + + diff --git a/client/src/App.tsx b/client/src/App.tsx index 9fab6f0..035ee83 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -20,6 +20,8 @@ import NoteModal from './components/modals/NoteModal'; import { useEasterEgg } from './context/eggs'; import { ClientData, Food, PizzaOrder, DepartureTime, PizzaDayState, Restaurant, RestaurantDayMenu, RestaurantDayMenuMap, LunchChoice, UserLunchChoice, PizzaVariant, getData, getEasterEggImage, addPizza, removePizza, updatePizzaDayNote, createPizzaDay, deletePizzaDay, lockPizzaDay, unlockPizzaDay, finishOrder, finishDelivery, addChoice, jdemeObed, removeChoices, removeChoice, updateNote, changeDepartureTime } from '../../types'; import { getLunchChoiceName } from './enums'; +import FallingLeaves, { LEAF_PRESETS, LEAF_COLOR_THEMES } from './FallingLeaves'; +import './FallingLeaves.scss'; const EVENT_CONNECT = "connect" @@ -684,6 +686,10 @@ function App() { || "Jejda, něco se nám nepovedlo :("} +