Skip to content

Commit b159fc6

Browse files
calderbuildclaude
andcommitted
Fix dark mode toggle button visibility and positioning issues
- Move toggle button from middle (top: 50%) to top corner (top: 20px) for better visibility - Improve button styling with enhanced contrast and pulse animation - Add colorful border and higher opacity for better discoverability - Fix JavaScript hover effects to match new CSS positioning - Enhance dark mode button styling with bright accent colors - Add mobile-responsive optimization for button size and position - Resolve JavaScript API naming conflicts for better compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1a6331f commit b159fc6

20 files changed

+4657
-794
lines changed

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"Bash(./build.sh:*)",
2020
"Bash(npm install:*)",
2121
"Bash(lessc:*)",
22-
"Bash(git rm:*)"
22+
"Bash(git rm:*)",
23+
"Bash(git remote set-url origin https://github.com/JasonRobertDestiny/JasonRobertDestiny.github.io.git)"
2324
],
2425
"deny": [],
2526
"ask": []

CLAUDE.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ This is Jason's personal technical blog built with Jekyll, a static site generat
1818
# Install Ruby dependencies
1919
bundle install
2020

21-
# Install Node.js dependencies (if package.json exists)
22-
npm install --legacy-peer-deps
23-
24-
# Build assets (uses Less preprocessing)
25-
# Note: The project uses Less files in the /less directory that compile to /css
26-
# Main Less file: less/jason-blog.less
21+
# Compile Less files to CSS (required before serving)
22+
./build.sh
23+
# or manually:
24+
lessc less/jason-blog.less css/jason-blog.css
25+
lessc --clean-css less/jason-blog.less css/jason-blog.min.css
2726

2827
# Start local development server
2928
bundle exec jekyll serve
@@ -36,7 +35,7 @@ bundle exec jekyll clean
3635
```
3736

3837
### Deployment
39-
The site uses GitHub Actions for automatic deployment to GitHub Pages. The workflow is in `.github/workflows/jekyll.yml`.
38+
The site uses GitHub Actions for automatic deployment to GitHub Pages. The workflow is in `.github/workflows/jekyll.yml` and triggers on pushes to the `master` branch. The workflow uses Ruby 3.1 and automatically installs gems via Bundler cache.
4039

4140
## Architecture
4241

@@ -96,10 +95,26 @@ catalog: true
9695
- Service Worker: `sw.js`
9796
- Registration: `js/sw-registration.js`
9897

98+
## Build System
99+
100+
### Less Compilation
101+
The project uses Less for CSS preprocessing:
102+
- **Build script**: `./build.sh` compiles Less files
103+
- **Source**: `/less` directory contains modular Less files
104+
- **Output**: `/css` directory (do not edit directly)
105+
- **Main entry**: `less/jason-blog.less` imports all other Less modules
106+
107+
### Jekyll Build Process
108+
1. Less files must be compiled first (using `./build.sh`)
109+
2. Jekyll processes Markdown posts and Liquid templates
110+
3. Static files are copied to `_site/` directory
111+
4. GitHub Actions automatically deploys on push to master
112+
99113
## Important Notes
100114

101-
- All Less files in `/less` directory need to be compiled to `/css` (currently using manual compilation)
102-
- The blog supports both English and Chinese content
103-
- Images should be placed in `/img` directory
104-
- Custom JavaScript is minimal and focused on essential interactions
105-
- The design emphasizes a tech/modern aesthetic with gradient backgrounds and smooth animations
115+
- **CSS Workflow**: Always compile Less files before Jekyll build
116+
- **Content**: Supports both English and Chinese posts
117+
- **Images**: Place in `/img` directory
118+
- **JavaScript**: Minimal custom JS, primarily for PWA and search
119+
- **Design**: Tech-themed with gradients and modern animations
120+
- **No package.json**: Project doesn't use Node.js build tools

_posts/2025-09-11-The AI Agent Revolution.markdown

Lines changed: 125 additions & 125 deletions
Large diffs are not rendered by default.

_posts/2025-09-12-future-of-seo-2025.md

Lines changed: 245 additions & 245 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)