fix: activities link

This commit is contained in:
DIYgod 2023-07-04 20:16:48 +01:00
parent 0b32ec68ca
commit 26c1cffdd6
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View File

@ -152,7 +152,7 @@ async function Home() {
variant="outline"
variantColor="gradient"
>
<Link className="h-full flex items-center" href="/activities">
<Link className="h-full flex items-center" href="/">
{t("Look at others'")}
</Link>
</Button>

View File

@ -164,7 +164,7 @@ export default function SubdomainIndex() {
}}
>
<li>
<UniLink href="/activities" target="_blank">
<UniLink href="/" target="_blank">
{t("Check out the updates of other bloggers")}
</UniLink>
</li>

View File

@ -18,7 +18,7 @@ export async function GET(request: Request) {
version: "https://jsonfeed.org/version/1",
title: "xLog Latest",
icon: "https://ipfs.4everland.xyz/ipfs/bafkreigxdnr5lvtjxqin5upquomrti2s77hlgtjy5zaeu43uhpny75rbga",
home_page_url: `${SITE_URL}/activities`,
home_page_url: `${SITE_URL}/`,
feed_url: `${SITE_URL}/feed/latest`,
items: feed?.list?.map((post: ExpandedNote) =>
parsePost(post, !!searchParams.get("withTwitter")),

View File

@ -15,7 +15,7 @@ export async function GET(request: Request) {
version: "https://jsonfeed.org/version/1",
title: "xLog Latest",
icon: "https://ipfs.4everland.xyz/ipfs/bafkreigxdnr5lvtjxqin5upquomrti2s77hlgtjy5zaeu43uhpny75rbga",
home_page_url: `${SITE_URL}/activities`,
home_page_url: `${SITE_URL}/`,
feed_url: `${SITE_URL}/feed/latest`,
items: feed?.list?.map((post: ExpandedNote) => parsePost(post)),
}

View File

@ -64,7 +64,7 @@ export const FollowingButton = ({
<span>
<Trans i18n={i18n} i18nKey="Successfully followed" ns="common">
Hey there! You&apos;re all set to{" "}
<UniLink className="underline" href={`${SITE_URL}/activities`}>
<UniLink className="underline" href={`${SITE_URL}/`}>
keep up with your followed blogger&apos;s latest buzz here
</UniLink>
.