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

Simplify CTA #40

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

Simplify CTA #40

wants to merge 13 commits into from

Conversation

fleven-kds
Copy link
Contributor

@fleven-kds fleven-kds commented Jan 10, 2025

The CTA component was previously overloaded with complexity and was overwriting much of the underlying storytelling layout, making it challenging to customize and develop. These changes simplify the CTA component by removing many of the dsa-specific layout overrides and making a few additions to enhance transparency for developers and content editors.

Its important to note that properties were changed and removed, changed an new ones added!

📦 Published PR as canary version: 1.6.65--canary.40.1537.0

✨ Test out this PR locally via:

npm install @kickstartds/[email protected]
# or 
yarn add @kickstartds/[email protected]

@fleven-kds fleven-kds linked an issue Jan 10, 2025 that may be closed by this pull request
@fleven-kds
Copy link
Contributor Author

@julrich Können wir uns nächste Woche mal die integration hiervon anschauen?

@julrich
Copy link
Member

julrich commented Jan 10, 2025

Schon, sollten wir aber auch mal mit @DanielLeyUX besprechen. Vertical content align würde ich z.B. nicht zwingend löschen?

@fleven-kds
Copy link
Contributor Author

fleven-kds commented Jan 10, 2025

Das wurde nicht gelöscht sondern durch 2 spezifischere Werte ersetzt. Einmal align für den content (headline, text & buttons) und einmal align im image object. Mit contentAlign passiert viel ungewollter quatsch der damit abgestellt wird.
Kann ich nächste Woche auch nochmal genauer drauf eingehen.

@fleven-kds fleven-kds self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Component Layout
2 participants