Compare commits

...

2 commits

Author SHA1 Message Date
rocord01 11dfb0fa49 privacy policy update
All checks were successful
Deploy to Server / deploy (push) Successful in 3m40s
2025-08-01 00:33:27 -04:00
rocord01 bc07ac55b0 dynamic metadata for updates 2025-08-01 00:33:15 -04:00
2 changed files with 38 additions and 1 deletions

View file

@ -9,6 +9,40 @@ export function generateStaticParams() {
})) }))
} }
// Add dynamic metadata for each update
export async function generateMetadata({ params }) {
const post = updates.find((p) => p.id.toString() === params.id);
if (!post) {
return {
title: 'Update Not Found | LiteNet',
description: 'This update could not be found.',
};
}
return {
title: `${post.title} | LiteNet Updates`,
description: post.summary,
openGraph: {
title: `${post.title} | LiteNet Updates`,
description: post.summary,
type: 'article',
publishedTime: post.timestamp,
authors: [post.author?.name],
images: [
{
url: post.author?.avatar || 'https://litenet.tel/litenet-logo.png',
alt: post.author?.name || 'LiteNet',
}
],
},
twitter: {
card: 'summary_large_image',
title: `${post.title} | LiteNet Updates`,
description: post.summary,
images: [post.author?.avatar || 'https://litenet.tel/litenet-logo.png'],
},
};
}
export default function BlogPost({ params }) { export default function BlogPost({ params }) {
const post = updates.find((p) => p.id.toString() === params.id) const post = updates.find((p) => p.id.toString() === params.id)

View file

@ -60,7 +60,10 @@ export function PrivacyPolicyModal() {
<h2 className="text-lg font-semibold mb-2">3. Call Recording</h2> <h2 className="text-lg font-semibold mb-2">3. Call Recording</h2>
<p className="mb-4"> <p className="mb-4">
Call recording does not happen on the LiteNet Phone system itself. Individuals may record their calls via their own methods provided it's legal in their jurisdiction. If you record your calls we ask you announce it before a conversation. Inbound and outbound calls (not between extensions) on LiteNet are recorded and may be listened to by the staff team if either party requests it or if a dire situation presents itself (such as abuse, harassment, or legal compliance). Recordings are stored securely and are only accessed when necessary for moderation, safety, or legal reasons.
</p>
<p className="mb-4">
Individuals may record their calls via their own methods provided it's legal in their jurisdiction. If you record your calls we ask you announce it before a conversation.
</p> </p>
<h2 className="text-lg font-semibold mb-2">4. Voicemail Privacy</h2> <h2 className="text-lg font-semibold mb-2">4. Voicemail Privacy</h2>