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/annoucement card #14

Merged
merged 6 commits into from
Sep 20, 2024
Merged

Feat/annoucement card #14

merged 6 commits into from
Sep 20, 2024

Conversation

amphikapha
Copy link
Contributor

Type of Change

  • New features
  • Bug fixes
  • Breaking changes
  • Refactor
  • Documentation updates
  • Other (please specify):

Description

Annoucement Card with trimTitle for too long title

Screenshots or GIFs (if applicable)

Already added to Playground

Screenshot 2024-09-15 043135

@amphikapha
Copy link
Contributor Author

I think each card should be clicked and redirect to its own article page, so i added the 5th prop (linkHref) to the component.

Copy link
Member

@punchanabu punchanabu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code ok เลยมีเพิ่มนิดเดียวว

src/lib/components/AnnoucementCard/AnnoucementCard.svelte Outdated Show resolved Hide resolved
@punchanabu
Copy link
Member

อ่อแล้วก็ของ Card มันมีของ mobile size ด้วยนะ designer เพิ่งเพิ่มมา tailwind-responsive
Screenshot 2567-09-16 at 00 44 11

@amphikapha
Copy link
Contributor Author

Already added fallback leaw naka

Screenshot 2024-09-19 212605

and card size for mobile

Screenshot 2024-09-19 212747

@amphikapha amphikapha merged commit 5ed6f0c into dev Sep 20, 2024
1 check passed
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.

2 participants