Commit Graph

10 Commits

Author SHA1 Message Date
ccbikai
affd4d2a9b feat: add tags functionality and UI enhancements 2024-11-04 19:55:58 +08:00
ccbikai
ff418d81a8 fix: improve accessibility and remove unnecessary attributes
Enhanced accessibility by wrapping time display in a semantic `<time>` element, ensuring better screen reader support. Removed inline styles and onclick attributes from elements, simplifying the code and improving performance.
2024-09-21 16:39:57 +08:00
ccbikai
58be3f399c chore: eslint fix and upgrade dependencies 2024-08-31 16:29:02 +08:00
ccbikai
793bc52f19 feat: enhance code highlighting with flourite
Integrate flourite for improved language detection in code blocks, replacing manual detection logic. This enhances accuracy and supports a broader range of languages for syntax highlighting. Additionally, streamline CSS inclusion for code highlighting by importing directly from the package, reducing reliance on external CDN.
2024-08-11 10:14:03 +08:00
ccbikai
bd7bba2f06 feat: enhance CSS handling and optimize global styles
- Enabled PostCSS nesting with specific configuration for modern compatibility
- Added global CSS reset for consistent tap highlights across browsers
- Optimized package configuration for broader browser support
- Refactored and streamlined global CSS, removing redundant styles for better maintainability
- Integrated additional CSS import in component for modular styling approach
2024-08-06 19:02:56 +08:00
ccbikai
06f81a2d14 chore: improve sticker rendering and CSS specificity
Enhanced sticker rendering by adding optional chaining for safer DOM traversal and reordered sticker rendering logic to ensure proper inclusion in post content. Improved CSS specificity for sticker styling to ensure consistent application across components.
2024-08-06 13:34:37 +08:00
ccbikai
a83c3069e6 refactor(emoji): adjust spacing for better alignment
Improved spacing around emojis in multiple components to enhance visual consistency and readability. Simplified the selector for content modification in the Telegram library function for better maintainability.
2024-08-06 13:12:51 +08:00
ccbikai
2df9b66ed9 feat: enhance deployment and media handling
- Updated deployment configurations to disable Incremental Static Regeneration (ISR) and cache on demand pages for better performance control.
- Extended .gitignore to include deployment-specific directories, preventing unnecessary files from being tracked.
- Improved video handling in content by adding support for additional video types and enhancing video element attributes for better playback control.
- Refactored post retrieval logic to ensure channel information is correctly merged and SEO data is accurately assigned.
- Enhanced static file handling to include error handling and domain whitelisting for security and reliability.
2024-08-05 18:57:28 +08:00
ccbikai
bfb8974612 feat: enhance modal image handling and SEO improvements
- Optimized modal image dimensions for better responsiveness
- Ensured modal images maintain aspect ratio and scale appropriately
- Added eager loading for header images to improve initial load performance
- Corrected GitHub link title typo for SEO accuracy
- Enhanced post content handling by normalizing emoji styles and search link paths
- Improved cache key management for channel info requests to include type and ID
- Streamlined channel info fetching logic for efficiency
- Updated breadcrumb image handling to support static proxy and void file fallback
2024-08-05 12:05:19 +08:00
ccbikai
c39ab2d528 feat: init 2024-08-04 20:42:51 +08:00