mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
ef06bed081
Replace placeholder pages with detailed legal documents covering data handling, Google Calendar use, user rights, and service terms. Add a shared legal page layout and metadata, plus Google site verification.
191 lines
6.5 KiB
TypeScript
191 lines
6.5 KiB
TypeScript
import type { Metadata } from 'next';
|
|
|
|
import { A, LegalLayout, LegalSection, UL } from '@/components/legal/LegalLayout';
|
|
import { LEGAL } from '@/lib/legal';
|
|
|
|
export const metadata: Metadata = {
|
|
title: `Terms of Service | ${LEGAL.shortName}`,
|
|
description: `The rules for using ${LEGAL.appName}.`,
|
|
};
|
|
|
|
const sections: LegalSection[] = [
|
|
{
|
|
id: 'acceptance',
|
|
title: 'Acceptance of these terms',
|
|
body: (
|
|
<p>
|
|
These terms govern your use of {LEGAL.appName} ({LEGAL.shortName}) at <A href={LEGAL.siteUrl}>{LEGAL.siteUrl}</A>,
|
|
operated by {LEGAL.operator}. By signing in or using the service you agree to them and to our{' '}
|
|
<A href="/privacy-policy">Privacy Policy</A>. If you do not agree, do not use the service.
|
|
</p>
|
|
),
|
|
},
|
|
{
|
|
id: 'service',
|
|
title: 'What the service does',
|
|
body: (
|
|
<>
|
|
<p>{LEGAL.shortName} is a workplace application that provides:</p>
|
|
<UL>
|
|
<li>Attendance check-in and check-out with location and photo.</li>
|
|
<li>Leave, permit and sick requests with approval workflow and generated documents.</li>
|
|
<li>Task, client and project assignment.</li>
|
|
<li>Calendar scheduling through an integration with Google Calendar.</li>
|
|
<li>Reports, notifications and administration tools for authorised staff.</li>
|
|
</UL>
|
|
<p>Features available to you depend on the role your administrator gives you.</p>
|
|
</>
|
|
),
|
|
},
|
|
{
|
|
id: 'accounts',
|
|
title: 'Accounts',
|
|
body: (
|
|
<UL>
|
|
<li>Accounts are created or approved by your organisation. You must give accurate information.</li>
|
|
<li>Keep your password private. You are responsible for activity under your account, so tell us promptly if you suspect misuse.</li>
|
|
<li>Do not share your account or sign in as someone else.</li>
|
|
</UL>
|
|
),
|
|
},
|
|
{
|
|
id: 'acceptable-use',
|
|
title: 'Acceptable use',
|
|
body: (
|
|
<>
|
|
<p>You agree not to:</p>
|
|
<UL>
|
|
<li>Submit false attendance, for example fake GPS location, photos of someone else, or photos of photos.</li>
|
|
<li>Submit leave, permit or sick requests with false reasons or forged attachments or signatures.</li>
|
|
<li>Access data or areas of the service your role does not allow, or try to bypass access controls.</li>
|
|
<li>Probe, scan, overload or interfere with the service, or introduce malware.</li>
|
|
<li>Copy, resell or reverse engineer the service, except where the law allows it.</li>
|
|
<li>Use the service to harass others or to store unlawful content.</li>
|
|
</UL>
|
|
<p>Your organisation may take disciplinary action under its own policies for misuse of attendance records.</p>
|
|
</>
|
|
),
|
|
},
|
|
{
|
|
id: 'your-content',
|
|
title: 'Your data and content',
|
|
body: (
|
|
<>
|
|
<p>
|
|
You keep ownership of what you submit, such as requests, attachments and task details. You give {LEGAL.operator}{' '}
|
|
permission to process it to run the service for you and your organisation, as described in the Privacy Policy.
|
|
</p>
|
|
<p>
|
|
Attendance, leave and task records are also records of your organisation, which decides how they are used for
|
|
HR and payroll purposes.
|
|
</p>
|
|
</>
|
|
),
|
|
},
|
|
{
|
|
id: 'google',
|
|
title: 'Google Calendar integration',
|
|
body: (
|
|
<>
|
|
<p>
|
|
The calendar features use Google APIs through an account connected by an administrator. Use of Google data is
|
|
covered by section 3 of the <A href="/privacy-policy#google-data">Privacy Policy</A>, which includes our
|
|
compliance with the Google API Services User Data Policy and its Limited Use requirements.
|
|
</p>
|
|
<p>
|
|
Your use of Google Calendar and Google Meet is also subject to{' '}
|
|
<A href="https://policies.google.com/terms">Google's Terms of Service</A>. Calendar features may stop if
|
|
Google changes or withdraws its APIs, or if the connected account revokes access.
|
|
</p>
|
|
</>
|
|
),
|
|
},
|
|
{
|
|
id: 'permissions',
|
|
title: 'Device permissions',
|
|
body: (
|
|
<p>
|
|
Attendance features ask your browser for camera and location access, and notifications ask for permission to
|
|
send alerts. You can refuse or withdraw these at any time in your browser or device settings. Features that need a
|
|
permission will not work without it.
|
|
</p>
|
|
),
|
|
},
|
|
{
|
|
id: 'ip',
|
|
title: 'Intellectual property',
|
|
body: (
|
|
<p>
|
|
The {LEGAL.shortName} software, name, logo and design belong to {LEGAL.operator} or its licensors. You receive a
|
|
limited, non-exclusive, non-transferable right to use the service for your work while your account is active.
|
|
</p>
|
|
),
|
|
},
|
|
{
|
|
id: 'availability',
|
|
title: 'Availability and changes',
|
|
body: (
|
|
<p>
|
|
We work to keep {LEGAL.shortName} available, but it may be interrupted for maintenance, updates or events outside our
|
|
control. We may change or remove features. We will give notice of significant changes where we reasonably can.
|
|
</p>
|
|
),
|
|
},
|
|
{
|
|
id: 'disclaimer',
|
|
title: 'Disclaimers and limits of liability',
|
|
body: (
|
|
<>
|
|
<p>
|
|
The service is provided "as is" and "as available". To the extent the law allows, we do not
|
|
promise it will be uninterrupted or error free, and we are not responsible for decisions made from attendance or
|
|
report data without checking it.
|
|
</p>
|
|
<p>
|
|
To the extent the law allows, {LEGAL.operator} is not liable for indirect or consequential loss arising from use of
|
|
the service. Nothing in these terms limits liability that cannot be limited by law.
|
|
</p>
|
|
</>
|
|
),
|
|
},
|
|
{
|
|
id: 'termination',
|
|
title: 'Suspension and termination',
|
|
body: (
|
|
<p>
|
|
Your access ends when your organisation deactivates your account or you stop being part of it. We may suspend an
|
|
account that breaks these terms or puts the service or others at risk. You may stop using the service at any time and
|
|
can request deletion of your data as described in the Privacy Policy.
|
|
</p>
|
|
),
|
|
},
|
|
{
|
|
id: 'law',
|
|
title: 'Governing law, changes and contact',
|
|
body: (
|
|
<>
|
|
<p>
|
|
These terms are governed by the laws of the Republic of Indonesia. We will first try to settle disputes through
|
|
discussion before any formal proceedings.
|
|
</p>
|
|
<p>
|
|
We may update these terms. The date at the top of this page shows the latest version, and continued use after a
|
|
change means you accept it. For questions, email{' '}
|
|
<A href={`mailto:${LEGAL.contactEmail}`}>{LEGAL.contactEmail}</A>.
|
|
</p>
|
|
</>
|
|
),
|
|
},
|
|
];
|
|
|
|
export default function TermsPage() {
|
|
return (
|
|
<LegalLayout
|
|
current="terms"
|
|
title="Terms of Service"
|
|
summary={`The rules for using ${LEGAL.shortName}: who can use it, what is expected of you, and what you can expect from us.`}
|
|
sections={sections}
|
|
/>
|
|
);
|
|
}
|