Skip to content

Commit

Permalink
Fixed images having overflow issues on the website
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyjepsen committed Jan 6, 2025
1 parent b52d96b commit 8d1124f
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions components/blocks/blogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Blogs = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/blogs/blog1" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/blog1.png"
alt="blog1"
Expand All @@ -34,7 +34,7 @@ export const Blogs = () => (
</Link>
<Link href="blocks/blogs/blog2" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/blog2.png"
alt="blog2"
Expand Down
4 changes: 2 additions & 2 deletions components/blocks/cases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Cases = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/cases/case1" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/case1.png"
alt="case1"
Expand All @@ -34,7 +34,7 @@ export const Cases = () => (
</Link>
<Link href="blocks/cases/case2" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/case2.png"
alt="case2"
Expand Down
2 changes: 1 addition & 1 deletion components/blocks/contacts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Contacts = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/contacts/contact1" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/contact1.png"
alt="contact1"
Expand Down
4 changes: 2 additions & 2 deletions components/blocks/ctas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const CTAs = () => (
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/ctas/cta1" className="hover:opacity-70">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/cta1.png"
alt="cta1"
Expand All @@ -31,7 +31,7 @@ export const CTAs = () => (
</div>
</Link>
<Link href="blocks/ctas/cta2" className="hover:opacity-70">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/cta2.png"
alt="cta2"
Expand Down
4 changes: 2 additions & 2 deletions components/blocks/faqs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const FAQs = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/faqs/faq1" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/faq1.png"
alt="faq1"
Expand All @@ -35,7 +35,7 @@ export const FAQs = () => (
</Link>
<Link href="blocks/faqs/faq2" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/faq2.png"
alt="faq2"
Expand Down
18 changes: 9 additions & 9 deletions components/blocks/features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Features = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/features/feature1" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature1.png"
alt="feature1"
Expand All @@ -34,7 +34,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature2" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature2.png"
alt="feature2"
Expand All @@ -49,7 +49,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature3" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature3.png"
alt="feature3"
Expand All @@ -64,7 +64,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature4" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature4.png"
alt="feature4"
Expand All @@ -79,7 +79,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature5" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature5.png"
alt="feature5"
Expand All @@ -94,7 +94,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature6" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature6.png"
alt="feature6"
Expand All @@ -109,7 +109,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature7" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature7.png"
alt="feature7"
Expand All @@ -124,7 +124,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature8" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature8.png"
alt="feature8"
Expand All @@ -139,7 +139,7 @@ export const Features = () => (
</Link>
<Link href="blocks/features/feature9" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/feature9.png"
alt="feature9"
Expand Down
2 changes: 1 addition & 1 deletion components/blocks/footers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Footers = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/footers/footer1" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/footer1.png"
alt="footer1"
Expand Down
2 changes: 1 addition & 1 deletion components/blocks/headers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Headers = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/headers/header1" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/header1.png"
alt="header1"
Expand Down
10 changes: 5 additions & 5 deletions components/blocks/heroes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Heroes = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/heroes/hero1" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/hero1.png"
alt="Hero 1"
Expand All @@ -34,7 +34,7 @@ export const Heroes = () => (
</Link>
<Link href="blocks/heroes/hero2" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/hero2.png"
alt="Hero 2"
Expand All @@ -49,7 +49,7 @@ export const Heroes = () => (
</Link>
<Link href="blocks/heroes/hero3" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/hero3.png"
alt="Hero 3"
Expand All @@ -64,7 +64,7 @@ export const Heroes = () => (
</Link>{" "}
<Link href="blocks/heroes/hero4" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/hero4.png"
alt="Hero 4"
Expand All @@ -79,7 +79,7 @@ export const Heroes = () => (
</Link>
<Link href="blocks/heroes/hero5" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 relative">
<div className="bg-muted rounded-md p-8 lg:p-20 relative">
<Badge className="absolute top-4 left-4">
Animated using Framer Motion
</Badge>
Expand Down
4 changes: 2 additions & 2 deletions components/blocks/pricings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Pricings = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/pricings/pricing1" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/pricing1.png"
alt="pricing1"
Expand All @@ -34,7 +34,7 @@ export const Pricings = () => (
</Link>
<Link href="blocks/pricings/pricing2" className="hover:opacity-70">
<div className="flex flex-col h-full">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20 h-full">
<div className="bg-muted rounded-md p-8 lg:p-20 h-full">
<Image
src="/pricing2.png"
alt="pricing2"
Expand Down
4 changes: 2 additions & 2 deletions components/blocks/stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Stats = () => (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
<Link href="blocks/stats/stats1" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/stats1.png"
alt="stats1"
Expand All @@ -34,7 +34,7 @@ export const Stats = () => (
</Link>
<Link href="blocks/stats/stats2" className="hover:opacity-70">
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/stats2.png"
alt="stats2"
Expand Down
2 changes: 1 addition & 1 deletion components/blocks/testimonials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Testimonials = () => (
className="hover:opacity-70"
>
<div className="flex flex-col gap-2">
<div className="bg-muted rounded-md aspect-video p-8 lg:p-20">
<div className="bg-muted rounded-md p-8 lg:p-20">
<Image
src="/testimonials1.png"
alt="testimonials1"
Expand Down

0 comments on commit 8d1124f

Please sign in to comment.