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
Merge branch 'main' into feat/separate-links
Amruth Pillai6dcbe787302a
diff --cc apps/artboard/src/templates/azurill.tsxindex c79fc7528,29a3de91c..697110497--- a/apps/artboard/src/templates/azurill.tsx+++ b/apps/artboard/src/templates/azurill.tsx@@@ -134,9 -133,8 +134,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && ( icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};diff --cc apps/artboard/src/templates/bronzor.tsxindex e57903000,fd068319f..b4ba16b8a--- a/apps/artboard/src/templates/bronzor.tsx+++ b/apps/artboard/src/templates/bronzor.tsx@@@ -126,9 -124,8 +126,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};diff --cc apps/artboard/src/templates/chikorita.tsxindex c717f7e36,a6690607f..d69e94901--- a/apps/artboard/src/templates/chikorita.tsx+++ b/apps/artboard/src/templates/chikorita.tsx@@@ -128,9 -127,8 +128,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};diff --cc apps/artboard/src/templates/ditto.tsxindex e2f63262a,0053609fd..e5b4af4a1--- a/apps/artboard/src/templates/ditto.tsx+++ b/apps/artboard/src/templates/ditto.tsx@@@ -145,9 -144,8 +145,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};@@@ -226,10 -195,10 +226,10 @@@ const Section = <T,>(<div className="relative -ml-4 group-[.sidebar]:ml-0"><div className="pl-4 group-[.sidebar]:pl-0">{children?.(item as T)}- {url !== undefined && <Link url={url} />}+ {url !== undefined && section.separateLinks && <Link url={url} />}</div>- <div className="absolute inset-y-0 -left-px border-l-[4px] border-primary group-[.sidebar]:hidden" />+ <div className="absolute inset-y-0 -left-px border-l-4 border-primary group-[.sidebar]:hidden" /></div>{summary !== undefined && !isEmptyString(summary) && (diff --cc apps/artboard/src/templates/gengar.tsxindex 75736ddbe,dedea01d7..8fe123277--- a/apps/artboard/src/templates/gengar.tsx+++ b/apps/artboard/src/templates/gengar.tsx@@@ -123,9 -122,8 +123,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary group-[.sidebar]:text-background" />)}</div>);};diff --cc apps/artboard/src/templates/glalie.tsxindex f5e339e2d,e57a4a359..6ea8f5b14--- a/apps/artboard/src/templates/glalie.tsx+++ b/apps/artboard/src/templates/glalie.tsx@@@ -131,9 -130,8 +131,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary group-[.sidebar]:text-primary" />)}</div>);};diff --cc apps/artboard/src/templates/kakuna.tsxindex d09ce5442,af0794e1e..91250c874--- a/apps/artboard/src/templates/kakuna.tsx+++ b/apps/artboard/src/templates/kakuna.tsx@@@ -151,9 -150,8 +151,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};diff --cc apps/artboard/src/templates/leafish.tsxindex 98fa75c17,9f19b1a5b..57bc893e0--- a/apps/artboard/src/templates/leafish.tsx+++ b/apps/artboard/src/templates/leafish.tsx@@@ -148,9 -147,8 +148,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && ( icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};diff --cc apps/artboard/src/templates/nosepass.tsxindex a88c6dd05,5ccf0c222..26788a18c--- a/apps/artboard/src/templates/nosepass.tsx+++ b/apps/artboard/src/templates/nosepass.tsx@@@ -127,9 -126,8 +127,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};@@@ -215,10 -184,10 +215,10 @@@ const Section = <T,>(<div className="col-span-3 space-y-1">{children?.(item as T)}- {url !== undefined && <Link url={url} />}+ {url !== undefined && section.separateLinks && <Link url={url} />}{summary !== undefined && !isEmptyString(summary) && (- <div className="wysiwyg" dangerouslySetInnerHTML={{ __html: summary }} />+ <div dangerouslySetInnerHTML={{ __html: summary }} className="wysiwyg" />)}{keywords !== undefined && keywords.length > 0 && (@@@ -250,10 -219,10 +250,10 @@@<div key={item.id}>{children?.(item as T)}- {url !== undefined && <Link url={url} />}+ {url !== undefined && section.separateLinks && <Link url={url} />}{summary !== undefined && !isEmptyString(summary) && (- <div className="wysiwyg" dangerouslySetInnerHTML={{ __html: summary }} />+ <div dangerouslySetInnerHTML={{ __html: summary }} className="wysiwyg" />)}{keywords !== undefined && keywords.length > 0 && (diff --cc apps/artboard/src/templates/onyx.tsxindex 8c90a9473,4a3f99a0e..02d7dfaa0--- a/apps/artboard/src/templates/onyx.tsx+++ b/apps/artboard/src/templates/onyx.tsx@@@ -154,9 -153,8 +154,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && ( icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};diff --cc apps/artboard/src/templates/pikachu.tsxindex 9e0f2a3ce,b1040fe27..0828d4dc6--- a/apps/artboard/src/templates/pikachu.tsx+++ b/apps/artboard/src/templates/pikachu.tsx@@@ -154,9 -153,8 +154,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && ( icon ?? <i className="ph ph-bold ph-link text-primary group-[.summary]:text-background" />)}</div>);};diff --cc apps/artboard/src/templates/rhyhorn.tsxindex e93a74a5e,1d3164b21..460ed03ca--- a/apps/artboard/src/templates/rhyhorn.tsx+++ b/apps/artboard/src/templates/rhyhorn.tsx@@@ -126,9 -125,8 +126,9 @@@ const Link = ({ url, icon, iconOnRightrel="noreferrer noopener nofollow"className={cn("inline-block", className)}>- {label || url.label || url.href}+ {label ?? (url.label || url.href)}</a>+ {iconOnRight && ( icon ?? <i className="ph ph-bold ph-link text-primary" />)}</div>);};diff --cc apps/client/src/pages/builder/sidebars/left/sections/shared/section-options.tsxindex 659f912be,245117b9d..5766c4526--- a/apps/client/src/pages/builder/sidebars/left/sections/shared/section-options.tsx+++ b/apps/client/src/pages/builder/sidebars/left/sections/shared/section-options.tsx@@@ -50,13 -46,24 +47,33 @@@ export const SectionOptions = ({ id }:const hasItems = useMemo(() => "items" in section, [section]);const isCustomSection = useMemo(() => id.startsWith("custom"), [id]);- const onCreate = () => open("create", { id });- const toggleSeperateLinks = (checked: boolean) => setValue(`sections.${id}.separateLinks`, checked);- const toggleVisibility = () => setValue(`sections.${id}.visible`, !section.visible);- const onResetName = () => setValue(`sections.${id}.name`, originalName);- const onChangeColumns = (value: string) => setValue(`sections.${id}.columns`, Number(value));- const onResetItems = () => setValue(`sections.${id}.items`, []);- const onRemove = () => removeSection(id);+ const onCreate = () => {+ open("create", { id });+ };++++ const toggleSeperateLinks = (checked: boolean) => {++ setValue(`sections.${id}.separateLinks`, checked);++ };+++ const toggleVisibility = () => {+ setValue(`sections.${id}.visible`, !section.visible);+ };+++ const onResetName = () => {+ setValue(`sections.${id}.name`, originalName);+ };+++ const onChangeColumns = (value: string) => {+ setValue(`sections.${id}.columns`, Number(value));+ };+++ const onResetItems = () => {+ setValue(`sections.${id}.items`, []);+ };+++ const onRemove = () => {+ removeSection(id);+ };return (<DropdownMenu>@@@ -72,12 -79,7 +89,12 @@@<Plus /><span className="ml-2">{t`Add a new item`}</span></DropdownMenuItem>-+ <DropdownMenuCheckboxItem- onCheckedChange={toggleSeperateLinks}+ checked={section.separateLinks}++ onCheckedChange={toggleSeperateLinks}+ >+ <span className="ml-0">{t`Separate Links`}</span>+ </DropdownMenuCheckboxItem><DropdownMenuSeparator /></>)}