Skip to content

Commit e587d71

Browse files
committed
added the icons and basic page draft
1 parent f174f96 commit e587d71

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

docs/Docker/intro.md

Whitespace-only changes.

src/components/topmate/TopMateCard.tsx

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ const TopMateCard: React.FC<TopMateCardProps> = ({
2828
initial={{ opacity: 0, y: 20 }}
2929
animate={{ opacity: 1, y: 0 }}
3030
transition={{ duration: 0.5 }}
31-
className={`hover:shadow-3xl relative mx-auto w-full max-w-md transform overflow-hidden rounded-3xl shadow-2xl transition-all duration-300 hover:-translate-y-1 ${
32-
isDark ? "bg-[#1a1a1a] text-white" : "bg-white text-black"
33-
}`}
31+
className={`hover:shadow-3xl relative mx-auto w-full max-w-md transform overflow-hidden rounded-3xl shadow-2xl transition-all duration-300 hover:-translate-y-1 ${isDark ? "bg-[#1a1a1a] text-white" : "bg-white text-black"
32+
}`}
3433
>
3534
{/* Decorative Arrows */}
3635
<div className="absolute -top-4 -left-4 flex gap-2">
@@ -53,27 +52,24 @@ const TopMateCard: React.FC<TopMateCardProps> = ({
5352
<div className="mb-4 flex items-center justify-between">
5453
<div className="flex items-center gap-2">
5554
<span
56-
className={`text-sm font-medium ${
57-
isDark ? "text-gray-300" : "text-gray-600"
58-
}`}
55+
className={`text-sm font-medium ${isDark ? "text-gray-300" : "text-gray-600"
56+
}`}
5957
>
6058
1:1 CALL
6159
</span>
6260
<div
63-
className={`flex items-center gap-1 ${
64-
isDark ? "text-gray-400" : "text-gray-500"
65-
}`}
61+
className={`flex items-center gap-1 ${isDark ? "text-gray-400" : "text-gray-500"
62+
}`}
6663
>
6764
<Clock size={16} />
6865
<span className="text-sm">{duration}</span>
6966
</div>
7067
</div>
7168
<button
72-
className={`text-xl font-semibold ${
73-
isDark
69+
className={`text-xl font-semibold ${isDark
7470
? "text-gray-500 hover:text-gray-300"
7571
: "text-gray-400 hover:text-gray-600"
76-
}`}
72+
}`}
7773
onClick={() => setShowTopmate(false)}
7874
>
7975
<span className="sr-only">Close</span>×
@@ -82,9 +78,8 @@ const TopMateCard: React.FC<TopMateCardProps> = ({
8278

8379
{/* Title */}
8480
<h2
85-
className={`mb-4 text-2xl font-bold ${
86-
isDark ? "text-white" : "text-gray-900"
87-
}`}
81+
className={`mb-4 text-2xl font-bold ${isDark ? "text-white" : "text-gray-900"
82+
}`}
8883
>
8984
{title}
9085
</h2>
@@ -104,9 +99,8 @@ const TopMateCard: React.FC<TopMateCardProps> = ({
10499
/>
105100
<div className="flex flex-col">
106101
<span
107-
className={`text-sm ${
108-
isDark ? "text-gray-300" : "text-gray-600"
109-
}`}
102+
className={`text-sm ${isDark ? "text-gray-300" : "text-gray-600"
103+
}`}
110104
>
111105
Book a slot at
112106
</span>
@@ -132,9 +126,8 @@ const TopMateCard: React.FC<TopMateCardProps> = ({
132126
</div>
133127
{/* Theme-aware text to ensure readability on dark backgrounds */}
134128
<span
135-
className={`shrink-0 text-sm font-semibold ${
136-
isDark ? "text-gray-200" : "text-gray-700"
137-
}`}
129+
className={`shrink-0 text-sm font-semibold ${isDark ? "text-gray-200" : "text-gray-700"
130+
}`}
138131
>
139132
topmate
140133
</span>

static/icons/docker.svg

Lines changed: 7 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)