feat: add topic Life Journal
This commit is contained in:
parent
395b86be06
commit
f4e080f461
|
|
@ -10,5 +10,5 @@
|
|||
43625, 42787, 43258, 33462, 47109, 46939, 45701, 33233, 37346, 40671, 33870,
|
||||
33421, 51552, 51585, 48937, 51379, 51460, 51084, 51509, 51478, 51639, 48910,
|
||||
51139, 39329, 51683, 51077, 51374, 49120, 47356, 17096, 50708, 51430, 51935,
|
||||
51756, 6558
|
||||
51756, 6558, 49392, 52186
|
||||
]
|
||||
|
|
@ -0,0 +1,243 @@
|
|||
[
|
||||
{
|
||||
"name": "xLog",
|
||||
"description": "Let's talk about xLog, whether to praise or criticize it.",
|
||||
"notes": [
|
||||
"10-50",
|
||||
"30-24",
|
||||
"30-25",
|
||||
"77-105",
|
||||
"5825-1",
|
||||
"26375-18",
|
||||
"31132-9",
|
||||
"32022-4",
|
||||
"32022-5",
|
||||
"32022-7",
|
||||
"32022-8",
|
||||
"32022-11",
|
||||
"32022-13",
|
||||
"32022-14",
|
||||
"32022-15",
|
||||
"32022-16",
|
||||
"32022-18",
|
||||
"32022-19",
|
||||
"32022-20",
|
||||
"32022-21",
|
||||
"32022-22",
|
||||
"33210-13",
|
||||
"33224-1",
|
||||
"33276-24",
|
||||
"33446-4",
|
||||
"33446-32",
|
||||
"33592-1",
|
||||
"45899-71",
|
||||
"47356-1",
|
||||
"50114-6",
|
||||
"51374-2",
|
||||
"51408-11",
|
||||
"51485-1",
|
||||
"51645-1",
|
||||
"51796-3",
|
||||
"51819-1",
|
||||
"45-176",
|
||||
"40657-1",
|
||||
"50093-1",
|
||||
"50472-2",
|
||||
"51726-1",
|
||||
"51493-1",
|
||||
"43000-23",
|
||||
"50701-28",
|
||||
"52186-11",
|
||||
"52186-6"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ChatGPT",
|
||||
"description": "The world is undergoing a fusion, and we are in the center of it.",
|
||||
"notes": [
|
||||
"30-84",
|
||||
"77-41",
|
||||
"723-96",
|
||||
"723-97",
|
||||
"723-98",
|
||||
"723-99",
|
||||
"26375-26",
|
||||
"45899-447",
|
||||
"47328-2",
|
||||
"47328-3",
|
||||
"47345-3",
|
||||
"49120-167",
|
||||
"49213-3",
|
||||
"50143-2",
|
||||
"50708-11",
|
||||
"51068-2",
|
||||
"51072-52",
|
||||
"51124-28",
|
||||
"51134-1",
|
||||
"51154-9",
|
||||
"51191-6",
|
||||
"51191-9",
|
||||
"51191-10",
|
||||
"51302-1",
|
||||
"51302-2",
|
||||
"51356-2",
|
||||
"51356-4",
|
||||
"51494-14",
|
||||
"51683-30",
|
||||
"51683-33",
|
||||
"51683-49",
|
||||
"51683-50",
|
||||
"51718-1",
|
||||
"51784-1",
|
||||
"51996-3",
|
||||
"52003-1",
|
||||
"22033-73",
|
||||
"33276-29",
|
||||
"33492-1",
|
||||
"45701-2",
|
||||
"45828-10",
|
||||
"48952-84",
|
||||
"49041-9",
|
||||
"50140-13",
|
||||
"50161-36",
|
||||
"50701-17",
|
||||
"51061-1",
|
||||
"51068-1",
|
||||
"51068-2",
|
||||
"51139-8",
|
||||
"51197-154",
|
||||
"51350-2",
|
||||
"51379-5",
|
||||
"51408-14",
|
||||
"51460-13",
|
||||
"51478-5",
|
||||
"51478-8",
|
||||
"51481-1",
|
||||
"51494-2",
|
||||
"51124-29",
|
||||
"51478-9",
|
||||
"51683-103",
|
||||
"77-115",
|
||||
"51935-11",
|
||||
"50622-16",
|
||||
"50622-15"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Life Journal",
|
||||
"description": "Discover new perspectives and insights in others' weekly, monthly, or yearly journal.",
|
||||
"notes": [
|
||||
"10-291",
|
||||
"10-49",
|
||||
"10-82",
|
||||
"10-90",
|
||||
"45-190",
|
||||
"45-181",
|
||||
"45-175",
|
||||
"45-174",
|
||||
"45-171",
|
||||
"45-170",
|
||||
"45-167",
|
||||
"45-163",
|
||||
"45-146",
|
||||
"45-144",
|
||||
"45-140",
|
||||
"45-141",
|
||||
"45899-2",
|
||||
"45899-3",
|
||||
"45899-729",
|
||||
"45899-687",
|
||||
"45899-566",
|
||||
"45899-528",
|
||||
"45899-481",
|
||||
"45899-447",
|
||||
"45899-379",
|
||||
"45899-328",
|
||||
"45899-327",
|
||||
"45899-198",
|
||||
"45899-133",
|
||||
"45899-71",
|
||||
"45899-27",
|
||||
"45899-26",
|
||||
"45899-25",
|
||||
"45899-24",
|
||||
"45899-23",
|
||||
"45899-22",
|
||||
"45899-21",
|
||||
"45899-20",
|
||||
"45899-19",
|
||||
"45899-18",
|
||||
"45899-17",
|
||||
"45899-16",
|
||||
"45899-15",
|
||||
"45899-14",
|
||||
"45899-13",
|
||||
"45899-12",
|
||||
"45899-11",
|
||||
"45899-10",
|
||||
"45899-9",
|
||||
"45899-8",
|
||||
"45899-7",
|
||||
"45899-6",
|
||||
"45899-5",
|
||||
"45899-4",
|
||||
"46517-22",
|
||||
"46517-51",
|
||||
"49120-167",
|
||||
"49120-168",
|
||||
"49120-169",
|
||||
"49120-237",
|
||||
"50351-1",
|
||||
"50351-3",
|
||||
"50351-29",
|
||||
"50351-7",
|
||||
"50351-4",
|
||||
"50351-2",
|
||||
"50701-16",
|
||||
"50701-28",
|
||||
"50701-17",
|
||||
"50701-18",
|
||||
"51191-1",
|
||||
"51191-2",
|
||||
"51191-3",
|
||||
"51191-4",
|
||||
"51191-5",
|
||||
"51191-6",
|
||||
"51191-7",
|
||||
"51191-8",
|
||||
"51191-9",
|
||||
"51191-10",
|
||||
"19-27",
|
||||
"383-23",
|
||||
"471-1",
|
||||
"595-73",
|
||||
"595-76",
|
||||
"4565-292",
|
||||
"24365-2",
|
||||
"33276-12",
|
||||
"33276-24",
|
||||
"33276-15",
|
||||
"38034-6",
|
||||
"42657-1",
|
||||
"43625-1",
|
||||
"43625-3",
|
||||
"45089-10",
|
||||
"45096-1",
|
||||
"49044-1",
|
||||
"49120-166",
|
||||
"49213-3",
|
||||
"49392-5",
|
||||
"50161-26",
|
||||
"50843-3",
|
||||
"51124-3",
|
||||
"51197-33",
|
||||
"51197-82",
|
||||
"51197-148",
|
||||
"51224-1",
|
||||
"51362-1",
|
||||
"51408-2",
|
||||
"51475-1",
|
||||
"51538-70"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
@ -87,10 +87,10 @@ const Post = ({
|
|||
<span className="xlog-post-tags space-x-1 truncate min-w-0">
|
||||
{post.metadata?.content?.tags
|
||||
?.filter((tag) => tag !== "post" && tag !== "page")
|
||||
.map((tag) => (
|
||||
.map((tag, index) => (
|
||||
<span
|
||||
className="hover:text-zinc-600"
|
||||
key={tag}
|
||||
key={tag + index}
|
||||
onClick={(e) => {
|
||||
e.preventDefault()
|
||||
router.push(`/tag/${tag}`)
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ import { useRefCallback } from "@crossbell/util-hooks"
|
|||
import { getSiteLink } from "~/lib/helpers"
|
||||
import { Image } from "~/components/ui/Image"
|
||||
import { useGetSites } from "~/queries/site"
|
||||
import showcase from "../../../showcase.json"
|
||||
import showcase from "../../../data/showcase.json"
|
||||
import { CharacterFloatCard } from "~/components/common/CharacterFloatCard"
|
||||
import { useAccountSites, useSubscribeToSites } from "~/queries/site"
|
||||
import { useTranslation } from "next-i18next"
|
||||
import topics from "../../../topics.json"
|
||||
import topics from "../../../data/topics.json"
|
||||
|
||||
export function MainSidebar() {
|
||||
const showcaseSites = useGetSites(showcase)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { MainLayout } from "~/components/main/MainLayout"
|
|||
import { useAccountState, useConnectModal } from "@crossbell/connect-kit"
|
||||
import { dehydrate, QueryClient } from "@tanstack/react-query"
|
||||
import { prefetchGetSites } from "~/queries/site.server"
|
||||
import showcase from "../../showcase.json"
|
||||
import showcase from "../../data/showcase.json"
|
||||
import { useAccountSites } from "~/queries/site"
|
||||
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
|
||||
import { languageDetector } from "~/lib/language-detector"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import { getServerSideProps as getLayoutServerSideProps } from "~/components/das
|
|||
import { GetServerSideProps } from "next"
|
||||
import { serverSidePropsHandler } from "~/lib/server-side-props"
|
||||
import { useGetPagesBySite } from "~/queries/page"
|
||||
import showcase from "../../../../showcase.json"
|
||||
import showcase from "../../../../data/showcase.json"
|
||||
import { useGetSites } from "~/queries/site"
|
||||
import { CharacterFloatCard } from "~/components/common/CharacterFloatCard"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import { Image } from "~/components/ui/Image"
|
|||
import { dehydrate, QueryClient } from "@tanstack/react-query"
|
||||
import { prefetchGetSites } from "~/queries/site.server"
|
||||
import { useGetSites } from "~/queries/site"
|
||||
import showcase from "../../showcase.json"
|
||||
import showcase from "../../data/showcase.json"
|
||||
import { CharacterFloatCard } from "~/components/common/CharacterFloatCard"
|
||||
import { useAccountSites, useSubscribeToSites } from "~/queries/site"
|
||||
import { RssIcon } from "@heroicons/react/24/outline"
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ import { ReactElement, useState } from "react"
|
|||
import { MainLayout } from "~/components/main/MainLayout"
|
||||
import { dehydrate, QueryClient } from "@tanstack/react-query"
|
||||
import { prefetchGetSites } from "~/queries/site.server"
|
||||
import showcase from "../../../showcase.json"
|
||||
import topics from "../../../topics.json"
|
||||
import showcase from "../../../data/showcase.json"
|
||||
import topics from "../../../data/topics.json"
|
||||
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
|
||||
import { languageDetector } from "~/lib/language-detector"
|
||||
import { MainFeed } from "~/components/main/MainFeed"
|
||||
|
|
|
|||
121
topics.json
121
topics.json
|
|
@ -1,121 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "xLog",
|
||||
"description": "Let's talk about xLog, whether to praise or criticize it.",
|
||||
"notes": [
|
||||
"10-50",
|
||||
"30-24",
|
||||
"30-25",
|
||||
"77-105",
|
||||
"5825-1",
|
||||
"26375-18",
|
||||
"31132-9",
|
||||
"32022-4",
|
||||
"32022-5",
|
||||
"32022-7",
|
||||
"32022-8",
|
||||
"32022-11",
|
||||
"32022-13",
|
||||
"32022-14",
|
||||
"32022-15",
|
||||
"32022-16",
|
||||
"32022-18",
|
||||
"32022-19",
|
||||
"32022-20",
|
||||
"32022-21",
|
||||
"32022-22",
|
||||
"33210-13",
|
||||
"33224-1",
|
||||
"33276-24",
|
||||
"33446-4",
|
||||
"33446-32",
|
||||
"33592-1",
|
||||
"45899-71",
|
||||
"47356-1",
|
||||
"50114-6",
|
||||
"51374-2",
|
||||
"51408-11",
|
||||
"51485-1",
|
||||
"51645-1",
|
||||
"51796-3",
|
||||
"51819-1",
|
||||
"45-176",
|
||||
"40657-1",
|
||||
"50093-1",
|
||||
"50472-2",
|
||||
"51726-1",
|
||||
"51493-1",
|
||||
"43000-23"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ChatGPT",
|
||||
"description": "The world is undergoing a fusion, and we are in the center of it.",
|
||||
"notes": [
|
||||
"30-84",
|
||||
"77-41",
|
||||
"723-96",
|
||||
"723-97",
|
||||
"723-98",
|
||||
"723-99",
|
||||
"26375-26",
|
||||
"45899-447",
|
||||
"47328-2",
|
||||
"47328-3",
|
||||
"47345-3",
|
||||
"49120-167",
|
||||
"49213-3",
|
||||
"50143-2",
|
||||
"50622-1",
|
||||
"50622-2",
|
||||
"50622-13",
|
||||
"50622-14",
|
||||
"50708-11",
|
||||
"51068-2",
|
||||
"51072-52",
|
||||
"51124-28",
|
||||
"51134-1",
|
||||
"51154-9",
|
||||
"51191-6",
|
||||
"51191-9",
|
||||
"51191-10",
|
||||
"51302-1",
|
||||
"51302-2",
|
||||
"51356-2",
|
||||
"51356-4",
|
||||
"51494-14",
|
||||
"51683-30",
|
||||
"51683-33",
|
||||
"51683-49",
|
||||
"51683-50",
|
||||
"51718-1",
|
||||
"51784-1",
|
||||
"51996-3",
|
||||
"52003-1",
|
||||
"22033-73",
|
||||
"33276-29",
|
||||
"33492-1",
|
||||
"45701-2",
|
||||
"45828-10",
|
||||
"48952-84",
|
||||
"49041-9",
|
||||
"50140-13",
|
||||
"50161-36",
|
||||
"50701-17",
|
||||
"51061-1",
|
||||
"51068-1",
|
||||
"51068-2",
|
||||
"51139-8",
|
||||
"51197-154",
|
||||
"51350-2",
|
||||
"51379-5",
|
||||
"51408-14",
|
||||
"51460-13",
|
||||
"51478-5",
|
||||
"51478-8",
|
||||
"51481-1",
|
||||
"51494-2",
|
||||
"51124-29"
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Reference in New Issue