Skip to content

Comments

Closed wager summary page#72

Merged
Ayoazeez26 merged 5 commits intostakepoint:stagingfrom
PeterOche:feature/wager-summary-page-67
Feb 27, 2025
Merged

Closed wager summary page#72
Ayoazeez26 merged 5 commits intostakepoint:stagingfrom
PeterOche:feature/wager-summary-page-67

Conversation

@PeterOche
Copy link
Contributor

Description

Please include a summary of the changes and the related issue. List any dependencies required for this change.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • [ -] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other

Checklist

  • [-] My code follows the code style of this project.

Related Issue

-Closes Issue #67

Screenshots (if applicable)

strkdesktop
strkmobile

Since there is no wager screen yet, paste

"use client";

import { Button } from "@/components/ui/button";
import Link from "next/link";

export default function Wagers() {
    return (
        <div className="w-full max-w-xl mx-auto py-8">
            <h1 className="text-2xl font-bold text-blue-1 mb-6">Wager States Demo</h1>
            
            <div className="flex flex-col gap-4">
                <Link href="/dashboard/wagers/summary?state=pending">
                    <Button className="w-full">View Pending Wager</Button>
                </Link>
                
                <Link href="/dashboard/wagers/summary?state=won">
                    <Button className="w-full">View Won Wager</Button>
                </Link>
                
                <Link href="/dashboard/wagers/summary?state=lost">
                    <Button className="w-full">View Lost Wager</Button>
                </Link>
            </div>
        </div>
    );
}

into \src\app(dashboard)\dashboard\wagers\page.tsx to see result

@vercel
Copy link

vercel bot commented Feb 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
starkwager-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 11:17am

@Ayoazeez26
Copy link
Contributor

@PeterOche what's the update on this?

@PeterOche
Copy link
Contributor Author

@PeterOche what's the update on this?

i'm so sorry. I must have missed the notification.
I have reverted the changes

Copy link
Contributor

@Ayoazeez26 Ayoazeez26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🚀

@Ayoazeez26 Ayoazeez26 merged commit d7308bb into stakepoint:staging Feb 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants