Skip to content

Changed ThemeToggle.astro component to use Typescript instead of inline JS#78

Merged
midudev merged 5 commits intomidudev:mainfrom
nachomata:theme-toogle-typescript
Mar 2, 2026
Merged

Changed ThemeToggle.astro component to use Typescript instead of inline JS#78
midudev merged 5 commits intomidudev:mainfrom
nachomata:theme-toogle-typescript

Conversation

@nachomata
Copy link
Contributor

This change includes the refactoring of ThemeToggle.astro component to use Typescript instead of inline JS as long as some other minor changes to the code (see in different commits).

This change also makes Astro minify the JS and slightly reduce the page size.

Not minified JS (actual):
image

Minified JS is included in the /_astro/.js file.

@netlify
Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for animated-churros-60739d ready!

Name Link
🔨 Latest commit e09a35e
🔍 Latest deploy log https://app.netlify.com/sites/animated-churros-60739d/deploys/6791a71baf698f0008097134
😎 Deploy Preview https://deploy-preview-78--animated-churros-60739d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@midudev midudev merged commit 0a0a5a2 into midudev:main Mar 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants