Skip to content

Commit edceec9

Browse files
committed
updated Privacy Policy
1 parent 60f4daf commit edceec9

File tree

5 files changed

+54
-11
lines changed

5 files changed

+54
-11
lines changed

app/(client)/privacy/page.tsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,32 @@ export default function Privacy() {
3939
<a className="text underline" href="https://github.com/srkpi/">
4040
https://github.com/srkpi/
4141
</a>
42+
<br />
43+
<br />
44+
Використовуючи Сайт, Ви підтверджуєте, що ознайомилися з{' '}
45+
<a
46+
className="text underline"
47+
href="https://policies.google.com/privacy"
48+
>
49+
Політикою конфіденційності Google
50+
</a>{' '}
51+
і погоджуєтеся дотримуватися її. Використання і передача даних,
52+
отриманих із Google API, до будь-якого застосунку здійснюється
53+
відповідно до{' '}
54+
<a
55+
className="text underline"
56+
href="https://developers.google.com/terms/api-services-user-data-policy"
57+
>
58+
Політики щодо даних користувачів служб Google API
59+
</a>
60+
, включаючи{' '}
61+
<a
62+
className="text underline"
63+
href="https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes"
64+
>
65+
вимоги обмеженого використання
66+
</a>
67+
.
4268
</p>
4369
<p className="font-regular text-m-p leading-4 sm:text-p sm:leading-5">
4470
<span className="font-m-p font-semibold md:text-m-h1">

app/(client)/schedule-importer/components/schedule-table.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,22 @@ interface ScheduleTableProps {
2424
const ScheduleTable: FC<ScheduleTableProps> = ({ eventsData }) => {
2525
const { toast } = useToast();
2626
const searchParams = useSearchParams();
27+
2728
const storedEvents =
2829
typeof window !== 'undefined' ? localStorage.getItem('schedule') : null;
2930
const [events, setEvents] = useState<EventsData>(
3031
storedEvents ? JSON.parse(storedEvents) : eventsData,
3132
);
3233
const [currentDayIndex, setCurrentDayIndex] = useState(0);
34+
3335
const thRefs = useRef<(HTMLTableCellElement | null)[]>([]);
3436
const containerRef = useRef<HTMLDivElement | null>(null);
37+
3538
const week = searchParams.get('week') as WeekType;
3639
const scheduleWeek =
3740
week === 'first' ? events.scheduleFirstWeek : events.scheduleSecondWeek;
3841
const groupName = searchParams.get('name');
42+
3943
const table = createEventsTable(scheduleWeek);
4044

4145
useEffect(() => {
@@ -58,6 +62,7 @@ const ScheduleTable: FC<ScheduleTableProps> = ({ eventsData }) => {
5862
} catch (error) {
5963
if (isAxiosError(error)) {
6064
toast({
65+
variant: 'destructive',
6166
title: 'Помилка створення розкладу',
6267
});
6368
}

app/admin/constants.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CableIcon, PaletteIcon, PaperclipIcon } from 'lucide-react';
1+
import { CableIcon, PaperclipIcon } from 'lucide-react';
22

33
type Props = {
44
icon: React.ReactNode;
@@ -7,11 +7,11 @@ type Props = {
77
};
88

99
export const navbarLinks: Props[] = [
10-
{
11-
icon: <PaletteIcon width={28} height={28} />,
12-
href: '/admin/clubs',
13-
title: 'Гуртки',
14-
},
10+
// {
11+
// icon: <PaletteIcon width={28} height={28} />,
12+
// href: '/admin/clubs',
13+
// title: 'Гуртки',
14+
// },
1515
{
1616
icon: <PaperclipIcon width={28} height={28} />,
1717
href: '/admin/departments',

app/globals.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,26 @@
2727
max-width: var(--max-width-container);
2828
box-sizing: content-box;
2929
margin: 0 auto;
30-
@apply px-3.5 md:px-8 lg:px-16 2xl:px-24;
30+
@apply px-[14px] md:px-[32px] lg:px-[64px] xl:px-[100px];
3131
}
3232
}
3333

3434
@layer utilities {
3535
.no-scrollbar::-webkit-scrollbar {
3636
display: none;
3737
}
38+
.bg-linear-auth {
39+
background: linear-gradient(152deg, #374FFA -39.56%, #101820 58.37%);
40+
@apply md:bg-linear-auth-md;
41+
}
42+
.bg-linear-auth-md {
43+
background: linear-gradient(
44+
0deg,
45+
rgba(16, 24, 32, 0.3) 0%,
46+
rgba(16, 24, 32, 0.3) 100%
47+
),
48+
linear-gradient(90deg, var(--blue) 0%, var(--dark) 117.83%);
49+
}
3850
.no-scrollbar {
3951
-ms-overflow-style: none;
4052
scrollbar-width: none;

constants/link-items.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export const linkItems: LinkItem[] = [
99
name: 'Розклад',
1010
href: '/schedule-importer',
1111
},
12-
{
13-
name: 'Гуртки',
14-
href: '/clubs',
15-
},
12+
// {
13+
// name: 'Гуртки',
14+
// href: '/clubs',
15+
// },
1616
];

0 commit comments

Comments
 (0)