diff --git a/.forgejo/workflows/format.yml b/.forgejo/workflows/format.yml index 5e0f052..d2b0145 100644 --- a/.forgejo/workflows/format.yml +++ b/.forgejo/workflows/format.yml @@ -18,7 +18,7 @@ jobs: - name: Install frontend deps working-directory: frontend - run: npm install --legacy-peer-deps + run: npm install - name: Run Prettier check working-directory: frontend diff --git a/frontend/package.json b/frontend/package.json index 4ae9903..a553706 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,7 +7,7 @@ "dev": "vite", "build": "vite build", "lint": "eslint .", - "typecheck": "node_modules/typescript-7/bin/tsc --noEmit", + "typecheck": "tsc --noEmit", "preview": "vite preview" }, "dependencies": { @@ -35,8 +35,7 @@ "eslint-plugin-react-refresh": "^0.5.2", "globals": "^17.4.0", "prettier": "^3.8.3", - "typescript": "^7.0.1-rc", - "typescript-7": "npm:typescript@^7.0.1-rc", + "typescript": "^5.7.3", "typescript-eslint": "^8.61.1", "typescript-language-server": "^5.3.0", "vite": "^8.0.4", diff --git a/frontend/src/assets/images/gitea.svg b/frontend/src/assets/images/gitea.svg new file mode 100644 index 0000000..7ed0012 --- /dev/null +++ b/frontend/src/assets/images/gitea.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/components/Footer.tsx b/frontend/src/components/Footer.tsx index a574bb0..23f46e3 100644 --- a/frontend/src/components/Footer.tsx +++ b/frontend/src/components/Footer.tsx @@ -1,25 +1,43 @@ import forgejo from "../assets/images/forgejo.svg"; +import gitea from "../assets/images/gitea.svg"; export default function Footer() { const currentYear = new Date().getFullYear(); - const goToRepo = () => { + const goToForgejo = () => { window.location.href = "https://git.aramjonghu.nl/AramJonghu/aramjonghu-site"; }; + const goToGitea = () => { + window.location.href = + "https://git.zach-dev.cc/AramJonghu/aramjonghu-site"; + }; + return ( ); }