fix(client): 🐛 do not allow private resumes to be viewable or downloadable through the link

This commit is contained in:
Amruth Pillai
2023-07-12 15:59:22 +02:00
parent 5ef4bfcb6b
commit 1c2d796c50
121 changed files with 3193 additions and 2068 deletions

View File

@ -1,8 +1,21 @@
import { ThemeConfig, Typography } from 'schema';
import clsx, { ClassValue } from 'clsx';
import { RgbColor } from 'react-colorful';
import { ThemeConfig, Typography } from 'schema';
import { twMerge } from 'tailwind-merge';
import { hexColorPattern } from '@/config/colors';
export const breakpoints = {
xs: 0,
sm: 640,
md: 768,
lg: 1024,
xl: 1280,
'2xl': 1400,
};
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));
export const generateTypographyStyles = ({ family, size }: Typography): string => `
font-size: ${size.body}px !important;
font-family: ${family.body} !important;