Skip to content

Commit

Permalink
styling, mobile behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghuboi committed Apr 10, 2024
1 parent dec74dd commit 86d8e00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const metadata: Metadata = {
export default async function Page() {
return (
<div className="min-h-[85dvh] max-w-full flex justify-center items-center px-[3rem]">
<div className="max-w-[40rem] flex flex-col items-center justify-center gap-8">
<div className="max-w-[40rem] flex flex-col items-center justify-center gap-4 sm:gap-8">
<HomeTitle />
<HomeAbout />
<HomeButtons />
Expand Down
2 changes: 1 addition & 1 deletion src/features/home-title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const HomeTitle: React.FC<IHomeTitle> = () => {
<motion.div
layout
transition={{ duration: 0.5 }}
className="mr-auto flex flex-col gap-3 transition-width duration-500 ease-in-out"
className="relative mr-auto my-1 flex flex-col gap-3 transition-width duration-500 ease-in-out"
>
<TypewriterEffect
words={WORDS}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Background: React.FC<IBackground> = ({ children }) => {
minSize={0.6}
maxSize={1.4}
particleDensity={50}
className="w-[100dvw] min-h-[100dvh] absolute"
className="w-[100dvw] h-[100dvh] absolute"
particleColor={theme === "dark" ? "#FFFFFF" : "#000000"}
/>
<div className="absolute pointer-events-none inset-0 flex items-center justify-center dark:bg-black bg-white [mask-image:radial-gradient(ellipse_at_center,transparent_20%,black)]"></div>
Expand Down

0 comments on commit 86d8e00

Please sign in to comment.