style: updated muted colors and added desc

This commit is contained in:
Raj 2024-03-13 17:58:16 +05:30
parent 2ec7f7679a
commit 2beda0d164
2 changed files with 10 additions and 1 deletions

View File

@ -108,6 +108,12 @@ export default async function Story({
const images = getPageImageUrls(recordMap, { mapImageUrl: (url) => url });
const description = getPageProperty(
"description",
Object.values(recordMap.block)[0].value,
recordMap,
);
const repo = process.env.COMMENTS_REPO;
const repoId = process.env.COMMENTS_REPO_ID;
const category = process.env.COMMENTS_CATEGORY;
@ -138,6 +144,9 @@ export default async function Story({
<h1 className="text-2xl text-center text-pretty font-medium">
{title}
</h1>
<p className="text-xs italic text-center text-muted-foreground">
{description}
</p>
<section className="comments-section h-[58px] my-2 overflow-hidden">
{repo && repoId && category && categoryId ? (

View File

@ -20,7 +20,7 @@
--secondary-foreground: 24 9.8% 10%;
--muted: 60 4.8% 95.9%;
--muted-foreground: 25 5.3% 44.7%;
--muted-foreground: 240 10% 40%;
--accent: 60 4.8% 95.9%;
--accent-foreground: 24 9.8% 10%;