kamrify commited on
Commit
be9e7e5
·
1 Parent(s): d0e57d9

Update opensource banner border

Browse files
docs/src/components/Features.astro ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ import { Earth, Smartphone, Settings, Feather, Code2, Layers, Keyboard } from "lucide-react";
3
+ import Container from "./Container.astro";
4
+ ---
5
+
6
+ <div class="py-0 mb-16 bg-white">
7
+ <Container>
8
+ <div class="max-w-screen-lg">
9
+ <h2 class="text-4xl md:text-5xl lg:text-6xl font-bold text-gray-900 mb-4 md:mb-6">Nothing else like it</h2>
10
+ <p class="text-base md:text-xl lg:text-2xl text-black mb-10 md:mb-14 lg:mb-16">
11
+ Lightweight with no external dependencies, supports all major browsers and is highly customizable.
12
+ </p>
13
+ </div>
14
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 md:gap-10 lg:gap-4">
15
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
16
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
17
+ <Earth className="w-6 h-6 text-black lg:w-7 lg:h-7" />
18
+ </div>
19
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">Browser Support</h3>
20
+ <p class="text-gray-600 md:text-lg">
21
+ Works in all modern browsers including Chrome, IE9+, Safari, Firefox and Opera
22
+ </p>
23
+ </div>
24
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
25
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
26
+ <Smartphone className="w-6 h-6 text-black lg:w-7 lg:h-7" />
27
+ </div>
28
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">Mobile Ready</h3>
29
+ <p class="text-gray-600 md:text-lg">Works on desktop, tablets and mobile devices</p>
30
+ </div>
31
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
32
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
33
+ <Settings className="w-6 h-6 text-black lg:w-7 lg:h-7" />
34
+ </div>
35
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">Highly Customizable</h3>
36
+ <p class="text-gray-600 md:text-lg">Powerful API that allows you to customize it to your needs</p>
37
+ </div>
38
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
39
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
40
+ <Feather className="w-6 h-6 text-black lg:w-7 lg:h-7" />
41
+ </div>
42
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">Lightweight</h3>
43
+ <p class="text-gray-600 md:text-lg">
44
+ Only 5KB minified, compared to other libraries which are typically >12KB minified
45
+ </p>
46
+ </div>
47
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
48
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
49
+ <Code2 className="w-6 h-6 text-black lg:w-7 lg:h-7" />
50
+ </div>
51
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">No Dependencies</h3>
52
+ <p class="text-gray-600 md:text-lg">Simple to use with absolutely no external dependencies</p>
53
+ </div>
54
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
55
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
56
+ <Layers className="w-6 h-6 text-black lg:w-7 lg:h-7" />
57
+ </div>
58
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">Feature Rich</h3>
59
+ <p class="text-gray-600 md:text-lg">Create powerful feature introductions for your web applications</p>
60
+ </div>
61
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
62
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
63
+ <span class="w-6 h-6 text-black lg:w-7 lg:h-7 font-black">MIT</span>
64
+ </div>
65
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">MIT License</h3>
66
+ <p class="text-gray-600 md:text-lg">Free for both personal and commercial use</p>
67
+ </div>
68
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
69
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
70
+ <Keyboard className="w-6 h-6 text-black lg:w-7 lg:h-7" />
71
+ </div>
72
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">Keyboard Control</h3>
73
+ <p class="text-gray-600 md:text-lg">All actions can be controlled via keyboard</p>
74
+ </div>
75
+ <div class="group bg-yellow-50 p-6 rounded-xl transition-colors">
76
+ <div class="flex justify-center items-center mb-4 w-12 h-12 rounded-xl bg-yellow-300 lg:h-14 lg:w-14">
77
+ <span class="w-6 h-6 text-black lg:w-7 lg:h-7 font-black">ALL</span>
78
+ </div>
79
+ <h3 class="mb-3 text-xl md:text-2xl font-bold text-black">Highlight Anything</h3>
80
+ <p class="text-gray-600 md:text-lg">Highlight any element on the page</p>
81
+ </div>
82
+ </div>
83
+ </Container>
84
+ </div>
docs/src/components/OpenSourceLove.astro CHANGED
@@ -4,7 +4,7 @@ import { getFormattedStars } from "../lib/github";
4
 
5
  const starCount = getFormattedStars('kamranahmedse/driver.js');
6
  ---
7
- <div class="py-10 md:py-12 lg:py-24 bg-white text-black border-t-2 border-t-black">
8
  <Container>
9
  <div class="flex items-center">
10
  <div>
 
4
 
5
  const starCount = getFormattedStars('kamranahmedse/driver.js');
6
  ---
7
+ <div class="py-10 md:py-12 lg:py-24 bg-white text-black border-t">
8
  <Container>
9
  <div class="flex items-center">
10
  <div>