mirror of
https://github.com/zebrajr/Reactive-Resume.git
synced 2025-12-06 00:20:04 +01:00
Merge pull request #2412 from alay-dev/main
fix(template): fix gengar template summary section not rendering in sidebar
This commit is contained in:
commit
e8d6d4ad3a
|
|
@ -531,6 +531,11 @@ const mapSectionToComponent = (section: SectionKey) => {
|
||||||
case "education": {
|
case "education": {
|
||||||
return <Education />;
|
return <Education />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "summary": {
|
||||||
|
return <Summary />;
|
||||||
|
}
|
||||||
|
|
||||||
case "awards": {
|
case "awards": {
|
||||||
return <Awards />;
|
return <Awards />;
|
||||||
}
|
}
|
||||||
|
|
@ -592,8 +597,6 @@ export const Gengar = ({ columns, isFirstPage = false }: TemplateProps) => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={cn("main group", sidebar.length > 0 ? "col-span-2" : "col-span-3")}>
|
<div className={cn("main group", sidebar.length > 0 ? "col-span-2" : "col-span-3")}>
|
||||||
{isFirstPage && <Summary />}
|
|
||||||
|
|
||||||
<div className="p-custom space-y-4">
|
<div className="p-custom space-y-4">
|
||||||
{main.map((section) => (
|
{main.map((section) => (
|
||||||
<Fragment key={section}>{mapSectionToComponent(section)}</Fragment>
|
<Fragment key={section}>{mapSectionToComponent(section)}</Fragment>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user