diff --git a/apps/web/package.json b/apps/web/package.json
index 402421de..d2c0a8b8 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -5,7 +5,7 @@
"packageManager": "pnpm@10.11.1",
"repository": {
"type": "git",
- "url": "https://github.com/innei/photo-gallery"
+ "url": "https://github.com/Iris-Photo-Gallery/Iris"
},
"scripts": {
"analyze": "analyzer=1 vite build",
diff --git a/apps/web/src/main.tsx b/apps/web/src/main.tsx
index 5abc3b5a..7b9bbb28 100644
--- a/apps/web/src/main.tsx
+++ b/apps/web/src/main.tsx
@@ -1,6 +1,5 @@
import './styles/index.css'
-import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { RouterProvider } from 'react-router'
@@ -12,7 +11,5 @@ if (import.meta.env.DEV) {
}
createRoot(document.querySelector('#root')!).render(
-
-
- ,
+ ,
)
diff --git a/apps/web/src/modules/gallery/ActionGroup.tsx b/apps/web/src/modules/gallery/ActionGroup.tsx
index 46325772..c9d24ae2 100644
--- a/apps/web/src/modules/gallery/ActionGroup.tsx
+++ b/apps/web/src/modules/gallery/ActionGroup.tsx
@@ -1,4 +1,5 @@
import { siteConfig } from '@config'
+import { repository } from '@pkg'
import { useAtom } from 'jotai'
import { useRef, useState } from 'react'
@@ -52,9 +53,7 @@ export const ActionGroup = () => {
variant="ghost"
size="sm"
className="h-10 w-10 rounded-full border-0 bg-gray-100 transition-all duration-200 hover:bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-700"
- onClick={() =>
- window.open('https://github.com/Innei/photo-gallery', '_blank')
- }
+ onClick={() => window.open(repository.url, '_blank')}
title="查看 GitHub 仓库"
>
diff --git a/package.json b/package.json
index d7311ad5..76fc2c5d 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"packageManager": "pnpm@10.11.1",
"repository": {
"type": "git",
- "url": "https://github.com/innei/photo-gallery"
+ "url": "https://github.com/Iris-Photo-Gallery/Iris"
},
"scripts": {
"build": "pnpm --filter @photo-gallery/web build",