From a6a4427b1eea45ee789b0ed60a739de568c43138 Mon Sep 17 00:00:00 2001 From: imhson Date: Tue, 13 Aug 2024 16:00:06 +0700 Subject: [PATCH] update dark --- .../pudgy-asia-tour/FooterAnimationSection.tsx | 15 +++++++++++++-- .../pages/event/pudgy-asia-tour/assets/light.svg | 10 ++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 src/components/pages/event/pudgy-asia-tour/assets/light.svg diff --git a/src/components/pages/event/pudgy-asia-tour/FooterAnimationSection.tsx b/src/components/pages/event/pudgy-asia-tour/FooterAnimationSection.tsx index bded00dd..e10bda09 100644 --- a/src/components/pages/event/pudgy-asia-tour/FooterAnimationSection.tsx +++ b/src/components/pages/event/pudgy-asia-tour/FooterAnimationSection.tsx @@ -8,6 +8,7 @@ import Bus1 from './assets/Bus 1.svg' import Bus2 from './assets/Bus 2.svg' import Car from './assets/Car.svg' import Taxi from './assets/Taxi.svg' +import Light from './assets/light.svg' import { motion } from 'framer-motion' export default function FooterAnimationSection() { const hours = moment().hours() @@ -28,7 +29,9 @@ export default function FooterAnimationSection() { left: `${xPosition * 100}%`, }} /> - + + + {isDay ? <> :
} + {!isDay && ( + + )} + {!isDay && ( + + )} + {!isDay && } + {!isDay && } ) diff --git a/src/components/pages/event/pudgy-asia-tour/assets/light.svg b/src/components/pages/event/pudgy-asia-tour/assets/light.svg new file mode 100644 index 00000000..02bbca56 --- /dev/null +++ b/src/components/pages/event/pudgy-asia-tour/assets/light.svg @@ -0,0 +1,10 @@ + + + + + + + + + +