A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix issue with missing DialogTitle/DialogDescription, fix issue with hot reloads
Amruth Pillai460a40711e8d
diff --git a/apps/artboard/src/components/brand-icon.tsx b/apps/artboard/src/components/brand-icon.tsxindex a572568cd..11d560411 100644--- a/apps/artboard/src/components/brand-icon.tsx+++ b/apps/artboard/src/components/brand-icon.tsx@@ -1,17 +1,24 @@+import { forwardRef } from "react";+type BrandIconProps = {slug: string;};-export const BrandIcon = ({ slug }: BrandIconProps) => {+export const BrandIcon = forwardRef<HTMLImageElement, BrandIconProps>(({ slug }, ref) => {if (slug === "linkedin") {return (<img- alt="linkedin"+ ref={ref}+ alt="LinkedIn"className="size-4"src={`${window.location.origin}/support-logos/linkedin.svg`}/>);}- return <img alt={slug} className="size-4" src={`https://cdn.simpleicons.org/${slug}`} />;-};+ return (+ <img ref={ref} alt={slug} className="size-4" src={`https://cdn.simpleicons.org/${slug}`} />+ );+});++BrandIcon.displayName = "BrandIcon";diff --git a/apps/client/src/components/brand-icon.tsx b/apps/client/src/components/brand-icon.tsxindex dc336b369..12cf9d6d1 100644--- a/apps/client/src/components/brand-icon.tsx+++ b/apps/client/src/components/brand-icon.tsx@@ -1,13 +1,23 @@-import { cn } from "@reactive-resume/utils";+import { forwardRef, useEffect } from "react";+import { useDebounceValue } from "usehooks-ts";type BrandIconProps = {slug: string;};-export const BrandIcon = ({ slug }: BrandIconProps) => {- if (slug === "linkedin") {+export const BrandIcon = forwardRef<HTMLImageElement, BrandIconProps>(({ slug }, ref) => {+ const [debouncedSlug, setValue] = useDebounceValue(slug, 600);++ useEffect(() => {+ setValue(slug);+ }, [slug]);++ if (!slug) return null;++ if (debouncedSlug === "linkedin") {return (<img+ ref={ref}alt="LinkedIn"className="size-5"src={`${window.location.origin}/support-logos/linkedin.svg`}@@ -15,5 +25,14 @@ export const BrandIcon = ({ slug }: BrandIconProps) => {);}- return <i className={cn("si si--color text-[1.25rem]", `si-${slug}`)} />;-};+ return (+ <img+ ref={ref}+ alt={debouncedSlug}+ className="size-5"+ src={`https://cdn.simpleicons.org/${debouncedSlug}`}+ />+ );+});++BrandIcon.displayName = "BrandIcon";diff --git a/apps/client/src/pages/builder/layout.tsx b/apps/client/src/pages/builder/layout.tsxindex 4d0955204..a7ef5e5c7 100644--- a/apps/client/src/pages/builder/layout.tsx+++ b/apps/client/src/pages/builder/layout.tsx@@ -1,5 +1,15 @@import { useBreakpoint } from "@reactive-resume/hooks";-import { Panel, PanelGroup, PanelResizeHandle, Sheet, SheetContent } from "@reactive-resume/ui";+import {+ Panel,+ PanelGroup,+ PanelResizeHandle,+ Sheet,+ SheetContent,+ SheetDescription,+ SheetHeader,+ SheetTitle,+ VisuallyHidden,+} from "@reactive-resume/ui";import { cn } from "@reactive-resume/utils";import { Outlet } from "react-router";@@ -78,6 +88,13 @@ export const BuilderLayout = () => {return (<div className="relative"><Sheet open={sheet.left.open} onOpenChange={sheet.left.setOpen}>+ <VisuallyHidden>+ <SheetHeader>+ <SheetTitle />+ <SheetDescription />+ </SheetHeader>+ </VisuallyHidden>+<SheetContentside="left"showClose={false}@@ -97,6 +114,13 @@ export const BuilderLayout = () => {className="top-16 p-0 sm:max-w-xl"onOpenAutoFocus={onOpenAutoFocus}>+ <VisuallyHidden>+ <SheetHeader>+ <SheetTitle />+ <SheetDescription />+ </SheetHeader>+ </VisuallyHidden>+<RightSidebar /></SheetContent></Sheet>diff --git a/apps/client/src/pages/builder/sidebars/left/sections/basics.tsx b/apps/client/src/pages/builder/sidebars/left/sections/basics.tsxindex d041032d0..7ef7b2d1b 100644--- a/apps/client/src/pages/builder/sidebars/left/sections/basics.tsx+++ b/apps/client/src/pages/builder/sidebars/left/sections/basics.tsx@@ -6,7 +6,7 @@ import { useResumeStore } from "@/client/stores/resume";import { CustomFieldsSection } from "./custom/section";import { PictureSection } from "./picture/section";-import { getSectionIcon } from "./shared/section-icon";+import { SectionIcon } from "./shared/section-icon";import { URLInput } from "./shared/url-input";export const BasicsSection = () => {@@ -17,7 +17,7 @@ export const BasicsSection = () => {<section id="basics" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("basics")}+ <SectionIcon id="basics" size={18} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Basics`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/left/sections/shared/section-base.tsx b/apps/client/src/pages/builder/sidebars/left/sections/shared/section-base.tsxindex 9bbbbf0a7..6c1228882 100644--- a/apps/client/src/pages/builder/sidebars/left/sections/shared/section-base.tsx+++ b/apps/client/src/pages/builder/sidebars/left/sections/shared/section-base.tsx@@ -25,7 +25,7 @@ import get from "lodash.get";import { useDialog } from "@/client/stores/dialog";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "./section-icon";+import { SectionIcon } from "./section-icon";import { SectionListItem } from "./section-list-item";import { SectionOptions } from "./section-options";@@ -98,8 +98,7 @@ export const SectionBase = <T extends SectionItem>({ id, title, description }: P><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon(id)}-+ <SectionIcon id={id} size={18} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{section.name}</h2></div>diff --git a/apps/client/src/pages/builder/sidebars/left/sections/shared/section-icon.tsx b/apps/client/src/pages/builder/sidebars/left/sections/shared/section-icon.tsxindex ef3aa483c..a192131e1 100644--- a/apps/client/src/pages/builder/sidebars/left/sections/shared/section-icon.tsx+++ b/apps/client/src/pages/builder/sidebars/left/sections/shared/section-icon.tsx@@ -23,7 +23,7 @@ import get from "lodash.get";import { useResumeStore } from "@/client/stores/resume";-export const getSectionIcon = (id: SectionKey, props: IconProps = {}) => {+const getSectionIcon = (id: SectionKey, props: IconProps = {}) => {switch (id) {// Left Sidebarcase "basics": {@@ -75,13 +75,14 @@ export const getSectionIcon = (id: SectionKey, props: IconProps = {}) => {}};-type SectionIconProps = ButtonProps & {+type SectionIconProps = Omit<ButtonProps, "size"> & {id: SectionKey;name?: string;+ size?: number;icon?: React.ReactNode;};-export const SectionIcon = ({ id, name, icon, ...props }: SectionIconProps) => {+export const SectionIcon = ({ id, name, icon, size = 14, ...props }: SectionIconProps) => {const section = useResumeStore((state) =>get(state.resume.data.sections, id, defaultSection),) as SectionWithItem;@@ -89,7 +90,7 @@ export const SectionIcon = ({ id, name, icon, ...props }: SectionIconProps) => {return (<Tooltip side="right" content={name ?? section.name}><Button size="icon" variant="ghost" className="size-8 rounded-full" {...props}>- {icon ?? getSectionIcon(id, { size: 14 })}+ {icon ?? getSectionIcon(id, { size })}</Button></Tooltip>);diff --git a/apps/client/src/pages/builder/sidebars/left/sections/summary.tsx b/apps/client/src/pages/builder/sidebars/left/sections/summary.tsxindex 1009dc97f..0e9feeef2 100644--- a/apps/client/src/pages/builder/sidebars/left/sections/summary.tsx+++ b/apps/client/src/pages/builder/sidebars/left/sections/summary.tsx@@ -5,7 +5,7 @@ import { cn } from "@reactive-resume/utils";import { AiActions } from "@/client/components/ai-actions";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "./shared/section-icon";+import { SectionIcon } from "./shared/section-icon";import { SectionOptions } from "./shared/section-options";export const SummarySection = () => {@@ -19,7 +19,7 @@ export const SummarySection = () => {<section id="summary" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("summary")}+ <SectionIcon id="summary" size={18} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{section.name}</h2></div>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/css.tsx b/apps/client/src/pages/builder/sidebars/right/sections/css.tsxindex 18449fac1..887a88e93 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/css.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/css.tsx@@ -7,7 +7,7 @@ import CodeEditor from "react-simple-code-editor";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";export const CssSection = () => {const { isDarkMode } = useTheme();@@ -24,7 +24,7 @@ export const CssSection = () => {<header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("css")}+ <SectionIcon id="css" size={18} name={t`Custom CSS`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Custom CSS`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/export.tsx b/apps/client/src/pages/builder/sidebars/right/sections/export.tsxindex f17df21eb..4c694ff81 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/export.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/export.tsx@@ -7,7 +7,7 @@ import { saveAs } from "file-saver";import { usePrintResume } from "@/client/services/resume/print";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";const onJsonExport = () => {const { resume } = useResumeStore.getState();@@ -36,7 +36,7 @@ export const ExportSection = () => {<section id="export" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("export")}+ <SectionIcon id="export" size={18} name={t`Export`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Export`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/information.tsx b/apps/client/src/pages/builder/sidebars/right/sections/information.tsxindex c53268164..646d25768 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/information.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/information.tsx@@ -10,7 +10,7 @@ import {} from "@reactive-resume/ui";import { cn } from "@reactive-resume/utils";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";const DonateCard = () => (<Card className="space-y-4 bg-info text-info-foreground">@@ -113,7 +113,7 @@ export const InformationSection = () => {<section id="information" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("information")}+ <SectionIcon id="information" size={18} name={t`Information`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Information`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/layout.tsx b/apps/client/src/pages/builder/sidebars/right/sections/layout.tsxindex f29f68c93..1c137f99f 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/layout.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/layout.tsx@@ -27,7 +27,7 @@ import { useState } from "react";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";type ColumnProps = {id: string;@@ -194,7 +194,7 @@ export const LayoutSection = () => {<section id="layout" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("layout")}+ <SectionIcon id="layout" size={18} name={t`Layout`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Layout`}</h2></div>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/notes.tsx b/apps/client/src/pages/builder/sidebars/right/sections/notes.tsxindex 6e72553c4..7d81f3b4b 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/notes.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/notes.tsx@@ -3,7 +3,7 @@ import { RichInput } from "@reactive-resume/ui";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";export const NotesSection = () => {const setValue = useResumeStore((state) => state.setValue);@@ -13,7 +13,7 @@ export const NotesSection = () => {<section id="notes" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("notes")}+ <SectionIcon id="notes" size={18} name={t`Notes`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Notes`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/page.tsx b/apps/client/src/pages/builder/sidebars/right/sections/page.tsxindex 0a0f7d2e8..78a982ce5 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/page.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/page.tsx@@ -12,7 +12,7 @@ import {import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";export const PageSection = () => {const setValue = useResumeStore((state) => state.setValue);@@ -22,7 +22,7 @@ export const PageSection = () => {<section id="page" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("page")}+ <SectionIcon id="page" size={18} name={t`Page`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Page`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/sharing.tsx b/apps/client/src/pages/builder/sidebars/right/sections/sharing.tsxindex 0c38cfedc..b3c8b7ef9 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/sharing.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/sharing.tsx@@ -7,7 +7,7 @@ import { useToast } from "@/client/hooks/use-toast";import { useUser } from "@/client/services/user";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";export const SharingSection = () => {const { user } = useUser();@@ -35,7 +35,7 @@ export const SharingSection = () => {<section id="sharing" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("sharing")}+ <SectionIcon id="sharing" size={18} name={t`Sharing`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Sharing`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/statistics.tsx b/apps/client/src/pages/builder/sidebars/right/sections/statistics.tsxindex 9092c0781..d6e24e69e 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/statistics.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/statistics.tsx@@ -7,7 +7,7 @@ import { AnimatePresence, motion } from "framer-motion";import { useResumeStatistics } from "@/client/services/resume";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";export const StatisticsSection = () => {const id = useResumeStore((state) => state.resume.id);@@ -19,7 +19,7 @@ export const StatisticsSection = () => {<section id="statistics" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("statistics")}+ <SectionIcon id="statistics" size={18} name={t`Statistics`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Statistics`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/template.tsx b/apps/client/src/pages/builder/sidebars/right/sections/template.tsxindex cba82c2da..981681ad6 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/template.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/template.tsx@@ -5,7 +5,7 @@ import { motion } from "framer-motion";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";export const TemplateSection = () => {const setValue = useResumeStore((state) => state.setValue);@@ -15,7 +15,7 @@ export const TemplateSection = () => {<section id="template" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("template")}+ <SectionIcon id="template" size={18} name={t`Template`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Template`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/theme.tsx b/apps/client/src/pages/builder/sidebars/right/sections/theme.tsxindex f912d7e66..d3c38de53 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/theme.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/theme.tsx@@ -6,7 +6,7 @@ import { HexColorPicker } from "react-colorful";import { colors } from "@/client/constants/colors";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";export const ThemeSection = () => {const setValue = useResumeStore((state) => state.setValue);@@ -16,7 +16,7 @@ export const ThemeSection = () => {<section id="theme" className="grid gap-y-6"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("theme")}+ <SectionIcon id="theme" size={18} name={t`Theme`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Theme`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/sections/typography.tsx b/apps/client/src/pages/builder/sidebars/right/sections/typography.tsxindex 60d013aeb..d2ba9e095 100644--- a/apps/client/src/pages/builder/sidebars/right/sections/typography.tsx+++ b/apps/client/src/pages/builder/sidebars/right/sections/typography.tsx@@ -9,7 +9,7 @@ import webfontloader from "webfontloader";import { useResumeStore } from "@/client/stores/resume";-import { getSectionIcon } from "../shared/section-icon";+import { SectionIcon } from "../shared/section-icon";const fontSuggestions = ["Open Sans",@@ -62,7 +62,7 @@ export const TypographySection = () => {<section id="typography" className="grid gap-y-8"><header className="flex items-center justify-between"><div className="flex items-center gap-x-4">- {getSectionIcon("typography")}+ <SectionIcon id="typography" size={18} name={t`Typography`} /><h2 className="line-clamp-1 text-2xl font-bold lg:text-3xl">{t`Typography`}</h2></div></header>diff --git a/apps/client/src/pages/builder/sidebars/right/shared/section-icon.tsx b/apps/client/src/pages/builder/sidebars/right/shared/section-icon.tsxindex 9acd6e8d8..10c478e8d 100644--- a/apps/client/src/pages/builder/sidebars/right/shared/section-icon.tsx+++ b/apps/client/src/pages/builder/sidebars/right/shared/section-icon.tsx@@ -16,7 +16,7 @@ import {import type { ButtonProps } from "@reactive-resume/ui";import { Button, Tooltip } from "@reactive-resume/ui";-export type MetadataKey =+type MetadataKey =| "template"| "layout"| "typography"@@ -30,7 +30,7 @@ export type MetadataKey =| "notes"| "information";-export const getSectionIcon = (id: MetadataKey, props: IconProps = {}) => {+const getSectionIcon = (id: MetadataKey, props: IconProps = {}) => {switch (id) {// Left Sidebarcase "notes": {@@ -76,16 +76,17 @@ export const getSectionIcon = (id: MetadataKey, props: IconProps = {}) => {}};-type SectionIconProps = ButtonProps & {+type SectionIconProps = Omit<ButtonProps, "size"> & {id: MetadataKey;name: string;+ size?: number;icon?: React.ReactNode;};-export const SectionIcon = ({ id, name, icon, ...props }: SectionIconProps) => (+export const SectionIcon = ({ id, name, icon, size = 14, ...props }: SectionIconProps) => (<Tooltip side="left" content={name}><Button size="icon" variant="ghost" className="size-8 rounded-full" {...props}>- {icon ?? getSectionIcon(id, { size: 14 })}+ {icon ?? getSectionIcon(id, { size })}</Button></Tooltip>);diff --git a/apps/client/src/pages/home/meta/privacy-policy/page.tsx b/apps/client/src/pages/home/meta/privacy-policy/page.tsxdeleted file mode 100644index 88a6e6d08..000000000--- a/apps/client/src/pages/home/meta/privacy-policy/page.tsx+++ /dev/null@@ -1,113 +0,0 @@-/* eslint-disable lingui/no-unlocalized-strings */--import { t } from "@lingui/macro";-import { Helmet } from "react-helmet-async";--export const PrivacyPolicyPage = () => (- <main className="relative isolate bg-background">- <Helmet prioritizeSeoTags>- <title>- {t`Privacy Policy`} - {t`Reactive Resume`}- </title>-- <meta- name="description"- content="A free and open-source resume builder that simplifies the process of creating, updating, and sharing your resume."- />- </Helmet>-- <section- id="privacy-policy"- className="container prose prose-zinc relative max-w-4xl py-32 dark:prose-invert"- >- <h1 className="mb-4">{t`Privacy Policy`}</h1>- <h6 className="text-sm">Last updated on 3rd May 2024</h6>-- <hr className="my-6" />-- <ol>- <li>- <h2 className="mb-2">Introduction</h2>- <p>- This privacy policy outlines how we collect, use, and protect the personal information- you provide when using our web application. By accessing or using Reactive Resume, you- agree to the collection and use of information in accordance with this policy.- </p>- </li>-- <li>- <h2 className="mb-2">Information Collection and Use</h2>- <p>- For a better experience while using our Service, we may require you to provide us with- certain personally identifiable information, including but not limited to your name and- email address. The information that we collect will be used to contact or identify you- primarily for the following purposes:- </p>-- <ul>- <li>- <strong>Account Creation:</strong> to allow you to create and manage your account.- </li>- <li>- <strong>Functionality:</strong> to enable the various features of the application that- you choose to utilize, such as building and saving resumes.- </li>- </ul>- </li>-- <li>- <h2 className="mb-2">How We Collect Information</h2>- <p>- All personal data is provided directly by you. We collect information through our web- application when you voluntarily provide it to us as part of using our service.- </p>- </li>-- <li>- <h2 className="mb-2">Data Security</h2>- <p>- Reactive Resume is committed to ensuring the security of your data. Our application and- database are hosted on a secure server from DigitalOcean, which has both SOC 2 and SOC 3- compliance, ensuring that your data is protected with industry-standard security- measures.- </p>- </li>-- <li>- <h2 className="mb-2">Data Retention</h2>- <p>- We retain your personal data as long as your account is active or as needed to provide- you services. If you do not use your account for 6 months, your personal information is- automatically deleted from our servers. You may also delete your data at any time via- the user dashboard.- </p>- </li>-- <li>- <h2 className="mb-2">Third-Party Disclosure</h2>- <p>- We do not share your personal information with third parties, ensuring your data is used- exclusively for the purposes stated in this privacy policy.- </p>- </li>-- <li>- <h2 className="mb-2">Changes to This Privacy Policy</h2>- <p>- We may update our Privacy Policy from time to time. We will notify you of any changes by- posting the new Privacy Policy on this page. You are advised to review this Privacy- Policy periodically for any changes.- </p>- </li>-- <li>- <h2 className="mb-2">Contact Us</h2>- <p>- If you have any questions or suggestions about our Privacy Policy, do not hesitate to- contact us at <code>hello[at]amruthpillai[dot]com</code>.- </p>- </li>- </ol>- </section>- </main>-);diff --git a/apps/client/src/pages/public/page.tsx b/apps/client/src/pages/public/page.tsxindex d0027d86d..8ed6b9a9f 100644--- a/apps/client/src/pages/public/page.tsx+++ b/apps/client/src/pages/public/page.tsx@@ -77,7 +77,7 @@ export const PublicResumePage = () => {<divstyle={{ width: `${pageSizeMap[format].width}mm` }}- className="mx-auto mb-6 mt-16 overflow-hidden rounded shadow-xl print:m-0 print:shadow-none"+ className="overflow-hidden rounded shadow-xl sm:mx-auto sm:mb-6 sm:mt-16 print:m-0 print:shadow-none"><iframeref={frameRef}@@ -87,7 +87,7 @@ export const PublicResumePage = () => {/></div>- <div className="flex justify-center py-10 opacity-50 print:hidden">+ <div className="hidden justify-center py-10 opacity-50 sm:flex print:hidden"><Link to="/"><Button size="sm" variant="ghost" className="space-x-1.5 text-xs font-normal"><span>{t`Built with`}</span>@@ -97,7 +97,7 @@ export const PublicResumePage = () => {</Link></div>- <div className="fixed bottom-5 right-5 print:hidden">+ <div className="fixed bottom-5 right-5 hidden sm:block print:hidden"><div className="flex items-center gap-x-4"><Button variant="outline" className="gap-x-2 rounded-full" onClick={onDownloadPdf}>{loading ? <CircleNotch size={16} className="animate-spin" /> : <FilePdf size={16} />}diff --git a/apps/client/src/router/index.tsx b/apps/client/src/router/index.tsxindex 94b5b796d..3dcb5a1fb 100644--- a/apps/client/src/router/index.tsx+++ b/apps/client/src/router/index.tsx@@ -14,7 +14,6 @@ import { DashboardLayout } from "../pages/dashboard/layout";import { ResumesPage } from "../pages/dashboard/resumes/page";import { SettingsPage } from "../pages/dashboard/settings/page";import { HomeLayout } from "../pages/home/layout";-import { PrivacyPolicyPage } from "../pages/home/meta/privacy-policy/page";import { HomePage } from "../pages/home/page";import { publicLoader, PublicResumePage } from "../pages/public/page";import { Providers } from "../providers";@@ -27,11 +26,6 @@ export const routes = createRoutesFromElements(<Route element={<Providers />} hydrateFallbackElement={<div>Loading...</div>}><Route element={<HomeLayout />}><Route path="/" element={<HomePage />} />-- <Route path="meta">- <Route path="privacy-policy" element={<PrivacyPolicyPage />} />- <Route index element={<Navigate replace to="/" />} />- </Route></Route><Route path="auth">diff --git a/libs/ui/src/components/command.tsx b/libs/ui/src/components/command.tsxindex d929c07a6..568d256b2 100644--- a/libs/ui/src/components/command.tsx+++ b/libs/ui/src/components/command.tsx@@ -1,11 +1,8 @@import { MagnifyingGlass } from "@phosphor-icons/react";-import type { DialogProps } from "@radix-ui/react-dialog";import { cn } from "@reactive-resume/utils";import { Command as CommandPrimitive } from "cmdk";import { forwardRef } from "react";-import { Dialog, DialogContent } from "./dialog";-export const Command = forwardRef<React.ElementRef<typeof CommandPrimitive>,React.ComponentPropsWithoutRef<typeof CommandPrimitive>@@ -19,18 +16,6 @@ export const Command = forwardRef<Command.displayName = CommandPrimitive.displayName;-type CommandDialogProps = DialogProps;--export const CommandDialog = ({ children, ...props }: CommandDialogProps) => (- <Dialog {...props}>- <DialogContent className="overflow-hidden p-0">- <Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-secondary [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:size-5">- {children}- </Command>- </DialogContent>- </Dialog>-);-export const CommandInput = forwardRef<React.ElementRef<typeof CommandPrimitive.Input>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>diff --git a/libs/ui/src/components/index.ts b/libs/ui/src/components/index.tsindex 0f31b1db6..b605f4755 100644--- a/libs/ui/src/components/index.ts+++ b/libs/ui/src/components/index.ts@@ -34,3 +34,4 @@ export * from "./toast";export * from "./toggle";export * from "./toggle-group";export * from "./tooltip";+export * from "./visually-hidden";diff --git a/libs/ui/src/components/visually-hidden.tsx b/libs/ui/src/components/visually-hidden.tsxnew file mode 100644index 000000000..3491c409a--- /dev/null+++ b/libs/ui/src/components/visually-hidden.tsx@@ -0,0 +1,3 @@+import * as VisuallyHiddenPrimitive from "@radix-ui/react-visually-hidden";++export const VisuallyHidden = VisuallyHiddenPrimitive.Root;diff --git a/package.json b/package.jsonindex 826fea5d9..2dff6f4c0 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"name": "@reactive-resume/source","description": "A free and open-source resume builder that simplifies the process of creating, updating, and sharing your resume.",- "version": "4.3.9",+ "version": "4.3.10","license": "MIT","private": true,"author": {@@ -55,7 +55,7 @@"@tailwindcss/container-queries": "^0.1.1","@tailwindcss/forms": "^0.5.10","@tailwindcss/typography": "^0.5.16",- "@tanstack/eslint-plugin-query": "^5.62.16",+ "@tanstack/eslint-plugin-query": "^5.64.2","@testing-library/react": "^16.2.0","@tiptap/core": "^2.11.2","@types/async-retry": "^1.4.9",@@ -96,7 +96,7 @@"eslint-plugin-import": "^2.31.0","eslint-plugin-jsx-a11y": "^6.10.2","eslint-plugin-lingui": "^0.9.0",- "eslint-plugin-prettier": "^5.2.2",+ "eslint-plugin-prettier": "^5.2.3","eslint-plugin-react": "^7.37.4","eslint-plugin-react-hooks": "^4.6.2","eslint-plugin-simple-import-sort": "^12.1.1",@@ -173,7 +173,7 @@"@radix-ui/react-visually-hidden": "^1.1.1","@sindresorhus/slugify": "^2.2.1","@swc/helpers": "^0.5.15",- "@tanstack/react-query": "^5.64.1",+ "@tanstack/react-query": "^5.64.2","@tiptap/extension-highlight": "^2.11.2","@tiptap/extension-image": "^2.11.2","@tiptap/extension-link": "^2.11.2",@@ -230,7 +230,7 @@"react-hook-form": "^7.54.2","react-parallax-tilt": "^1.7.272","react-resizable-panels": "^2.1.7",- "react-router": "^7.1.2",+ "react-router": "^7.1.3","react-simple-code-editor": "^0.14.1","react-zoom-pan-pinch": "^3.6.1","reflect-metadata": "^0.2.2",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c1a431c99..addeddf46 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -162,8 +162,8 @@ importers:specifier: ^0.5.15version: 0.5.15'@tanstack/react-query':- specifier: ^5.64.1- version: 5.64.1([email protected])+ specifier: ^5.64.2+ version: 5.64.2([email protected])'@tiptap/extension-highlight':specifier: ^2.11.2version: 2.11.2(@tiptap/[email protected](@tiptap/[email protected]))@@ -333,8 +333,8 @@ importers:specifier: ^2.1.7react-router:- specifier: ^7.1.2+ specifier: ^7.1.3react-simple-code-editor:specifier: ^0.14.1@@ -460,8 +460,8 @@ importers:specifier: ^0.5.16version: 0.5.16([email protected]([email protected](@swc/[email protected](@swc/[email protected]))(@types/[email protected])([email protected])))'@tanstack/eslint-plugin-query':- specifier: ^5.62.16- version: 5.62.16([email protected])([email protected])+ specifier: ^5.64.2+ version: 5.64.2([email protected])([email protected])'@testing-library/react':specifier: ^16.2.0version: 16.2.0(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -583,8 +583,8 @@ importers:specifier: ^0.9.0version: 0.9.0([email protected])([email protected])eslint-plugin-prettier:- specifier: ^5.2.2- version: 5.2.2(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ specifier: ^5.2.3+ version: 5.2.3(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])eslint-plugin-react:specifier: ^7.37.4version: 7.37.4([email protected])@@ -3985,16 +3985,16 @@ packages:peerDependencies:tailwindcss: '>=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1'- '@tanstack/[email protected]':- resolution: {integrity: sha512-VhnHSQ/hc62olLzGhlLJ4BJGWynwjs3cDMsByasKJ3zjW1YZ+6raxOv0gHHISm+VEnAY42pkMowmSWrXfL4NTw==}+ '@tanstack/[email protected]':+ resolution: {integrity: sha512-Xq7jRYvNtGMHjQEGUZLHgEMNB59hgTlqdmKor6cdJ6CMZ/nwmBGpnlr/dcHden7W7BPCdBVN4PWMZBICWvCNQQ==}peerDependencies:eslint: ^8.57.0 || ^9.0.0- '@tanstack/[email protected]':- resolution: {integrity: sha512-978Wx4Wl4UJZbmvU/rkaM9cQtXXrbhK0lsz/UZhYIbyKYA8E4LdomTwyh2GHZ4oU0BKKoDH4YlKk2VscCUgNmg==}+ '@tanstack/[email protected]':+ resolution: {integrity: sha512-hdO8SZpWXoADNTWXV9We8CwTkXU88OVWRBcsiFrk7xJQnhm6WRlweDzMD+uH+GnuieTBVSML6xFa17C2cNV8+g==}- '@tanstack/[email protected]':- resolution: {integrity: sha512-vW5ggHpIO2Yjj44b4sB+Fd3cdnlMJppXRBJkEHvld6FXh3j5dwWJoQo7mGtKI2RbSFyiyu/PhGAy0+Vv5ev9Eg==}+ '@tanstack/[email protected]':+ resolution: {integrity: sha512-3pakNscZNm8KJkxmovvtZ4RaXLyiYYobwleTMvpIGUoKRa8j8VlrQKNl5W8VUEfVfZKkikvXVddLuWMbcSCA1Q==}peerDependencies:react: ^18 || ^19@@ -4521,10 +4521,6 @@ packages:eslint: ^8.57.0 || ^9.0.0typescript: '>=4.8.4 <5.8.0'- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-60L9KIuN/xgmsINzonOcMDSB8p82h95hoBfSBtXuO4jlR1R9L1xSkmVZKgCPVfavDlXihh4ARNjXhh1gGnLC7Q==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -4549,10 +4545,6 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-JBVHMLj7B1K1v1051ZaMMgLW4Q/jre5qGK0Ew6UgXz1Rqh+/xPzV1aW581OM00X6iOfyr1be+QyW8LOUf19BbA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -4561,12 +4553,6 @@ packages:resolution: {integrity: sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-jk/TZwSMJlxlNnqhy0Eod1PNEvCkpY6MXOXE/WLlblZ6ibb32i2We4uByoKPv1d0OD2xebDv4hbs3fm11SMw8Q==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- typescript: '>=4.8.4 <5.8.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -4582,13 +4568,6 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-IxG5gLO0Ne+KaUc8iW1A+XuKLd63o4wlbI1Zp692n1xojCl/THvgIKXJXBZixTh5dd5+yTJ/VXH7GJaaw21qXA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- eslint: ^8.57.0 || ^9.0.0- typescript: '>=4.8.4 <5.8.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -4602,10 +4581,6 @@ packages:peerDependencies:eslint: ^8.57.0 || ^9.0.0- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-fzmjU8CHK853V/avYZAvuVut3ZTfwN5YtMaoi+X9Y9MA9keaWNHC3zEQ9zvyX/7Hj+5JkNyK1l7TOR2hevHB6Q==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -6371,8 +6346,8 @@ packages:peerDependencies:eslint: ^8.37.0 || ^9.0.0- resolution: {integrity: sha512-1yI3/hf35wmlq66C8yOyrujQnel+v5l1Vop5Cl2I6ylyNTT1JbuUUnV3/41PzwTzcyDp/oF0jWE3HXvcH5AQOQ==}+ resolution: {integrity: sha512-qJ+y0FfCp/mQYQ/vWQ3s7eUlFEL4PyKfAJxsnYTJ4YT73nsJBWqmEpFryxV9OeUiqmsTsYJ5Y+KDNaeP31wrRw==}engines: {node: ^14.18.0 || >=16.0.0}peerDependencies:'@types/eslint': '>=8.0.0'@@ -9757,8 +9732,8 @@ packages:react: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rcreact-dom: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- resolution: {integrity: sha512-KeallSO30KLpIe/ZZqfk6pCJ1c+5JhMxl3SCS3Zx1LgaGuQbgLDmjuNi6KZ5LnAV9sWjbmBWGRw8Um/Pw6BExg==}+ resolution: {integrity: sha512-EezYymLY6Guk/zLQ2vRA8WvdUhWFEj5fcE3RfWihhxXBW7+cd1LsIiA3lmx+KCmneAGQuyBv820o44L2+TtkSA==}engines: {node: '>=20.0.0'}peerDependencies:react: '>=18'@@ -15711,19 +15686,19 @@ snapshots:postcss-selector-parser: 6.0.10tailwindcss: 3.4.17([email protected](@swc/[email protected](@swc/[email protected]))(@types/[email protected])([email protected]))dependencies:- '@typescript-eslint/utils': 8.19.1([email protected])([email protected])+ '@typescript-eslint/utils': 8.20.0([email protected])([email protected])eslint: 8.57.0transitivePeerDependencies:- supports-color- typescript- '@tanstack/[email protected]': {}+ '@tanstack/[email protected]': {}- '@tanstack/[email protected]([email protected])':+ '@tanstack/[email protected]([email protected])':dependencies:- '@tanstack/query-core': 5.64.1+ '@tanstack/query-core': 5.64.2react: 18.3.1'@testing-library/[email protected]':@@ -16357,11 +16332,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected]':- dependencies:- '@typescript-eslint/types': 8.19.1- '@typescript-eslint/visitor-keys': 8.19.1-'@typescript-eslint/[email protected]':dependencies:'@typescript-eslint/types': 8.20.0@@ -16395,26 +16365,10 @@ snapshots:- eslint- supports-color- '@typescript-eslint/[email protected]': {}-'@typescript-eslint/[email protected]': {}'@typescript-eslint/[email protected]': {}- '@typescript-eslint/[email protected]([email protected])':- dependencies:- '@typescript-eslint/types': 8.19.1- '@typescript-eslint/visitor-keys': 8.19.1- debug: 4.4.0- fast-glob: 3.3.2- is-glob: 4.0.3- minimatch: 9.0.4- semver: 7.6.3- ts-api-utils: 2.0.0([email protected])- typescript: 5.7.3- transitivePeerDependencies:- - supports-color-'@typescript-eslint/[email protected]([email protected])':dependencies:'@typescript-eslint/types': 8.20.0@@ -16444,17 +16398,6 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- '@eslint-community/eslint-utils': 4.4.0([email protected])- '@typescript-eslint/scope-manager': 8.19.1- '@typescript-eslint/types': 8.19.1- '@typescript-eslint/typescript-estree': 8.19.1([email protected])- eslint: 8.57.0- typescript: 5.7.3- transitivePeerDependencies:- - supports-color-dependencies:'@eslint-community/eslint-utils': 4.4.0([email protected])@@ -16477,11 +16420,6 @@ snapshots:- supports-color- typescript- '@typescript-eslint/[email protected]':- dependencies:- '@typescript-eslint/types': 8.19.1- eslint-visitor-keys: 4.2.0-'@typescript-eslint/[email protected]':dependencies:'@typescript-eslint/types': 8.20.0@@ -18613,7 +18551,7 @@ snapshots:- supports-color- typescript- [email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):dependencies:eslint: 8.57.0prettier: 3.4.2@@ -22855,7 +22793,7 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])dependencies:'@types/cookie': 0.6.0cookie: 1.0.2