From da354fd6a3d46d7dc5f2f0aa4d5fbf19163c707c Mon Sep 17 00:00:00 2001 From: jagpreetrahi Date: Tue, 21 Jan 2025 22:33:40 +0530 Subject: [PATCH 1/4] Fix dark page issue on pro help page --- pages/pro-help/index.page.tsx | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/pages/pro-help/index.page.tsx b/pages/pro-help/index.page.tsx index 99eb27681..0a8ad4575 100644 --- a/pages/pro-help/index.page.tsx +++ b/pages/pro-help/index.page.tsx @@ -98,7 +98,7 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { >

{contractor.name} - + {contractor.type}

@@ -135,15 +135,17 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { href={`https://www.linkedin.com/in/${contractor.linkedin}`} target='blank' > - - + fill='currentColor' + className='w-5 inline-block me-1 text-gray-800 dark:text-white' +> + + {`https://www.linkedin.com/in/${contractor.linkedin}`} @@ -157,14 +159,14 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { target='blank' > - + stroke="currentColor" + className="w-5 inline-block me-1 fill-current text-gray-800 dark:text-gray-200" +> + {`https://github.com/${contractor.github}`} @@ -180,7 +182,11 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { /> Reach out From 5762563f090cc929f61196c2ba89d49f343f2124 Mon Sep 17 00:00:00 2001 From: jagpreetrahi Date: Tue, 21 Jan 2025 23:18:20 +0530 Subject: [PATCH 2/4] Fix-dark-mode error --- pages/pro-help/index.page.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/pro-help/index.page.tsx b/pages/pro-help/index.page.tsx index 0a8ad4575..ff83ad4a1 100644 --- a/pages/pro-help/index.page.tsx +++ b/pages/pro-help/index.page.tsx @@ -133,16 +133,15 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { + target='blank'> + className='w-5 inline-block me-1 text-gray-800 dark:text-white'> + From 74e584d1286f031a52175e1e3a86bb78627f404b Mon Sep 17 00:00:00 2001 From: jagpreetrahi Date: Wed, 22 Jan 2025 00:41:23 +0530 Subject: [PATCH 3/4] Fix prettier-error --- pages/pro-help/index.page.tsx | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/pages/pro-help/index.page.tsx b/pages/pro-help/index.page.tsx index ff83ad4a1..c90132a30 100644 --- a/pages/pro-help/index.page.tsx +++ b/pages/pro-help/index.page.tsx @@ -133,18 +133,18 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { - + + className='w-5 inline-block me-1 text-gray-800 dark:text-white' + > - - {`https://www.linkedin.com/in/${contractor.linkedin}`} @@ -158,12 +158,13 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { target='blank' > + stroke='currentColor' + className='w-5 inline-block me-1 fill-current text-gray-800 dark:text-gray-200' + > + @@ -182,10 +183,10 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { Reach out From 9b1cadfa0d22bf296d4c9e43ce12448a74697e1e Mon Sep 17 00:00:00 2001 From: jagpreetrahi Date: Wed, 22 Jan 2025 12:57:13 +0530 Subject: [PATCH 4/4] Fix-Lint-errors --- pages/pro-help/index.page.tsx | 8 ++++---- styles/globals.css | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/pro-help/index.page.tsx b/pages/pro-help/index.page.tsx index c90132a30..1fcc64060 100644 --- a/pages/pro-help/index.page.tsx +++ b/pages/pro-help/index.page.tsx @@ -163,7 +163,7 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { strokeWidth={1.5} stroke='currentColor' className='w-5 inline-block me-1 fill-current text-gray-800 dark:text-gray-200' - > + > @@ -183,10 +183,10 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { Reach out diff --git a/styles/globals.css b/styles/globals.css index cd327de8f..7d786ece1 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -295,8 +295,8 @@ border-radius: 4px; */ border-radius: 8px; } .scrollbar-hidden { - scrollbar-width: none; + scrollbar-width: none; } .scrollbar-hidden::-webkit-scrollbar { display: none; -} \ No newline at end of file +}