mirror of
https://github.com/shadoll/theme-switcher.git
synced 2025-12-20 03:27:07 +00:00
Remove GitLab CI/CD configuration and update README with correct GitHub Pages URL
This commit is contained in:
@@ -1,20 +0,0 @@
|
|||||||
# GitLab CI/CD configuration for GitLab Pages
|
|
||||||
pages:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
# Create the public directory (GitLab Pages serves from this directory)
|
|
||||||
- mkdir -p public
|
|
||||||
|
|
||||||
# Copy all necessary files to the public directory
|
|
||||||
- cp index.html public/
|
|
||||||
- cp script.js public/
|
|
||||||
- cp styles.css public/
|
|
||||||
- cp *.svg public/
|
|
||||||
|
|
||||||
# Print deployment info
|
|
||||||
- echo "Deploying theme switcher to GitLab Pages..."
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
only:
|
|
||||||
- main # This job will only run on the main branch
|
|
||||||
@@ -17,8 +17,8 @@ A lightweight, elegant theme switcher for web applications that allows users to
|
|||||||
|
|
||||||
## Live Demo
|
## Live Demo
|
||||||
|
|
||||||
You can see a live demo of this project on GitLab Pages:
|
You can see a live demo of this project on GitHub Pages:
|
||||||
https://shadoll.gitlab.io/theme_switch/
|
https://shadoll.github.io/theme-switcher/
|
||||||
|
|
||||||
## How It Works
|
## How It Works
|
||||||
|
|
||||||
@@ -74,7 +74,6 @@ To prevent flash of unstyled content when loading in dark mode, the project incl
|
|||||||
|
|
||||||
The theme switcher uses CSS custom properties (variables) to define theme colors.
|
The theme switcher uses CSS custom properties (variables) to define theme colors.
|
||||||
|
|
||||||
|
|
||||||
## Browser Support
|
## Browser Support
|
||||||
|
|
||||||
This theme switcher works in all modern browsers that support:
|
This theme switcher works in all modern browsers that support:
|
||||||
@@ -86,10 +85,6 @@ This theme switcher works in all modern browsers that support:
|
|||||||
|
|
||||||
This project is available for use under the MIT License.
|
This project is available for use under the MIT License.
|
||||||
|
|
||||||
## Author
|
|
||||||
|
|
||||||
Created by sHa.
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
1. Clone the repository
|
1. Clone the repository
|
||||||
|
|||||||
Reference in New Issue
Block a user