Skip to content

Commit

Permalink
fix: UI bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pet3r1512 committed Dec 11, 2024
1 parent c06935f commit f6df1bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Home/Highlight/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import BentoGrid from "./BentoGrid";

export default function Highlight() {
return (
<section className="flex flex-col gap-y-24 lg:gap-y-48 justify-center min-h-screen lg:mt-32">
<section className="flex flex-col gap-y-24 lg:gap-y-48 justify-center items-center h-full min-h-screen mt-0 lg:mt-32">
<SectionTitle
title={
<p>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home/OpenSource/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useInView } from "framer-motion";

export default function OpenSource() {
const ref = useRef(null);
const isInView = useInView(ref);
const isInView = useInView(ref, { once: true });

return (
<section
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home/SupportTechs/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function SupportedTechs() {
<section
id="techstacks"
ref={ref}
className="flex flex-col gap-y-24 lg:gap-y-48 justify-center min-h-screen max-w-7xl mx-auto"
className="flex flex-col gap-y-24 lg:gap-y-48 justify-center items-center min-h-screen max-w-7xl mx-auto"
>
<SectionTitle
title="Wonderfull Supported Technologies and Tools"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function Home() {
>
<DynamicHero />
<DyanmicFeatures />
<section className="relative w-screen lg:max-w-7xl min-h-screen mx-auto flex flex-col items-center mt-24 lg:mt-48 lg:mb-24 mb-16 md:mb-48">
<section className="relative w-screen lg:max-w-7xl min-h-screen mx-auto flex flex-col items-center mt-24 lg:mt-48 lg:mb-24 mb-16 md:mb-48 max-w-screen overflow-x-hidden">
{isHeroInView && <DynamicAnimation />}
<DynamicHighlightSection />
<DynamicSupportedTechs />
Expand Down

0 comments on commit f6df1bf

Please sign in to comment.