Skip to content

Commit

Permalink
Merge pull request #396 from mbeps/development
Browse files Browse the repository at this point in the history
Tweaks and Bug Fixes
  • Loading branch information
mbeps authored Jun 15, 2024
2 parents 01ff125 + 0f3854d commit 138bcc0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
4 changes: 3 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function RootLayoutWithProviders({
return (
<>
<html lang="en" suppressHydrationWarning>
<body>
<body style={{ overflowX: "hidden" }}>
<Providers>
<Navbar />
<main
Expand All @@ -31,13 +31,15 @@ export default function RootLayoutWithProviders({
transition-colors duration-700 ease-in-out
min-h-[calc(100vh-4rem)]
pt-${NAVBAR_HEIGHT}
overflow-x-hidden
`}
>
<div
className="
mx-auto max-w-3xl md:max-w-6xl
min-h-[85vh]
pt-10 p-4
overflow-x-hidden
"
>
{children}
Expand Down
6 changes: 3 additions & 3 deletions app/skills/[skillKey]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export async function generateMetadata(
* @returns A list of all the keys for the static pages that need to be generated.
* @see https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration
*/
// export const generateStaticParams = async () => {
// return skillDatabaseKeys.map((skillKey) => ({ skillKey }));
// };
export const generateStaticParams = async () => {
return skillDatabaseKeys.map((skillKey) => ({ skillKey }));
};

interface ProjectPageProps {
params: { skillKey: string };
Expand Down
20 changes: 11 additions & 9 deletions components/Modal/TechnologiesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,18 @@ const TechnologiesModal: React.FC = () => {
</div>

{/* List of Skills */}
{groupedSkills.map((categoryData, index) => (
<div key={index} className="mt-4 text-center md:text-left">
<HeadingThree title={categoryData.skillCategoryName} />
<div className="flex flex-wrap flex-row justify-center z-10 md:justify-start">
{categoryData.skills.map((skillSlug) => (
<SkillTag key={skillSlug} skillKey={skillSlug} />
))}
<div className="mt-4 text-center md:text-left space-y-14">
{groupedSkills.map((categoryData, index) => (
<div key={index}>
<HeadingThree title={categoryData.skillCategoryName} />
<div className="flex flex-wrap flex-row justify-center z-10 md:justify-start">
{categoryData.skills.map((skillSlug) => (
<SkillTag key={skillSlug} skillKey={skillSlug} />
))}
</div>
</div>
</div>
))}
))}
</div>

{/* separator */}
<div className="w-full h-px bg-neutral-200 dark:bg-neutral-700 my-8" />
Expand Down

0 comments on commit 138bcc0

Please sign in to comment.