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

asset(image-webdev): Add image-webdev #83

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/image-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Please ensure all the following items are completed before submitting this issue

<!-- Replace the placeholders in the URLs with your actual repository and package names -->

![CI Status](https://img.shields.io/github/workflow/status/username/repo/CI)
![CI Status](https://img.shields.io/github/actions/workflow/status/username/package-name/ci.yml)
![npm version](https://img.shields.io/npm/v/package-name)

## Contribution Agreement
Expand All @@ -41,4 +41,8 @@ After creating this issue:
1. Fork the repository
2. Create a new branch for your changes
3. Add or update the images as described
4. Open a Pull Request linking back to this issue
1. To add a new image set, simply run `npm run add-image-set <package-name>` where `<package-name>` is the name of
the npm package of your new image set
2. Update the new image set in `./imageset.custom.json` with a good display name and any other customizations
4. Test your changes
5. Open a Pull Request linking back to this issue
3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ const FEATURED_SETS = {
'dps',
'sup',
],
"image-webdev": [
'all',
'fe',
'be',
'fs',
],
// Add more packages and their featured sets here
};

Expand Down
2 changes: 1 addition & 1 deletion components/ItemTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const ItemTile: React.FC<ItemTileProps> = memo(({
fill
sizes="(max-width: 640px) 64px, (max-width: 768px) 80px, 96px"
style={{
objectFit: "cover"
objectFit: "contain"
}}
placeholder="blur"
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN8Vw8AAmEBb87E6jIAAAAASUVORK5CYII="
Expand Down
Loading