diff --git a/bihar-culture-landing/Khelobihar.html b/bihar-culture-landing/Khelobihar.html index ad086f0..448d6f1 100644 --- a/bihar-culture-landing/Khelobihar.html +++ b/bihar-culture-landing/Khelobihar.html @@ -4,10 +4,16 @@ Khelo Bihar: Sports & Youth +

Khelo Bihar

+

Sports and Youth Empowerment in Bihar

diff --git a/bihar-culture-landing/assets/images/dark_mode.png b/bihar-culture-landing/assets/images/dark_mode.png new file mode 100644 index 0000000..9b4c1b0 Binary files /dev/null and b/bihar-culture-landing/assets/images/dark_mode.png differ diff --git a/bihar-culture-landing/assets/images/light_mode.png b/bihar-culture-landing/assets/images/light_mode.png new file mode 100644 index 0000000..15e1ae8 Binary files /dev/null and b/bihar-culture-landing/assets/images/light_mode.png differ diff --git a/bihar-culture-landing/culture.html b/bihar-culture-landing/culture.html index 46d90ef..af27eae 100644 --- a/bihar-culture-landing/culture.html +++ b/bihar-culture-landing/culture.html @@ -4,6 +4,7 @@ Bihar Culture & Arts + @@ -12,6 +13,11 @@

Culture & Arts of Bihar

+

Where Tradition Meets Timeless Beauty

Explore the rich art, music, and heritage that define the soul of Bihar.

diff --git a/bihar-culture-landing/darkmode.js b/bihar-culture-landing/darkmode.js new file mode 100644 index 0000000..d278c22 --- /dev/null +++ b/bihar-culture-landing/darkmode.js @@ -0,0 +1,31 @@ +let darkmode = localStorage.getItem('darkmode') +const themeSwitch = document.getElementById('theme-switch') + +const enableDarkmode = () => { + document.body.classList.add('darkmode') + localStorage.setItem('darkmode', 'active') +} + +const disableDarkmode = () => { + document.body.classList.remove('darkmode') + localStorage.setItem('darkmode', null) +} + +themeSwitch.addEventListener("click", () => { + darkmode = localStorage.getItem('darkmode') + if (darkmode === "active") { + enableDarkmode() + } + else{ + disableDarkmode() + } +}) +themeSwitch.addEventListener("click", () => { + darkmode = localStorage.getItem('darkmode') + if (darkmode !== "active") { + enableDarkmode() + } + else{ + disableDarkmode() + } +}) \ No newline at end of file diff --git a/bihar-culture-landing/festivals.html b/bihar-culture-landing/festivals.html index 46ca1c0..4949822 100644 --- a/bihar-culture-landing/festivals.html +++ b/bihar-culture-landing/festivals.html @@ -4,6 +4,7 @@ Bihar Festivals + @@ -12,6 +13,11 @@

Festivals of Bihar

+

Rythm of Devotion, Soul of a State

Checkout the seamless beauty of festivals of Bihar

diff --git a/bihar-culture-landing/history.html b/bihar-culture-landing/history.html index 40a3f45..7d7d0ef 100644 --- a/bihar-culture-landing/history.html +++ b/bihar-culture-landing/history.html @@ -4,10 +4,16 @@ Bihar History +

History & Heritage

+

Weaving the tapestry of Bihar

diff --git a/bihar-culture-landing/index.html b/bihar-culture-landing/index.html index cd408a4..446168e 100644 --- a/bihar-culture-landing/index.html +++ b/bihar-culture-landing/index.html @@ -6,11 +6,17 @@ Bihar Culture - Discover the Rich Heritage of Bihar +

बिहार संस्कृति

+

Bihar Culture

Discover the Rich Heritage and Vibrant Culture of Bihar

diff --git a/bihar-culture-landing/modern.html b/bihar-culture-landing/modern.html index 511db20..41c51f7 100644 --- a/bihar-culture-landing/modern.html +++ b/bihar-culture-landing/modern.html @@ -4,10 +4,16 @@ Modern Bihar +

Modern Bihar

+