Skip to content

Commit dda5a86

Browse files
committed
feat: add 'Get started' button to canvas header
- Link to GitHub repository from Document to Diagram page - Match styling and behavior of main page header button
1 parent 47c2624 commit dda5a86

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

apps/app/src/app/canvas/page.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ export default function CanvasPage() {
6161
<span className="font-normal" style={{ color: "var(--text-secondary)" }}> — powered by CopilotKit</span>
6262
</p>
6363
</div>
64+
<a
65+
href="https://github.com/CopilotKit/OpenGenerativeUI"
66+
target="_blank"
67+
rel="noopener noreferrer"
68+
className="inline-flex items-center px-5 py-2 rounded-full text-sm font-semibold text-white no-underline whitespace-nowrap transition-all duration-150 hover:-translate-y-px"
69+
style={{
70+
background: "linear-gradient(135deg, var(--color-lilac-dark), var(--color-mint-dark))",
71+
boxShadow: "0 1px 4px rgba(149,153,204,0.3)",
72+
fontFamily: "var(--font-family)",
73+
}}
74+
>
75+
Get started
76+
</a>
6477
</div>
6578
</div>
6679

0 commit comments

Comments
 (0)