diff --git a/README.md b/README.md index f358142..0326a51 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,7 @@ The application is deployed and available at the following URLs: | Role | URL | | :--- | :--- | -| **Main Site** | [srtools.kain.id.vn](https://srtools.kain.id.vn) | -| **Backup / Vercel Mirror** | [firefly-srtools.vercel.app](https://firefly-srtools.vercel.app) | +| **Main Site** | [srtools.punklorde.org](https://srtools.punklorde.org) | --- diff --git a/messages/cn.json b/messages/cn.json index 6ed6b4e..d9ef69c 100644 --- a/messages/cn.json +++ b/messages/cn.json @@ -1,7 +1,7 @@ { "TabTitle": { "title": "Firefly Tools", - "description": "Firefly tools by Kain" + "description": "Firefly tools by Firefly Shelter" }, "DataPage": { "skillType": "技能类型", diff --git a/messages/en.json b/messages/en.json index 6da8817..f0c6716 100644 --- a/messages/en.json +++ b/messages/en.json @@ -1,7 +1,7 @@ { "TabTitle": { "title": "Firefly Tools", - "description": "Firefly tools by Kain" + "description": "Firefly tools by Firefly Shelter" }, "DataPage": { "skillType": "Skill Type", diff --git a/messages/ja.json b/messages/ja.json index 8f12774..889298c 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -1,7 +1,7 @@ { "TabTitle": { "title": "Firefly Tools", - "description": "Firefly tools by Kain" + "description": "Firefly tools by Firefly Shelter" }, "DataPage": { "skillType": "スキルタイプ", diff --git a/messages/ko.json b/messages/ko.json index 89e73d2..1f7aa1b 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -1,7 +1,7 @@ { "TabTitle": { "title": "Firefly Tools", - "description": "Firefly tools by Kain" + "description": "Firefly tools by Firefly Shelter" }, "DataPage": { "skillType": "스킬 유형", diff --git a/messages/vi.json b/messages/vi.json index 84ae001..0829468 100644 --- a/messages/vi.json +++ b/messages/vi.json @@ -1,7 +1,7 @@ { "TabTitle": { "title": "Firefly Tools", - "description": "Firefly tools by Kain" + "description": "Firefly tools by Firefly Shelter" }, "DataPage": { "skillType": "Loại kỹ năng", diff --git a/messages/zh.json b/messages/zh.json index d5f62ab..464c740 100644 --- a/messages/zh.json +++ b/messages/zh.json @@ -1,7 +1,7 @@ { "TabTitle": { "title": "Firefly Tools", - "description": "Firefly tools by Kain" + "description": "Firefly tools by Firefly Shelter" }, "DataPage": { "skillType": "技能类型", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 37f82a7..7afc695 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -25,7 +25,7 @@ const geistMono = Geist_Mono({ export const metadata: Metadata = { title: "Firefly SrTools", - description: "SrTools by Kain", + description: "SrTools by Firefly Shelter", icons: { icon: "/ff-srtool.png", shortcut: "/ff-srtool.ico", @@ -33,12 +33,12 @@ export const metadata: Metadata = { }, openGraph: { title: "Firefly SrTools", - description: "SrTools by Kain", - url: "https://srtools.kain.id.vn", + description: "SrTools by Firefly Shelter", + url: "https://srtools.punklorde.org", siteName: "Firefly SrTools", images: [ { - url: "https://srtools.kain.id.vn/ff-srtool.png", + url: "https://srtools.punklorde.org/ff-srtool.png", width: 312, height: 312, alt: "Firefly SrTools Logo", @@ -50,8 +50,8 @@ export const metadata: Metadata = { twitter: { card: "summary_large_image", title: "Firefly SrTools", - description: "SrTools by Kain", - images: ["https://srtools.kain.id.vn/ff-srtool.png"], + description: "SrTools by Firefly Shelter", + images: ["https://srtools.punklorde.org/ff-srtool.png"], }, }; diff --git a/src/components/actionBar/index.tsx b/src/components/actionBar/index.tsx index 3284628..d28c9a3 100644 --- a/src/components/actionBar/index.tsx +++ b/src/components/actionBar/index.tsx @@ -417,7 +417,7 @@ export default function ActionBar() { {modalConfigs.map(({ id, title, onClose, content }) => ( -
+
{/* Alert */} -
+ {/*
-
-

If you have any suggestions or problems, please contact me! @kain0304

-
-
+
*/} {/* Timeline */}
diff --git a/src/components/footer/index.tsx b/src/components/footer/index.tsx index f01397c..4992794 100644 --- a/src/components/footer/index.tsx +++ b/src/components/footer/index.tsx @@ -2,7 +2,7 @@ export default function Footer() { return (
) diff --git a/src/components/header/index.tsx b/src/components/header/index.tsx index c4569fb..893ff63 100644 --- a/src/components/header/index.tsx +++ b/src/components/header/index.tsx @@ -359,7 +359,7 @@ export default function Header() { Tools -

By Kain

+

Firefly Shelter

@@ -567,7 +567,7 @@ export default function Header() { {modalConfigs?.map(({ id, title, onClose, content }) => ( -
+
-
+
{/* Left Panel */}
diff --git a/src/components/relicsInfo/index.tsx b/src/components/relicsInfo/index.tsx index cee6505..8273bdc 100644 --- a/src/components/relicsInfo/index.tsx +++ b/src/components/relicsInfo/index.tsx @@ -40,7 +40,7 @@ export default function RelicsInfo() { const { avatarSelected } = useCurrentDataStore() const { mapRelicSet, subAffix } = useDetailDataStore() const { locale } = useLocaleStore() - + const handleShow = (modalId: string) => { const modal = document.getElementById(modalId) as HTMLDialogElement | null; if (modal) { @@ -155,16 +155,16 @@ export default function RelicsInfo() { // Handle ESC key to close modal useEffect(() => { for (const item of modalConfigs) { - if (!item?.isOpen) { - handleCloseModal(item?.id || "") - } + if (!item?.isOpen) { + handleCloseModal(item?.id || "") + } } const handleEscKey = (event: KeyboardEvent) => { - if (event.key === 'Escape') { - for (const item of modalConfigs) { - handleCloseModal(item?.id || "") - } + if (event.key === 'Escape') { + for (const item of modalConfigs) { + handleCloseModal(item?.id || "") } + } }; window.addEventListener('keydown', handleEscKey); @@ -173,164 +173,162 @@ export default function RelicsInfo() { return (
-
-
+
- {/* Left Section - Items Grid */} -
-
-

-
- {transI18n("relics")} -

+ {/* Left Section - Items Grid */} +
+
+

+
+ {transI18n("relics")} +

-
- {["1", "2", "3", "4", "5", "6"].map((item, index) => ( -
-
{ - if (item === selectedRelicSlot) { - setSelectedRelicSlot("") - } else { - setSelectedRelicSlot(item) - } +
+ {["1", "2", "3", "4", "5", "6"].map((item, index) => ( +
+
{ + if (item === selectedRelicSlot) { + setSelectedRelicSlot("") + } else { + setSelectedRelicSlot(item) + } + handlerChangeRelic(item) + }} + className="cursor-pointer" + > + +
+ +
+
+ + + + -
+ {getRelic(item) && ( - - {getRelic(item) && ( - - )} -
+ )}
- ))} -
-
- - -
+
+ ))} +
+
+
+
+
- {/* Right Section - Stats and Set Effects */} -
+ {/* Right Section - Stats and Set Effects */} +
- {/* Set Effects Panel */} -
-

-
- {transI18n("setEffects")} -

+ {/* Set Effects Panel */} +
+

+
+ {transI18n("setEffects")} +

-
- {relicEffects.map((setEffect, index) => { - const relicInfo = mapRelicSet[setEffect.key]; - if (!relicInfo) return null; - return ( -
-
-
- {setEffect.count && ( - - ({setEffect.count}) - - )} -
- -
- {Object.entries(relicInfo.Skills).map(([requireNum, value]) => { - if (Number(requireNum) > Number(setEffect.count)) return null; - return ( -
-
- {requireNum}-PC: -
-
-
+
+ {relicEffects.map((setEffect, index) => { + const relicInfo = mapRelicSet[setEffect.key]; + if (!relicInfo) return null; + return ( +
+
+
+ }} + /> + {setEffect.count && ( + + ({setEffect.count}) + + )}
- ) - })} -
+ +
+ {Object.entries(relicInfo.Skills).map(([requireNum, value]) => { + if (Number(requireNum) > Number(setEffect.count)) return null; + return ( +
+
+ {requireNum}-PC: +
+
+
+ ) + })} +
+
+ ) + })}
@@ -338,7 +336,7 @@ export default function RelicsInfo() { {modalConfigs.map(({ id, title, onClose, content }) => ( -
+