personal website

Commit 5435746d

5435746d9239Merged

Justin Dorfman <[email protected]> · 1 year ago · 84 files · +1 added · ~1 modified · -82 deleted

Description

Jd/2025 (#43)

  • feat: Add man page

This commit introduces a man page for Justin Dorfman, providing a summary of his work, contact information, and links to talks, podcasts, and articles.

  • feat: Implement theme toggle for light, dark, and system preferences

This commit introduces a theme toggle feature to the Justin Dorfman user manual, allowing users to switch between light, dark, and system-preferred themes.

The changes include:

  • Added JavaScript to handle theme switching and store the user's preference in local storage.
  • Implemented CSS variables for colors to support different themes.
  • Created a theme toggle button group with options for light, dark, and system themes.
  • Added tooltips to the theme toggle buttons for better user experience.
  • Modified existing CSS to utilize CSS variables for theming.
  • Remove old Jekyll files

  • feat: Add repository memory file

This commit introduces a .sourcegraph/memory.md file to document repository-specific information.

The file includes:

  • Build/Test commands: Instructions for local preview and HTML validation.
  • Code Style Guidelines: Outlines HTML, CSS, and JavaScript coding standards for the project, including semantic HTML, CSS variables, ES6+ features, and accessibility considerations.

Details

Commit
5435746d9239
Parent
7474bcfbbcad

.sourcegraph/memory.mdaddedView file

1+# Repository Memory
2+
3+## Build/Test Commands
4+- Preview site locally: Not configured (standard web files only)
5+- Validation: Check HTML validity with W3C validator
6+
7+## Code Style Guidelines
8+
9+### HTML
10+- Use HTML5 doctype
11+- Include proper meta tags (charset, viewport)
12+- Indentation: 2 spaces
13+- Use semantic HTML elements
14+
15+### CSS
16+- CSS variables for theming
17+- Use descriptive class names
18+- Prefer class selectors over tag selectors
19+
20+### JavaScript
21+- Use ES6+ features with function declarations
22+- Follow camelCase naming for functions and variables
23+- Modular functionality (theme handling, etc.)
24+- Include comments for function purpose
25+
26+### General
27+- Keep code simple and maintainable
28+- Focus on accessibility (semantic HTML, color contrast)
29+- Support light/dark mode and system preferences