diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..50d74ae --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: pnpm install && pnpm run build + command: pnpm run start + + diff --git a/components/Hero/index.tsx b/components/Hero/index.tsx index 007698b..3761ef4 100644 --- a/components/Hero/index.tsx +++ b/components/Hero/index.tsx @@ -10,7 +10,7 @@ import {useState,useEffect} from 'react'; import axios from 'axios'; import FormData from 'form-data'; import Image from "next/image"; - +import '../../styles/mode.css' const Hero = () => { const [addresses, setAddresses] = useState(data); const EVStationData = chargingData; @@ -215,6 +215,7 @@ const nearbyAddresses = searchNearbyAddressesWithIncreasedRadius(5, 20); alt="Animated GIF" className="object-cover mt-[200px]" width={400} + id="image" height={400} /> @@ -253,7 +254,7 @@ const nearbyAddresses = searchNearbyAddressesWithIncreasedRadius(5, 20); transform="rotate(-13.421 214.505 60.5054)" stroke="url(#paint4_linear_25:218)" /> - + =10'} - dev: false + dev: false \ No newline at end of file diff --git a/styles/mode.css b/styles/mode.css new file mode 100644 index 0000000..607057f --- /dev/null +++ b/styles/mode.css @@ -0,0 +1,6 @@ +.light #image{ + filter:invert(8%); +} +.light #circle{ + filter: invert(1); +} \ No newline at end of file