66 Commits

Author SHA1 Message Date
Raphael S. ff665aba6d feat: laws of ux article, calligraph banner, cleanup
Made-with: Cursor
2026-03-02 17:59:28 +00:00
Raphael S. 939fcfc69a chore: update builds + open graph 2026-02-14 16:03:54 -05:00
Raphael S. 07dadb0f83 feat: add fluid text 2026-02-14 15:58:50 -05:00
Raphael S. 744f74af57 refactor: update references for animating bounds to animating container bounds 2026-02-09 14:57:22 +00:00
Raphael S. 9f7c329183 feat: new animate bounds article 2026-02-09 13:44:44 +00:00
Raphael S. 50c0ca2332 refactor: remove Open Graph image from quote metadata generation and update site URL format 2026-02-07 16:19:50 +00:00
Raphael S. de59ac988e feat: add dynamic import for morphing icon demo to demo registry 2026-02-06 14:34:37 +00:00
Raphael S. 6e9854904c chore: cleanup demos 2026-02-01 00:05:13 +00:00
Raphael S. 5b79df4c34 feat: add a demos section for easy demo viewing 2026-01-31 23:38:27 +00:00
Raphael S. 61055fc59d chore: update site manifest 2026-01-26 10:49:22 +00:00
Raphael Salaja b0c89649b1 feat: new article animate presence (#7)
* feat: add AnimatePresence article with interactive playground

* feat: add playground

* feat: ƒix basic demo

* feat: ap article start

* chore: cleanup

* chore: pre-commit

* feat: update article

* refactor: improve code formatting and readability in demo and script files

* refactor: enhance formatting for improved readability in slideshow demo

* chore: generate open graph rather than dynamically

* chore: add @clack/prompts dependency and enhance icon/image generation scripts with improved logging

* refactor: generators

* chore: cleanup

* feat: refactor generator

* feat: second draft

* docs: final draft

* chore: final draft again

* chore: update publication date and enhance text-to-speech generator with alignment data
2026-01-25 22:41:51 +00:00
Raphael S. 9b2c3c814c feat(og): add dynamic image generation for pages 2026-01-19 09:57:04 -08:00
Raphael S. 368e8ef057 refactor(images): consolidate image handling into OpenGraphImage component 2026-01-12 11:09:59 +00:00
Raphael S. 9869e8f6ca refactor(speech): streamline comments and improve code readability 2026-01-12 09:42:10 +00:00
Raphael S. 69819874c7 chore: jace feedback 2026-01-11 14:24:36 +00:00
Raphael S. 73c9d1b497 feat(sounds): implement sound effects for UI interactions 2026-01-11 04:40:00 +00:00
Raphael S. ab23c9c4a4 refactor(narration): remove captions and highlighted text components 2026-01-11 03:42:52 +00:00
Raphael S. b1879bd929 refactor(view-transition-demo): enhance dialog accessibility with Escape key support 2026-01-11 00:47:03 +00:00
Raphael S. 7ae70a4ac6 feat(tts): implement text-to-speech generation and API integration 2026-01-11 00:46:59 +00:00
Raphael S. 1321c97264 refactor(home): improve page filtering and sorting logic 2026-01-10 22:51:06 +00:00
Raphael S. 600ed94bdc feat: add sound advice 2026-01-10 22:42:02 +00:00
Raphael S. 7e71b00b15 feat: remove modifed from date 2026-01-10 20:53:20 +00:00
Raphael S. 08f4efc90e feat(home): add client-side HomeLayout component 2026-01-10 19:24:05 +00:00
Raphael S. baf1900f1a style(post): format date component for better readability 2026-01-10 15:42:05 +00:00
Raphael S. ff5628ed9c feat(preferences): implement user preferences with view mode management 2026-01-10 15:41:43 +00:00
Raphael S. 2131dc2e2d refactor(narration): remove text highlighting 2026-01-09 11:58:03 +00:00
Raphael S. d74d4fe451 feat(speech): update audio output format to CD-quality 2026-01-08 08:13:02 +00:00
Raphael S. 15ff683381 feat(tts): enhance tts processing with paragraph analysis and caching 2026-01-08 08:08:13 +00:00
Raphael S. fc7520fc51 refactor(speech): improve formatting and readability of code 2026-01-06 22:10:13 +00:00
Raphael S. 2d16b7269c feat(speech): implement paragraph-level caching for TTS generation
- Added functionality to cache TTS audio at the paragraph level, allowing
  for regeneration of only changed paragraphs.
- Updated cache key structure to accommodate paragraph-specific caching.
- Enhanced document analysis to track cache status for individual paragraphs.
2026-01-06 22:09:57 +00:00
Raphael S. d74ad8c84e feat(speech): enhance TTS generation script with document analysis and cost estimation
- Added detailed usage instructions for the TTS generation script.
- Implemented document analysis to gather character counts and cache status.
- Introduced cost estimation for TTS generation based on character count.
- Improved handling of document slugs for both directory-based and flat .mdx files.
2026-01-06 21:23:18 +00:00
Raphael S. aaf596c395 feat: reorganize article components and improve layout
- Refactor article components to enhance readability and maintainability.
- Introduce new layout for article header and content with improved styling.
- Update imports and remove unused files for better code clarity.
- Add new NotFound component for handling 404 errors with user-friendly messaging.
2026-01-06 21:05:41 +00:00
Raphael S. d5d1d8fbb4 feat(controls): add Controls component for button grouping
- Introduced a new Controls component to standardize button layouts.
- Updated button demos to utilize the new Controls component for better structure.
- Refactored existing button styles and removed unused code.
2026-01-03 21:54:16 +00:00
Raphael S. 7d7188065d chore: simplify lib folder 2026-01-03 21:32:41 +00:00
Raphael S. ae3b426950 feat(pseudo-elements): add comprehensive guide on modern CSS pseudo-elements
- Introduced a new documentation page covering various pseudo-elements, including `::backdrop`, `::view-transition`, and `::scroll-marker`.
- Added examples and practical patterns for using these pseudo-elements effectively.
- Created a new CSS module for styling demo components related to pseudo-elements.

Also added TypeScript interface for icon properties to improve type safety in icon components.
2026-01-03 21:17:39 +00:00
Raphael S. a41a6a599b refactor(tts): simplify TTS implementation by removing voice selection
- Removed voice parameter from TTS API calls to streamline the process.
- Consolidated voice handling to a single environment variable for cost efficiency.
- Updated related components and types to reflect the removal of voice selection.
2026-01-03 20:48:20 +00:00
Raphael S. 94e2c07857 feat(tts): add voice selection feature and available voices list 2026-01-03 20:14:29 +00:00
Raphael S. e6124136ae feat(progress-bar): add a progress bar demo component
- Implement a progress bar that simulates a download process.
- Includes start and reset functionality with visual feedback.
- Styles are defined in a separate CSS module for better organization.

feat(sidebar-demo): create a sidebar demo with animations

- Introduce a sidebar that can be toggled open and closed.
- Uses motion for smooth transitions and animations.
- Menu items are displayed with icons and labels.

feat(swipe-to-dismiss): implement swipe-to-dismiss notifications

- Create a notification system where users can swipe to dismiss.
- Notifications include icons and text, with animations on drag.
- Supports resetting notifications to the initial state.

feat(tab-switcher): add a tab switcher component

- Implement a tab switcher with smooth transitions between tabs.
- Each tab displays an icon and label, with an animated indicator.
- Uses motion for enhanced user experience.

feat(toast-demo): create a toast notification demo

- Implement toast notifications that appear on user action.
- Toasts include icons, titles, and can be dismissed.
- Styles are defined in a separate CSS module for clarity.

feat(tts): add edge TTS functionality for speech synthesis

- Implement speech synthesis using edge TTS with chunking support.
- Handles text splitting, audio generation, and subtitle parsing.
- Includes error handling and retry logic for robustness.
2026-01-03 17:02:15 +00:00
Raphael S. 6d85947306 refactor(root): simplify highlight logic and remove unused code
- Consolidate word highlighting functionality into a new module.
- Remove deprecated methods and streamline the highlight process.
- Update references in the Root component to utilize new highlight methods.
2025-12-29 21:16:27 +00:00
Raphael S. 1b4b4fc37a feat(types): add IconProps interface for SVG icons
Introduce a new interface, IconProps, to standardize the properties
for SVG icon components. This interface includes optional size and
color properties, enhancing the flexibility and usability of icon
components across the application.
2025-12-24 12:30:09 +00:00
Raphael S. b5dd63089e feat(icon): add icon support for documents and update components
- Introduced an `icon` field in document metadata to categorize content.
- Updated `PageCard` component to render icons based on the new metadata.
- Added new icon components for `EssayPreview` and `MotionPreview`.
- Refactored existing components to utilize the new icon system.
2025-12-16 21:27:35 +00:00
Raphael S. fd062805c8 refactor(arrow): update import path for IconProps type
fix(rehype-word-spans): simplify property access for dataFootnotes
fix(gradient): use template literal for hex color generation
build: modify build script to include TTS generation
chore: add dotenv and picocolors dependencies
chore: add tsx as a dev dependency
feat: implement TTS audio generation script
2025-12-16 12:22:48 +00:00
Raphael S. e978ab2949 feat(audio-reader): add gradient color generation for orb component 2025-12-15 23:31:43 +00:00
Raphael S. c011a6f81d feat(audio-reader): integrate audio reader component into article page 2025-12-15 23:30:34 +00:00
Raphael S. 857f5898c2 refactor(rehype-word-spans): change counter declaration and restore properties 2025-12-15 09:54:45 +00:00
Raphael S. 42c41044b4 feat(animation): implement Browser component and update styles
- Replace DiaBrowser with a new Browser component for better structure.
- Update styles for the new component to enhance visual consistency.
- Refactor rehypeWordSpans to use a constant for counter.
- Clean up commented properties in rehypeWordSpans for clarity.
2025-12-15 09:54:35 +00:00
Raphael S. e1f7c56df0 feat(icons): add new icons for note, openai, and various principles
- Introduced new icons including NoteIcon and OpenAIIcon for enhanced visual representation.
- Added icons for the Squash and Stretch principles: ArrowIcon, CrownIcon, FireIcon, and ToastIcon.
- Implemented anticipation icons: HighPriority, InProgress, Done, Todo, Check, Bolt, and Avatar.
- Created corresponding styles and components for the new icons to ensure consistent design and functionality.
2025-12-14 00:06:07 +00:00
Raphael S. 85db6ea9fe refactor(styles): consolidate and simplify CSS for typography and code
- Removed multiple CSS files and merged styles into a single index.css for better maintainability.
- Updated styles for headings, lists, tables, and code blocks to use CSS variables for consistency.
- Improved readability and organization of styles by utilizing the `:where` pseudo-class.
- Removed deprecated styles and ensured all typography and code styles are defined in one place.

BREAKING CHANGE: The structure of CSS files has changed, affecting how styles are imported and applied.
2025-12-13 22:44:18 +00:00
Raphael S. 17a5dc085d refactor(format): simplify author and date formatting logic 2025-12-13 16:36:13 +00:00
Raphael S. a5e310614e refactor(authors): replace Set with Map for author registry 2025-12-13 16:24:34 +00:00