-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add terms and privacy pages #131 #178
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🤖 OpenAI The changes introduce new components for Privacy Policy and Terms of Service pages, along with a shared banner component. These additions provide users with necessary legal information and enhance the overall user experience.
Chat with 🤖 OpenAI Bot (
|
export default function TermsOfService() { | ||
return ( | ||
<> | ||
<PrivacyTermsBanner | ||
title={metadata.title as string} | ||
lastUpdated="2023-07-17" | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 OpenAI
The lastUpdated
prop in the PrivacyTermsBanner
component is hardcoded to a specific date. This could lead to outdated information being displayed if the terms of service are updated but this date is not changed. Consider storing this date in a more centralized location or retrieving it from a backend service, if available.
export default function TermsOfService() { | |
return ( | |
<> | |
<PrivacyTermsBanner | |
title={metadata.title as string} | |
lastUpdated="2023-07-17" | |
/> | |
export default function TermsOfService() { | |
const lastUpdated = "2023-07-17"; // Ideally, this should be fetched from a server or stored in a config file | |
return ( | |
<> | |
<PrivacyTermsBanner | |
title={metadata.title as string} | |
lastUpdated={lastUpdated} | |
/> |
Implement #131
Summary by OpenAI
New Feature:
Privacy Policy
andTerms of Service
pages to the application.PrivacyTermsBanner
component that displays a banner with a title and last updated date.