aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/pages/DeckDetailPage.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/pages/DeckDetailPage.tsx')
-rw-r--r--src/client/pages/DeckDetailPage.tsx24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/client/pages/DeckDetailPage.tsx b/src/client/pages/DeckDetailPage.tsx
index cdc216a..3d7ffb5 100644
--- a/src/client/pages/DeckDetailPage.tsx
+++ b/src/client/pages/DeckDetailPage.tsx
@@ -158,6 +158,30 @@ export function DeckDetailPage() {
<div
style={{
display: "flex",
+ gap: "0.5rem",
+ marginBottom: "1rem",
+ }}
+ >
+ <Link href={`/decks/${deckId}/study`}>
+ <button
+ type="button"
+ style={{
+ backgroundColor: "#28a745",
+ color: "white",
+ border: "none",
+ padding: "0.5rem 1rem",
+ borderRadius: "4px",
+ cursor: "pointer",
+ }}
+ >
+ Study Now
+ </button>
+ </Link>
+ </div>
+
+ <div
+ style={{
+ display: "flex",
justifyContent: "space-between",
alignItems: "center",
marginBottom: "1rem",