Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth/logo): Add dynamic sizing and conditional twenty logo #8587

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Nov 19, 2024

  1. feat(auth/logo): Add dynamic sizing and conditional twenty logo

    Enhanced Logo component to accept dynamic size and an optional twenty logo display. This allows for more flexible and customizable logo dimensions, and the inclusion of Twenty's logo can now be controlled via props.
    AMoreaux committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    c3024f7 View commit details
    Browse the repository at this point in the history
  2. refactor(Logo): Update StyledMainLogo type definition

    Changed StyledMainLogo type to use Pick for logo prop. This ensures only the required 'logo' property is passed, improving type safety and code clarity.
    AMoreaux committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    c62ef0e View commit details
    Browse the repository at this point in the history
  3. refactor(Logo): simplify StyledMainLogo component usage

    Consolidated the size prop inside the StyledMainLogo component call. This removes redundancy and aligns with component usage patterns in the codebase.
    AMoreaux committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9cbbe51 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. refactor(Logo): support primary and secondary logos

    Updated the Logo component to accept primary and secondary logos, replacing the workspaceLogo prop. Adjusted the getImageAbsoluteURI utility function for type safety and URL handling.
    AMoreaux committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    bbe4baf View commit details
    Browse the repository at this point in the history
  2. refactor: implement Spacing type for consistent units

    Use the new `Spacing` type to ensure consistent spacing units across the theme and Logo components. This change streamlines unit handling and improves type safety throughout the codebase.
    AMoreaux committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    68580bb View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Configuration menu
    Copy the full SHA
    68ec09a View commit details
    Browse the repository at this point in the history