Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DiceDB/playground-web into kavii/…
Browse files Browse the repository at this point in the history
…setup-ui-packages-and-tailwind-for-console

* 'master' of github.com:DiceDB/playground-web:
  Fix docker compose file (DiceDB#77)
  integrate cleanup time from playground-mono (DiceDB#76)
  Changes to integrate rate-limit headers for `Commands left` component UI (DiceDB#67)
  Adding support for JSON.SET command (DiceDB#74)
  Unit tests for playground-web repository  (DiceDB#71)
  fix: docker compose contexts to ensure docker compose runs
  • Loading branch information
KaviiSuri committed Nov 2, 2024
2 parents 97ddb2a + 0e5e694 commit 78fad3f
Show file tree
Hide file tree
Showing 31 changed files with 892 additions and 444 deletions.
52 changes: 0 additions & 52 deletions apps/playground-web/components/CLI/CLI.tsx

This file was deleted.

110 changes: 0 additions & 110 deletions apps/playground-web/components/CLI/__tests__/index.test.tsx

This file was deleted.

124 changes: 0 additions & 124 deletions apps/playground-web/components/CLI/hooks/useCli.tsx

This file was deleted.

31 changes: 27 additions & 4 deletions apps/playground-web/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,40 @@ import Link from 'next/link';

export default function Footer() {
return (
<footer className="bg-white border-t border-gray-100 py-12">
<footer
className="bg-white border-t border-gray-100 py-12"
data-testid="footer"
>
<div className="container mx-auto px-4">
<div className="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 className="text-gray-500 font-semibold mb-4 text-center">
<h3
className="text-gray-500 font-semibold mb-4 text-center"
data-testid="footer-heading"
>
DiceDB
</h3>
<Link
href="https://dicedb.io/get-started/installation/"
target="_blank"
data-testid="get-started-link"
>
<Button className="w-full !bg-red-600 hover:!bg-red-700 !text-white">
<Button
className="w-full !bg-red-600 hover:!bg-red-700 !text-white"
data-testid="get-started-button"
>
Get Started →
</Button>
</Link>
<Link href="https://github.com/dicedb/dice" target="_blank">
<Link
href="https://github.com/dicedb/dice"
target="_blank"
data-testid="github-link"
>
<Button
variant="outline"
className="!w-full mt-2 !border-1 !border-gray-700 bg-blue-50 hover:text-blue text-black hover:text-blue-600"
data-testid="github-button"
>
<GitHub className="mr-2 h-4 w-4" /> GitHub (4k+)
</Button>
Expand All @@ -42,6 +57,7 @@ export default function Footer() {
href="https://dicedb.io/get-started/installation"
target="_blank"
className="text-gray-600 hover:text-gray-900"
data-testid="quickstart-link"
>
Quickstart
</a>
Expand All @@ -51,6 +67,7 @@ export default function Footer() {
href="https://dicedb.io/commands/get"
target="_blank"
className="text-gray-600 hover:text-gray-900"
data-testid="commands-link"
>
Commands
</a>
Expand All @@ -60,6 +77,7 @@ export default function Footer() {
href="https://github.com/DiceDB/dice/tree/master/examples/leaderboard-go"
target="_blank"
className="text-gray-600 hover:text-gray-900"
data-testid="examples-link"
>
Examples
</a>
Expand All @@ -75,6 +93,7 @@ export default function Footer() {
href="https://github.com/DiceDB/dice/tree/master/examples/leaderboard-go"
target="_blank"
className="text-gray-600 hover:text-gray-900"
data-testid="leaderboard-link"
>
Real-time Leaderboard
</a>
Expand All @@ -90,6 +109,7 @@ export default function Footer() {
href="mailto:[email protected]"
target="_blank"
className="text-gray-600 hover:text-gray-900"
data-testid="contact-link"
>
Contact Us
</a>
Expand All @@ -101,6 +121,7 @@ export default function Footer() {
target="_blank"
className="text-gray-400 hover:text-gray-600"
aria-label="People"
data-testid="people-icon-link"
>
<People className="h-6 w-6" />
</a>
Expand All @@ -109,6 +130,7 @@ export default function Footer() {
target="_blank"
className="text-gray-400 hover:text-gray-600"
aria-label="Twitter"
data-testid="twitter-icon-link"
>
<Twitter className="h-6 w-6" />
</a>
Expand All @@ -117,6 +139,7 @@ export default function Footer() {
target="_blank"
className="text-gray-400 hover:text-gray-600"
aria-label="GitHub"
data-testid="github-icon-link"
>
<GitHub className="h-6 w-6" />
</a>
Expand Down
Loading

0 comments on commit 78fad3f

Please sign in to comment.