Skip to content

Commit 5b65417

Browse files
Merge pull request #9 from madhurimarawat/dark-mode-theme-saving
Add Dark Mode GIFs, LocalStorage Theme Support & README Updates 🌙🎨
2 parents 23f2d63 + 8b4cd57 commit 5b65417

File tree

7 files changed

+41
-9
lines changed

7 files changed

+41
-9
lines changed

README.md

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,15 @@ This repository includes academic notes, study materials, and resources from B.T
264264

265265
This folder contains the code for this website:
266266

267-
- The `index.html` file serves as the main page.
268-
- The website is user-friendly, featuring an intuitive interface that is easy to navigate.
269-
- Responsive design ensures the website looks great and functions well on all devices and screen sizes.
270-
- A dropdown menu allows dynamic color changes with options for Autumn, Summer, Rainy, and Winter. Upon selection, the website color changes instantly. Refreshing the page restores the default color scheme.
267+
* 🏠 The `index.html` file functions as the main landing page of the website.
268+
* 🧭 The website features a clean, user-friendly layout with an intuitive interface that is easy to navigate.
269+
* 📱 The responsive design ensures the website displays correctly and performs well across all devices and screen sizes.
270+
* 🌈 A dropdown menu allows users to switch between seasonal color themes such as **Autumn**, **Summer**, **Rainy**, and **Winter**. Upon selection, the website’s primary color updates instantly, creating a visually engaging experience.
271+
* 💾 The selected theme is stored using **LocalStorage**, allowing it to persist across browser sessions. The previously chosen theme is automatically applied when the user returns to the site.
272+
* 🌓 A **Dark Mode** toggle has been added to enhance accessibility and visual comfort. Its state is also saved using **LocalStorage**, ensuring the preference remains active until manually changed.
273+
* 🔄 A **"Default"** theme option is available in the dropdown to revert the site’s appearance to its original color scheme.
274+
* 📚 A separate **Resources** dropdown in the navigation bar provides convenient access to reference materials and command guides for tools like **Git**, **Hadoop**, and **Astyle**, helping users learn and explore essential technologies.
275+
271276
</details>
272277

273278
### Data Science and Artificial Intelligence Subjects
@@ -316,11 +321,15 @@ Semester-Notes/
316321
│ ├── css/
317322
│ │ ├── index.css # 🎨 Stylesheet for index.html
318323
│ │ └── commands.css # 🎨 Stylesheet for Astyle-Commands.html and Git-Commands.html and Hadoop-Commands.html
324+
│ │ ├── index-dark.css # 🌙 Dark theme for index.html
325+
│ │ └── commands-dark.css # 🌙 Dark theme for command pages
319326
│ │
320327
│ ├── js/
321328
│ │ ├── index.js # 🖥️ Script to dynamically change the primary color of the website
322-
│ │ └── commands.js # 📜 Script to manage the visibility of the color and copying of commands in Astyle-Commands.html and Git-Commands.html and Hadoop-| Commands.html
323-
329+
│ │ └── commands.js # 📜 Script manages theme and copy actions in command pages.
330+
| |
331+
│ ├── website_snapshots/ # 🖼️ Contains all website screenshots and demo GIFs for documentation
332+
324333
├── LICENSE # 📜 MIT License file
325334
326335
└── README.md # 📄 Documentation file for the repository
@@ -329,14 +338,37 @@ Semester-Notes/
329338
```
330339

331340
---
341+
332342
## Website Design
333343

334344
This website showcases a comprehensive repository of semester notes and study resources. It features a dynamic, color-changing dropdown menu using JavaScript. The content is organized into detailed sections, covering semester-wise subjects and commonly used commands for Astyle, Git and Hadoop. Visit the website at: [Website Link](https://madhurimarawat.github.io/Semester-Notes/).
335345

336-
<a href ="https://madhurimarawat.github.io/Semester-Notes/">![Screenshot 2024-07-19 103717](https://github.com/user-attachments/assets/f68840c1-f9ec-4db5-af80-789176a1fc47)<a>
346+
<a href="https://madhurimarawat.github.io/Semester-Notes/">
347+
<img src="docs/website_snapshots/website_1.png" width="100%">
348+
</a>
349+
350+
<a href="https://madhurimarawat.github.io/Semester-Notes/">
351+
<img src="docs/website_snapshots/website_2.png" width="100%">
352+
</a>
353+
354+
<a href="https://madhurimarawat.github.io/Semester-Notes/">
355+
<img src="docs/website_snapshots/website_3.png" width="100%">
356+
</a>
357+
358+
<a href="https://madhurimarawat.github.io/Semester-Notes/">
359+
<img src="docs/website_snapshots/subject-search-demo.gif" width="100%">
360+
</a>
361+
362+
<p align='center'>
363+
🅳🅰🆁🅺 🅼🅾🅳🅴 🌙🖤 </p>
364+
365+
<a href="https://madhurimarawat.github.io/Semester-Notes/">
366+
<img src="docs/website_snapshots/home-page-dark-mode.gif" width="100%">
367+
</a>
337368

338-
<a href ="https://madhurimarawat.github.io/Semester-Notes/"><img src = "https://github.com/user-attachments/assets/ea40513b-7e70-4b35-b174-3f162dd553f9" width = "100%"></a>
339-
<a href ="https://madhurimarawat.github.io/Semester-Notes/">![Screenshot 2024-07-19 104138](https://github.com/user-attachments/assets/65ba467b-38cd-411f-9e40-1eb8e26924c6)</a>
369+
<a href="https://madhurimarawat.github.io/Semester-Notes/">
370+
<img src="docs/website_snapshots/commands-page-dark-mode.gif" width="100%">
371+
</a>
340372

341373
---
342374

Loading
5.42 MB
Loading
1.62 MB
Loading

docs/website_snapshots/website_1.png

11.8 KB
Loading

docs/website_snapshots/website_2.png

236 KB
Loading

docs/website_snapshots/website_3.png

360 KB
Loading

0 commit comments

Comments
 (0)