Skip to content

Commit edf3c01

Browse files
committed
feat(components): add the component planets with the first scheme
- aws, docker, jest, mongo, nextjs, node, playwright, postgres, tailwind
1 parent 05203de commit edf3c01

9 files changed

Lines changed: 21 additions & 21 deletions

File tree

src/components/Planets/aws.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const Aws = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute flex h-[80px] w-[80px] rotate-6 justify-center rounded-full bg-[conic-gradient(at_top_right,_var(--tw-gradient-stops))] from-green-300 via-yellow-300 to-pink-300 p-2 blur-sm sm:h-[85px] sm:w-[85px] lg:h-[100px] lg:w-[100px] ',
7+
'absolute flex h-[80px] w-[80px] rotate-6 justify-center rounded-full bg-[conic-gradient(at_top_right,_var(--tw-gradient-stops))] from-white from-40% via-yellow-300 to-pink-300 p-2 opacity-50 blur-sm sm:h-[85px] sm:w-[85px] lg:h-[100px] lg:w-[100px] ',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const Aws = ({ className }: OptClassName) => (
1515
className="object-contain"
1616
width="auto"
1717
src="./logos/aws.png"
18-
alt="AWS"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/docker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const Docker = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute flex h-[75px] w-[75px] rotate-6 justify-center rounded-full bg-[conic-gradient(at_top_right,_var(--tw-gradient-stops))] from-gray-400 via-gray-600 to-blue-800 p-1 blur-sm sm:h-[80px] sm:w-[80px] lg:h-[100px] lg:w-[100px]',
7+
'absolute flex h-[75px] w-[75px] rotate-6 justify-center rounded-full bg-[conic-gradient(at_bottom_right,_var(--tw-gradient-stops))] from-white from-70% via-gray-600 to-blue-800 p-1 opacity-50 blur-sm sm:h-[80px] sm:w-[80px] lg:h-[200px] lg:w-[200px]',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const Docker = ({ className }: OptClassName) => (
1515
className="object-contain"
1616
decoding="async"
1717
src="./logos/docker.png"
18-
alt="Docker"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/jest.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const Jest = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute hidden h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-[conic-gradient(at_top_left,_var(--tw-gradient-stops))] from-red-800 via-yellow-600 to-yellow-500 p-2 blur-sm sm:flex lg:h-[100px] lg:w-[100px]',
7+
'absolute hidden h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-[conic-gradient(at_top_right,_var(--tw-gradient-stops))] from-white from-40% via-yellow-600 to-yellow-500 p-2 opacity-50 blur-sm sm:flex lg:h-[100px] lg:w-[100px]',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const Jest = ({ className }: OptClassName) => (
1515
width="auto"
1616
className=" m-[10px] object-contain"
1717
src="./logos/jest.png"
18-
alt="Jest"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/mongo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const MongoDB = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute flex h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-gradient-to-b from-emerald-500 to-lime-600 p-1 blur-sm lg:h-[100px] lg:w-[100px]',
7+
'from-20 absolute flex h-[70px] w-[70px] -rotate-45 justify-center rounded-full bg-[conic-gradient(at_top,_var(--tw-gradient-stops))] from-white from-10% via-emerald-500 to-lime-800 p-1 opacity-50 blur-sm lg:h-[120px] lg:w-[120px]',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const MongoDB = ({ className }: OptClassName) => (
1515
decoding="async"
1616
className="object-contain"
1717
src="./logos/mongo.png"
18-
alt="Mongodb"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/nextjs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const NextJs = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute flex h-[60px] w-[60px] rotate-12 justify-center rounded-full bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-gray-700 via-gray-900 to-black p-1 blur-sm sm:h-[70px] sm:w-[70px] lg:h-[90px] lg:w-[90px]',
7+
'absolute flex h-[60px] w-[60px] rotate-12 justify-center rounded-full bg-[conic-gradient(at_top,_var(--tw-gradient-stops))] from-black via-gray-900 to-white p-1 opacity-70 blur-sm sm:h-[70px] sm:w-[70px] lg:h-[90px] lg:w-[90px]',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const NextJs = ({ className }: OptClassName) => (
1515
decoding="async"
1616
className="object-contain"
1717
src="./logos/nextjs.png"
18-
alt="Nextjs"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/node.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ import { cn } from '@/utils/cn'
44
const Node = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute hidden h-[100px] w-[100px] justify-center rounded-full bg-green-100 bg-[conic-gradient(at_top,_var(--tw-gradient-stops))] from-emerald-500 to-lime-600 p-2 blur-sm md:flex',
7+
'absolute hidden h-[150px] w-[150px] items-center justify-center rounded-full bg-green-300 bg-[conic-gradient(at_top_right,_var(--tw-gradient-stops))] from-white from-50% via-emerald-600 to-lime-800 p-2 pt-4 opacity-50 blur-sm md:flex',
88
className
99
)}
1010
>
1111
<img
12-
height="50px"
13-
width="auto"
12+
height="auto"
13+
width="130px"
1414
loading="lazy"
1515
decoding="async"
16-
className="m-2 object-contain"
16+
className="rotate-6 object-contain"
1717
src="./logos/nodejs.png"
18-
alt="Nodejs"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/playwright.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const Playwright = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute flex h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-indigo-200 via-red-200 to-green-400 p-1 blur-sm lg:h-[100px] lg:w-[100px]',
7+
'absolute flex h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-indigo-200 via-red-200 to-green-400 p-1 opacity-50 blur-sm lg:h-[150px] lg:w-[150px]',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const Playwright = ({ className }: OptClassName) => (
1515
decoding="async"
1616
className="object-contain"
1717
src="./logos/playwright.png"
18-
alt="Playwright"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/postgres.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const Postgres = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute -z-10 flex h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-gradient-to-tr from-sky-400 to-blue-800 p-[12px] blur-sm',
7+
'absolute -z-10 flex h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-gradient-to-tr from-sky-400 to-blue-800 p-[12px] opacity-60 blur-sm',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const Postgres = ({ className }: OptClassName) => (
1515
decoding="async"
1616
className="object-contain"
1717
src="./logos/postgresql.png"
18-
alt="Postgresql"
18+
alt=""
1919
/>
2020
</div>
2121
)

src/components/Planets/tailwind.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from '@/utils/cn'
44
const Tailwind = ({ className }: OptClassName) => (
55
<div
66
className={cn(
7-
'absolute flex h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-gradient-to-tr from-green-300 via-blue-500 to-purple-600 p-1 blur-sm lg:h-[100px] lg:w-[100px]',
7+
'absolute flex h-[90px] w-[90px] rotate-12 justify-center rounded-full bg-[conic-gradient(at_top_left,_var(--tw-gradient-stops))] from-white via-blue-800 to-purple-600 p-2 opacity-60 blur-sm lg:h-[130px] lg:w-[130px]',
88
className
99
)}
1010
>
@@ -15,7 +15,7 @@ const Tailwind = ({ className }: OptClassName) => (
1515
className="object-contain"
1616
decoding="async"
1717
src="./logos/tailwind.png"
18-
alt="Tailwind"
18+
alt=""
1919
/>
2020
</div>
2121
)

0 commit comments

Comments
 (0)