From d715e74d346d5f84093fa68734420e09092c3325 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Fri, 6 Sep 2024 08:55:21 -0700 Subject: [PATCH 1/2] Add about link under settings --- .../settings/settingsContainer/SettingsContainer.tsx | 12 ++++++++++-- .../settingsContainer/SettingsContainerSkeleton.tsx | 3 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/containers/settings/settingsContainer/SettingsContainer.tsx b/src/containers/settings/settingsContainer/SettingsContainer.tsx index daf06360..337a6de2 100644 --- a/src/containers/settings/settingsContainer/SettingsContainer.tsx +++ b/src/containers/settings/settingsContainer/SettingsContainer.tsx @@ -11,7 +11,7 @@ import { } from "react-icons/bi"; import { MdRemoveRedEye } from "react-icons/md"; import { BiSolidBellOff } from "react-icons/bi"; -import { BsPersonFillSlash } from "react-icons/bs"; +import { BsFillInfoCircleFill, BsPersonFillSlash } from "react-icons/bs"; import { TbLicense } from "react-icons/tb"; import { getSessionFromServer } from "@/lib/api/auth/session"; import { getProfile } from "@/lib/api/bsky/actor"; @@ -151,7 +151,7 @@ export default async function SettingsContainer() {

- About + Learn More

License + + + About +
diff --git a/src/containers/settings/settingsContainer/SettingsContainerSkeleton.tsx b/src/containers/settings/settingsContainer/SettingsContainerSkeleton.tsx index 01dfa2a1..56cc57bf 100644 --- a/src/containers/settings/settingsContainer/SettingsContainerSkeleton.tsx +++ b/src/containers/settings/settingsContainer/SettingsContainerSkeleton.tsx @@ -72,11 +72,12 @@ export default function SettingsContainerSkeleton() {

- About + Learn More

+
From 5a6432c4020046b71af4c9f4bbf4f208864ae943 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Fri, 6 Sep 2024 09:03:39 -0700 Subject: [PATCH 2/2] Add "Go Home" link to Not Found page --- src/app/not-found.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 26370bcb..6cd01c72 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,16 +1,16 @@ +"use client"; + +import Button from "@/components/actions/button/Button"; import Image from "next/image"; +import { useRouter } from "next/navigation"; export default function NotFound() { + const router = useRouter(); + return (
- Ouranos logo + Ouranos logo Ouranos text The page you are looking for could not be found +
+ +
); }