@@ -9,25 +9,40 @@ import Link from 'next/link';
99
1010export default function Footer ( ) {
1111 return (
12- < footer className = "bg-white border-t border-gray-100 py-12" >
12+ < footer
13+ className = "bg-white border-t border-gray-100 py-12"
14+ data-testid = "footer"
15+ >
1316 < div className = "container mx-auto px-4" >
1417 < div className = "grid grid-cols-1 md:grid-cols-4 gap-8" >
1518 < div >
16- < h3 className = "text-gray-500 font-semibold mb-4 text-center" >
19+ < h3
20+ className = "text-gray-500 font-semibold mb-4 text-center"
21+ data-testid = "footer-heading"
22+ >
1723 DiceDB
1824 </ h3 >
1925 < Link
2026 href = "https://dicedb.io/get-started/installation/"
2127 target = "_blank"
28+ data-testid = "get-started-link"
2229 >
23- < Button className = "w-full !bg-red-600 hover:!bg-red-700 !text-white" >
30+ < Button
31+ className = "w-full !bg-red-600 hover:!bg-red-700 !text-white"
32+ data-testid = "get-started-button"
33+ >
2434 Get Started →
2535 </ Button >
2636 </ Link >
27- < Link href = "https://github.com/dicedb/dice" target = "_blank" >
37+ < Link
38+ href = "https://github.com/dicedb/dice"
39+ target = "_blank"
40+ data-testid = "github-link"
41+ >
2842 < Button
2943 variant = "outline"
3044 className = "!w-full mt-2 !border-1 !border-gray-700 bg-blue-50 hover:text-blue text-black hover:text-blue-600"
45+ data-testid = "github-button"
3146 >
3247 < GitHub className = "mr-2 h-4 w-4" /> GitHub (4k+)
3348 </ Button >
@@ -42,6 +57,7 @@ export default function Footer() {
4257 href = "https://dicedb.io/get-started/installation"
4358 target = "_blank"
4459 className = "text-gray-600 hover:text-gray-900"
60+ data-testid = "quickstart-link"
4561 >
4662 Quickstart
4763 </ a >
@@ -51,6 +67,7 @@ export default function Footer() {
5167 href = "https://dicedb.io/commands/get"
5268 target = "_blank"
5369 className = "text-gray-600 hover:text-gray-900"
70+ data-testid = "commands-link"
5471 >
5572 Commands
5673 </ a >
@@ -60,6 +77,7 @@ export default function Footer() {
6077 href = "https://github.com/DiceDB/dice/tree/master/examples/leaderboard-go"
6178 target = "_blank"
6279 className = "text-gray-600 hover:text-gray-900"
80+ data-testid = "examples-link"
6381 >
6482 Examples
6583 </ a >
@@ -75,6 +93,7 @@ export default function Footer() {
7593 href = "https://github.com/DiceDB/dice/tree/master/examples/leaderboard-go"
7694 target = "_blank"
7795 className = "text-gray-600 hover:text-gray-900"
96+ data-testid = "leaderboard-link"
7897 >
7998 Real-time Leaderboard
8099 </ a >
@@ -90,6 +109,7 @@ export default function Footer() {
9010991110 target = "_blank"
92111 className = "text-gray-600 hover:text-gray-900"
112+ data-testid = "contact-link"
93113 >
94114 Contact Us
95115 </ a >
@@ -101,6 +121,7 @@ export default function Footer() {
101121 target = "_blank"
102122 className = "text-gray-400 hover:text-gray-600"
103123 aria-label = "People"
124+ data-testid = "people-icon-link"
104125 >
105126 < People className = "h-6 w-6" />
106127 </ a >
@@ -109,6 +130,7 @@ export default function Footer() {
109130 target = "_blank"
110131 className = "text-gray-400 hover:text-gray-600"
111132 aria-label = "Twitter"
133+ data-testid = "twitter-icon-link"
112134 >
113135 < Twitter className = "h-6 w-6" />
114136 </ a >
@@ -117,6 +139,7 @@ export default function Footer() {
117139 target = "_blank"
118140 className = "text-gray-400 hover:text-gray-600"
119141 aria-label = "GitHub"
142+ data-testid = "github-icon-link"
120143 >
121144 < GitHub className = "h-6 w-6" />
122145 </ a >
0 commit comments