From 1e814a77cc4dedb1395e998634de19f0b58a0040 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Mon, 26 Jan 2026 11:19:08 +0100 Subject: [PATCH] Refactor Pikachu template layout to conditionally render header and page picture based on `isFirstPage` property --- src/components/resume/templates/pikachu.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/resume/templates/pikachu.tsx b/src/components/resume/templates/pikachu.tsx index 592db5d47..a1eda5f8c 100644 --- a/src/components/resume/templates/pikachu.tsx +++ b/src/components/resume/templates/pikachu.tsx @@ -49,10 +49,12 @@ export function PikachuTemplate({ pageIndex, pageLayout }: TemplateProps) { )}
-
- {fullWidth && } - {isFirstPage &&
} -
+ {isFirstPage && ( +
+ {fullWidth && } +
+
+ )}
{main.map((section) => {