feat(ui): implement comprehensive design system with Tremor components#18
Merged
feat(ui): implement comprehensive design system with Tremor components#18
Conversation
- replace native buttons with reusable Button component using Tailwind Variants - add Accordion, Badge, Input, Label, RadioGroup, Switch, Tooltip components - create responsive landing page with Hero, GlobalUptime, CodeExample, Features, CTA - implement About page with TeamGallery, Benefits sections - add Changelog page with MDX support and custom components - build Pricing page with responsive comparison tables and billing toggle - establish Navbar with mobile menu and Footer with navigation links - integrate shiki for syntax highlighting and cobe for 3D globe animation - add responsive image components (InstaxImage, ThemedImage) - implement MDX components for Changelog (ChangelogEntry, ChangelogImage) - migrate auth pages (login/signup) to use Button component - remove legacy auth logic from landing page - add comprehensive TypeScript types and utility functions
- Delete dependencies and devDependencies for deleted `apps/hehe` app - Clean pnpm-lock.yaml after workspace package removal
- Add `cx` utility and `className` prop support to Badge component - Fix ThemeSwitch useEffect with requestAnimationFrame to avoid sync setState - Add typed `CustomHeadingProps` and `CustomLinkProps` interfaces in mdx.tsx - Improve useScroll hook with SSR-safe initial state - Add React.ReactNode types to CodeExampleTabs and ChangelogEntry props **Badge.tsx**: Imported `cx` utility and enabled `className` prop merging for customizable styling. **ThemeSwitch.tsx**: Replaced direct `setMounted(true)` in useEffect with `requestAnimationFrame` to prevent synchronous state updates during render. **mdx.tsx**: - Defined `CustomHeadingProps` interface with `level` and `children` typing - Created `CustomLinkProps` extending `AnchorHTMLAttributes` with proper prop destructuring - Fixed `slugify` input with `String()` conversion - Typed `ChangelogEntry` children as `React.ReactNode` **CodeExampleTabs.tsx**: Added explicit `React.ReactNode` typing for `tab1` and `tab2` props. **use-scroll.ts**: Initialized `scrolled` state with SSR-safe window check instead of effect-based initialization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FIxes #10