Skip to content

Commit 307df64

Browse files
authored
Merge pull request #10 from Xeven777/main
fixes
2 parents 0c9b63e + 6a3a78f commit 307df64

File tree

8 files changed

+89
-80
lines changed

8 files changed

+89
-80
lines changed

bun.lockb

0 Bytes
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@radix-ui/react-popover": "^1.1.1",
2525
"@radix-ui/react-slot": "^1.1.0",
2626
"@tailwindcss/typography": "^0.5.15",
27-
"@types/react": "^18.3.8",
27+
"@types/react": "^18.3.9",
2828
"@types/react-dom": "^18.3.0",
2929
"astro": "4.15.8",
3030
"astro-icon": "^1.1.1",

src/components/BentoGrid.astro

+73-66
Original file line numberDiff line numberDiff line change
@@ -2,85 +2,92 @@
22
import { Picture } from "astro:assets";
33
---
44

5-
<div
6-
class="grid grid-cols-3 min-h-[400px] gap-4 p-4 max-w-5xl mt-28 mx-auto text-white">
7-
<a
8-
href="/software?category=development"
9-
class="col-span-1 relative row-span-2 overflow-hidden bg-gradient-to-b from-orange-400/60 dark:from-orange-800/80 to-transparent rounded-xl p-4 flex flex-col justify-between">
10-
<div class="z-10">
11-
<h2 class="text-xl font-semibold mb-2">Development</h2>
12-
<p class="text-sm">
13-
Tools and technologies we use to build your website.
14-
</p>
15-
</div>
16-
<Picture
17-
width={500}
18-
height={500}
19-
class="w-full h-full object-cover absolute top-0 left-0 -z-10"
20-
src="https://image.lexica.art/full_webp/1c3ce7d1-8ae2-4af7-97e1-82c1ebf4b4e6"
21-
alt="Development"
22-
/>
23-
</a>
24-
25-
<a
26-
href="/software?category=design"
27-
class="col-span-1 bg-gradient-to-br from-pink-400/70 dark:from-pink-500/70 to-transparent relative overflow-hidden rounded-xl p-4">
28-
<Picture
29-
width={500}
30-
height={500}
31-
class="w-full h-full object-cover absolute top-0 left-0 -z-10"
32-
src="https://assets.lummi.ai/assets/Qmev8LeNk9N5wNnK6LWMB6SLmffzpAoip4r3qRCAQhoHqe?auto=format&w=800"
33-
alt="Design"
34-
/>
35-
<h2 class="text-lg font-semibold">Design</h2>
36-
37-
<p class="text-sm">Design tools for your website</p>
38-
</a>
39-
40-
<a
41-
href="/software?category=collaboration"
42-
class="col-span-1 relative bg-gradient-to-b from-slate-200 text-black to-transparent overflow-hidden rounded-xl p-4">
43-
<Picture
44-
width={500}
45-
height={500}
46-
class="w-full h-full object-cover absolute top-0 left-0 -z-10"
47-
src="https://assets.lummi.ai/assets/QmT29xfrcTojyQGGMWRpyJhgcwUsADbBaaCthJnaF2bqQR?auto=format&w=800"
48-
alt="Collaboration"
49-
/>
50-
<h2 class="text-lg font-semibold">Collaboration</h2>
51-
52-
<p class="text-sm">Tools required for collaboration.</p>
53-
</a>
54-
55-
<div class="grid grid-cols-3 gap-4 col-span-2">
5+
<section class="mb-20">
6+
<h2
7+
class="text-center text-5xl font-semibold my-6 bg-gradient-to-br from-foreground via-foreground/90 to-background/50 bg-clip-text text-transparent">
8+
Trending Categories
9+
</h2>
10+
<div
11+
class="grid grid-cols-3 min-h-[500px] gap-4 p-4 max-w-5xl mx-auto text-white">
5612
<a
57-
href="/software?category=testing"
58-
class="col-span-2 bg-gradient-to-br from-emerald-700 overflow-hidden to-transparent relative rounded-xl p-4">
13+
href="/software?category=development"
14+
class="col-span-1 relative group row-span-1 overflow-hidden bg-gradient-to-b from-orange-400/60 dark:from-orange-800/80 to-transparent rounded-xl p-4 flex flex-col justify-between">
15+
<div class="z-10">
16+
<h2 class="text-xl md:text-3xl font-semibold mb-2">Development</h2>
17+
</div>
5918
<Picture
6019
width={500}
6120
height={500}
62-
class="w-full h-full object-cover absolute top-0 left-0 -z-10"
63-
src="https://assets.lummi.ai/assets/QmUqvy5ayZbdVptWQHQSCynRDR6k8TPbn6vHQeMXY8vepR?auto=format&w=800"
64-
alt="Testing"
21+
class="w-full h-full group-hover:scale-110 transition-all duration-500 object-cover absolute top-0 left-0 -z-10"
22+
src="https://image.lexica.art/full_webp/1c3ce7d1-8ae2-4af7-97e1-82c1ebf4b4e6"
23+
alt="Development"
6524
/>
66-
<h2 class="text-lg font-semibold">Testing</h2>
25+
</a>
6726

68-
<p class="text-sm">Tools required for Testing your website.</p>
27+
<a
28+
href="/software?category=design"
29+
class="col-span-1 bg-gradient-to-br group from-pink-400/70 dark:from-pink-500/70 to-transparent relative overflow-hidden rounded-xl p-4">
30+
<Picture
31+
width={500}
32+
height={500}
33+
class="w-full h-full object-cover group-hover:scale-110 transition-all duration-500 absolute top-0 left-0 -z-10"
34+
src="https://assets.lummi.ai/assets/Qmev8LeNk9N5wNnK6LWMB6SLmffzpAoip4r3qRCAQhoHqe?auto=format&w=800"
35+
alt="Design"
36+
/>
37+
<h2 class="text-xl md:text-3xl font-semibold">Design</h2>
6938
</a>
7039

7140
<a
72-
href="/software?category=security"
73-
class="col-span-1 overflow-hidden relative bg-gradient-to-b from-purple-800 to-transparent rounded-xl p-4">
41+
href="/software?category=collaboration"
42+
class="col-span-1 relative group bg-gradient-to-b from-slate-200 text-black to-transparent overflow-hidden rounded-xl p-4">
7443
<Picture
7544
width={500}
7645
height={500}
77-
class="w-full h-full object-cover absolute top-0 left-0 -z-10"
78-
src="https://image.lexica.art/full_webp/4ca08b4a-9271-4525-9ce8-8499acc369a7"
79-
alt="Security"
46+
class="w-full h-full group-hover:scale-110 transition-all duration-500 object-cover absolute top-0 left-0 -z-10"
47+
src="https://assets.lummi.ai/assets/QmT29xfrcTojyQGGMWRpyJhgcwUsADbBaaCthJnaF2bqQR?auto=format&w=800"
48+
alt="Collaboration"
8049
/>
81-
<h2 class="text-lg font-semibold">Security</h2>
50+
<h2 class="text-xl md:text-3xl font-semibold">Collaboration</h2>
51+
</a>
8252

83-
<p class="text-sm">Tools required for security.</p>
53+
<div class="grid grid-cols-3 gap-4 col-span-2">
54+
<a
55+
href="/software?category=testing"
56+
class="col-span-2 bg-gradient-to-br group from-emerald-700 overflow-hidden to-transparent relative rounded-xl p-4">
57+
<Picture
58+
width={500}
59+
height={500}
60+
class="w-full h-full group-hover:scale-110 transition-all duration-500 object-cover absolute top-0 left-0 -z-10"
61+
src="https://assets.lummi.ai/assets/QmUqvy5ayZbdVptWQHQSCynRDR6k8TPbn6vHQeMXY8vepR?auto=format&w=800"
62+
alt="Testing"
63+
/>
64+
<h2 class="text-xl md:text-3xl font-semibold">Testing</h2>
65+
</a>
66+
67+
<a
68+
href="/software?category=security"
69+
class="col-span-1 overflow-hidden relative group bg-gradient-to-b from-purple-800 to-transparent rounded-xl p-4">
70+
<Picture
71+
width={500}
72+
height={500}
73+
class="w-full h-full group-hover:scale-110 transition-all duration-500 object-cover absolute top-0 left-0 -z-10"
74+
src="https://image.lexica.art/full_webp/4ca08b4a-9271-4525-9ce8-8499acc369a7"
75+
alt="Security"
76+
/>
77+
<h2 class="text-xl md:text-3xl font-semibold">Security</h2>
78+
</a>
79+
</div>
80+
<a
81+
href="/software?category=devops"
82+
class="col-span-1 overflow-hidden group relative bg-gradient-to-br from-blue-800 to-transparent rounded-xl p-4">
83+
<Picture
84+
width={500}
85+
height={500}
86+
class="w-full h-full group-hover:scale-110 transition-all duration-500 object-cover absolute top-0 left-0 -z-10"
87+
src="https://assets.lummi.ai/assets/QmRwKwas1rCENiEVU7prQxkeBsv63uNF6P83qV6PvqEE5A?auto=format&w=1500"
88+
alt="Devops"
89+
/>
90+
<h2 class="md:text-3xl text-xl font-semibold">DevOps</h2>
8491
</a>
8592
</div>
86-
</div>
93+
</section>

src/components/footer.astro

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ import { Icon } from "astro-icon/components";
3232

3333
<p
3434
class="mx-auto mt-6 max-w-md text-center leading-relaxed text-muted-foreground lg:text-left">
35-
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Incidunt
36-
consequuntur amet culpa cum itaque neque.
35+
This directory is dedicated to showcasing and supporting the
36+
incredible innovation emerging from Indian founders in the
37+
dev tools space.
3738
</p>
3839
</div>
3940

src/components/spotlight.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const softwareEntries = await getCollection("software");
77
---
88

99
<Container>
10-
<section class="w-full py-12 md:py-24 lg:py-32">
10+
<section class="w-full py-12 md:py-24 lg:py-28">
1111
<div class="container px-4 md:px-6">
1212
<div class="space-y-4 text-center">
1313
<h2 class="text-3xl font-bold tracking-tighter sm:text-4xl md:text-6xl">

src/layouts/BlogLayout.astro

-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ const { frontmatter } = Astro.props;
1010
<Layout title={frontmatter.title}>
1111
<Container>
1212
<div class="mx-auto max-w-3xl mt-14">
13-
<h1
14-
class="text-4xl lg:text-5xl font-bold lg:tracking-tight mt-1 lg:leading-tight">
15-
{frontmatter.title}
16-
</h1>
1713
<Picture
1814
width={770}
1915
height={400}

src/pages/index.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import BentoGrid from "@components/BentoGrid.astro";
1212
<Container>
1313
<Hero />
1414
<Spotlight />
15+
<BentoGrid />
1516
<Vision />
1617
<Cta />
17-
<BentoGrid />
1818
</Container>
1919
</Layout>

src/pages/software/[slug].astro

+10-5
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,16 @@ const { entry } = Astro.props;
4242
<div class="flex gap-2 md:gap-4 h-16 md:h-20">
4343
{
4444
entry.data.Logo && (
45-
<img
46-
src={entry.data.Logo}
47-
alt={entry.data.Name}
48-
class="size-10 lg:size-12 mt-2 shadow-sm dark:shadow-orange-600 rounded-lg"
49-
/>
45+
<a
46+
href={entry.data.Website}
47+
target="_blank"
48+
title="visit website">
49+
<img
50+
src={entry.data.Logo}
51+
alt={entry.data.Name}
52+
class="size-10 lg:size-12 cursor-pointer hover:brightness-150 hover:saturate-150 mt-2 shadow-sm dark:shadow-orange-600 rounded-lg"
53+
/>
54+
</a>
5055
)
5156
}
5257
<h1

0 commit comments

Comments
 (0)