Skip to content

Commit d5fb30f

Browse files
authored
fix: vertical spacing (#127)
1 parent 9495005 commit d5fb30f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Visit our [contributing guide](https://animata.design/docs/contributing) to lear
1818
## Authors
1919

2020
<a href="https://github.com/codse/animata/graphs/contributors">
21-
<img src="https://contrib.rocks/image?repo=codse/animata" />
21+
<img src="https://contrib.rocks/image?repo=codse/animata&max=100" />
2222
</a>
2323

2424
## Activity

app/_landing/curtain.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function Curtain() {
1818
return (
1919
<div
2020
className={cn(
21-
"absolute inset-0 -mt-16 flex items-end justify-center bg-yellow-200 ease-slow animate-out slide-out-to-top-full fill-mode-forwards",
21+
"absolute inset-0 z-20 -mt-16 flex items-end justify-center bg-yellow-200 ease-slow animate-out slide-out-to-top-full fill-mode-forwards",
2222
{
2323
// Only animate it once per load
2424
"duration-1000": !hasLoaded,

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function IndexPage() {
2626
<DiagonalLines color="#dadada" className="absolute -left-20 -top-20 h-52 w-52 rotate-12">
2727
<div className="h-52 w-52" />
2828
</DiagonalLines>
29-
<div className="container relative flex w-full flex-col gap-8 py-12 md:py-24">
29+
<div className="container relative flex w-full flex-col gap-8 pb-12 pt-4 md:pb-24 md:pt-8">
3030
<Announcement />
3131
<Hero />
3232
<FeatureSection />

components/announcement.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Separator } from "@/components/ui/separator";
66

77
export function Announcement() {
88
return (
9-
<div className="group mx-auto w-fit rounded-full bg-background px-4">
9+
<div className="group z-10 mx-auto mb-4 w-fit rounded-full bg-background px-4 lg:-mb-20">
1010
<Link href="/docs/changelog">
1111
<AnimatedGradientText className="inline-flex cursor-pointer items-center rounded-full border-2 border-sky-500 from-rose-500 via-green-600 to-purple-500 px-6 py-3 text-lg font-semibold hover:border-sky-600">
1212
<Combine className="h-6 w-6 text-blue-500" />{" "}

0 commit comments

Comments
 (0)