Skip to content

Commit

Permalink
5.0 纳塔
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Sep 12, 2024
1 parent b8b27af commit b486faa
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file added images/natlan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 7c00 <[email protected]>
Copyright (c) 2024 7c00 <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"init": "curl https://github.com/qiuxiang/ky-genshin-map/files/15228849/data.tar.gz -Lo data.tar.gz && tar xf data.tar.gz && mv dist/data* src/ && ln index.html dist/ && cp images/favicon.png dist/",
"init": "curl https://github.com/user-attachments/files/16885651/data.tar.gz -Lo data.tar.gz && tar xf data.tar.gz && mv dist/data* src/ && ln index.html dist/ && cp images/favicon.png dist/",
"uno": "unocss -o dist/uno.css 'src/**/*.tsx' index.html",
"build": "esbuild build.ts --format=cjs | node",
"dev": "esbuild build.ts --format=cjs | node - dev"
Expand Down
2 changes: 1 addition & 1 deletion src/area-picker.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
ArrowDownTrayIcon,
DocumentIcon,
DocumentPlusIcon,
} from "@heroicons/react/24/outline";
import classNames from "classnames";
Expand All @@ -19,6 +18,7 @@ const areas: Record<string, AreaConfig> = {
稻妻: { icon: require("../images/inazuma.png"), color: "#9360ff" },
须弥: { icon: require("../images/sumeru.png"), color: "#afff60" },
枫丹: { icon: require("../images/fontaine.png"), color: "#52e5ff" },
纳塔: { icon: require("../images/natlan.png"), color: "#fa4a4a" },
};

const state = proxy({ visible: false });
Expand Down
2 changes: 1 addition & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const store = proxy({
async function init() {
const [response, canvaskit] = await Promise.all([
fetch(
"https://ky-genshin-map-1253179036.cos.ap-nanjing.myqcloud.com/data-4.6.0.gz"
"https://ky-genshin-map-1253179036.cos.ap-nanjing.myqcloud.com/data-5.0.1.gz"
),
initCanvaskit({
locateFile() {
Expand Down

0 comments on commit b486faa

Please sign in to comment.