Commit Graph

8 Commits

Author SHA1 Message Date
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. 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. 58dbac9058 feat(opengraph): implement dynamic Open Graph and Twitter image generation
- Added dynamic image generation for Open Graph and Twitter cards.
- Removed unused image files and updated metadata generation to include image URLs.
- Enhanced the apple and icon components with dynamic settings.
2025-12-17 21:20:50 +00:00
Raphael S. 2b52f68543 feat(navigation): implement navigation component and styles
- Added a new Navigation component for improved site navigation.
- Integrated navigation links and styles for a cohesive UI.
- Updated layout components to accommodate the new navigation structure.
2025-12-11 00:50:42 +00:00
Raphael S. 8e50ef4604 feat(tts): implement text-to-speech API for article narration
- Add a new API route for text-to-speech functionality that synthesizes speech from article content.
- Cache audio and timestamp data to improve performance and reduce redundant API calls.
- Handle errors gracefully and provide meaningful responses for missing articles or API failures.

feat(audio-reader): create audio reader component for narration playback

- Develop a client-side audio reader component that fetches narration data and synchronizes word highlighting during playback.
- Implement play/pause functionality with visual feedback for loading and error states.
- Ensure accessibility and responsiveness in the audio playback interface.

feat(rehype): add rehype plugin for word spans in markdown

- Introduce a rehype plugin that wraps words in spans for better interaction with the audio reader.
- Normalize words and manage word IDs for synchronization with audio timestamps.

style(audio-reader): enhance styles for audio reader component

- Improve the visual design of the audio reader component, including button styles and progress indicators.
- Ensure consistent spacing and alignment for a better user experience.

fix(normalize-word): refine word normalization logic

- Update the normalization function to handle various non-word characters more effectively.
2025-11-30 03:31:37 +00:00
Raphael S. b714f913be feat(authors): add new authors and update author schema
- Introduced new author data files for Anton Stallbörger, Jace Attard, Raphael Salaja, and Russell Dare.
- Updated the author schema to include additional social media fields.
- Implemented a script to generate the authors index file automatically.
- Added utility functions for handling author data, including fetching and validating author information.
- Enhanced the author display components in the header to include avatars and initials.

BREAKING CHANGE: The author schema now requires a new structure for social media links.
2025-11-30 00:02:40 +00:00
Raphael S. 733b06f3ba feat(docs): add typography styles
- Introduced a new typography guide in MDX format, showcasing various typography elements and styles.
- Updated the server configuration to include the new typography documentation.
- Refactored CSS styles to consolidate theme colors and reset styles.
- Removed outdated color and typography CSS files, replacing them with a more modular structure.
- Enhanced the build configuration to support stricter React mode for better performance and debugging.

BREAKING CHANGE: Removed old theme color and typography files, requiring updates to any custom styles relying on them.
2025-11-27 19:32:29 +00:00
Raphael S. b3efbe67d2 feat: remove unused SVG assets and update TypeScript configuration
- Deleted unused SVG files to clean up the project.
- Updated TypeScript configuration for improved path mappings and included new files.
- Added new source files for dynamic and server-side rendering with Fumadocs.
- Introduced markdown content files for documentation and API reference.
- Implemented new styling and theming system with CSS variables for better design consistency.

BREAKING CHANGE: The structure of the source files has changed, requiring updates to imports in other parts of the application.
2025-11-25 23:35:41 +00:00