Skip to content

Commit

Permalink
chocolate-curry-28 Add Wuthering Waves image template
Browse files Browse the repository at this point in the history
  • Loading branch information
infinia-yzl committed Jul 15, 2024
1 parent 764f05c commit 44bf6be
Show file tree
Hide file tree
Showing 5 changed files with 299 additions and 3 deletions.
9 changes: 7 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ import {PlusCircledIcon} from "@radix-ui/react-icons";

const typedImageSetConfig = imagesetConfig as ImageSetConfig;

const featuredSets = {
const FEATURED_SETS = {
"image-reachthefinals": ['all', 'light', 'medium', 'heavy'],
"image-wutheringwaves": [
'c_all',
'c_rarity_5',
'c_rarity_4',
]
// Add more packages and their featured sets here
};

Expand All @@ -20,7 +25,7 @@ const Home = () => {
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">

{/* Featured sets */}
{Object.entries(featuredSets).map(([packageName, tags]) => {
{Object.entries(FEATURED_SETS).map(([packageName, tags]) => {
const packageData = typedImageSetConfig.packages[packageName];
if (!packageData) return null;

Expand Down
277 changes: 277 additions & 0 deletions imageset.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,283 @@
"category": "general"
}
}
},
"image-wutheringwaves": {
"displayName": "Wuthering Waves",
"images": [
{
"filename": "c/aa.webp",
"label": "Aalto",
"tags": [
"c_all",
"c_rarity_4",
"c_att_aer",
"c_1_0"
]
},
{
"filename": "c/bz.webp",
"label": "Baizhi",
"tags": [
"c_all",
"c_rarity_4",
"c_att_gla",
"c_1_0"
]
},
{
"filename": "c/cc.webp",
"label": "Calcharo",
"tags": [
"c_all",
"c_rarity_5",
"c_att_ele",
"c_1_0"
]
},
{
"filename": "c/cl.webp",
"label": "Changli",
"tags": [
"c_all",
"c_rarity_5",
"c_att_fus",
"c_1_1"
]
},
{
"filename": "c/cx.webp",
"label": "Chixia",
"tags": [
"c_all",
"c_rarity_4",
"c_att_fus",
"c_1_0"
]
},
{
"filename": "c/dj.webp",
"label": "Danjin",
"tags": [
"c_all",
"c_rarity_4",
"c_att_hav",
"c_1_0"
]
},
{
"filename": "c/ec.webp",
"label": "Encore",
"tags": [
"c_all",
"c_rarity_5",
"c_att_fus",
"c_1_0"
]
},
{
"filename": "c/js.webp",
"label": "Jinshi",
"tags": [
"c_all",
"c_rarity_5",
"c_att_spe",
"c_1_1"
]
},
{
"filename": "c/jx.webp",
"label": "Jianxin",
"tags": [
"c_all",
"c_rarity_5",
"c_att_aer",
"c_1_0"
]
},
{
"filename": "c/jy.webp",
"label": "Jiyan",
"tags": [
"c_all",
"c_rarity_5",
"c_att_aer",
"c_1_0"
]
},
{
"filename": "c/ly.webp",
"label": "Lingyang",
"tags": [
"c_all",
"c_rarity_5",
"c_att_gla",
"c_1_0"
]
},
{
"filename": "c/mf.webp",
"label": "Mortefi",
"tags": [
"c_all",
"c_rarity_4",
"c_att_fus",
"c_1_0"
]
},
{
"filename": "c/rm-h.webp",
"label": "Rover Havoc",
"tags": [
"c_all",
"c_rarity_5",
"c_att_hav",
"c_1_0"
]
},
{
"filename": "c/rm-s.webp",
"label": "Rover Spectro",
"tags": [
"c_all",
"c_rarity_5",
"c_att_spe",
"c_1_0"
]
},
{
"filename": "c/sh.webp",
"label": "Sanhua",
"tags": [
"c_all",
"c_rarity_4",
"c_att_gla",
"c_1_0"
]
},
{
"filename": "c/vr.webp",
"label": "Verina",
"tags": [
"c_all",
"c_rarity_5",
"c_att_spe",
"c_1_0"
]
},
{
"filename": "c/xy.webp",
"label": "Xiangli Yao",
"tags": [
"c_all",
"c_rarity_5",
"c_att_ele",
"c_1_2"
]
},
{
"filename": "c/yl.webp",
"label": "Yinlin",
"tags": [
"c_all",
"c_rarity_5",
"c_att_ele",
"c_1_0"
]
},
{
"filename": "c/yw.webp",
"label": "Yuanwu",
"tags": [
"c_all",
"c_rarity_4",
"c_att_ele",
"c_1_0"
]
},
{
"filename": "c/yy.webp",
"label": "Yangyang",
"tags": [
"c_all",
"c_rarity_4",
"c_att_aer",
"c_1_0"
]
},
{
"filename": "c/zz.webp",
"label": "Zhezhi",
"tags": [
"c_all",
"c_rarity_5",
"c_att_gla",
"c_1_2"
]
}
],
"tags": {
"c_all": {
"title": "All Resonators",
"description": "All Resonators who have been officially released or announced",
"category": "general"
},
"c_rarity_4": {
"title": "4-Star Resonators",
"description": "Resonators with a rarity of 4 stars",
"category": "general"
},
"c_att_aer": {
"title": "Aero Resonators",
"description": "Aero attribute Resonators",
"category": "general"
},
"c_1_0": {
"title": "Resonators - Version 1",
"description": "Resonators from Version 1",
"category": "general"
},
"c_att_gla": {
"title": "Glacio Resonators",
"description": "Glacio attribute Resonators",
"category": "general"
},
"c_rarity_5": {
"title": "5-Star Resonators",
"description": "Resonators with a rarity of 5 stars",
"category": "general"
},
"c_att_ele": {
"title": "Electro Resonators",
"description": "Electro attribute Resonators",
"category": "general"
},
"c_att_fus": {
"title": "Fusion Resonators",
"description": "Fusion attribute Resonators",
"category": "general"
},
"c_1_1": {
"title": "Resonators - Version 1.1",
"description": "Resonators from Version 1.1",
"category": "general"
},
"c_att_hav": {
"title": "Havoc Resonators",
"description": "Havoc attribute Resonators",
"category": "general"
},
"c_att_spe": {
"title": "Spectro Resonators",
"description": "Spectro attribute Resonators",
"category": "general"
},
"c_1_2": {
"title": "Resonators - Version 1.2",
"description": "Resonators from Version 1.2",
"category": "general"
}
}
}
}
}
5 changes: 4 additions & 1 deletion imageset.custom.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
},
"image-reachthefinals": {
"displayName": "The Finals"
},
"image-wutheringwaves": {
"displayName": "Wuthering Waves"
}
}
}
}
10 changes: 10 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"html2canvas-pro": "^1.5.4",
"image-reachthefinals": "^1.0.0",
"image-set": "^2.0.1",
"image-wutheringwaves": "^1.0.1",
"lz-string": "^1.5.0",
"next": "14.2.4",
"next-themes": "^0.3.0",
Expand Down

0 comments on commit 44bf6be

Please sign in to comment.