ZTL-UwU / shadcn-docs-nuxt

Effortless and beautiful docs template built with nuxt content & shadcn-vue.
https://shadcn-docs.nuxt.dev/
MIT License
61 stars 16 forks source link

feat: Add Toaster component for displaying toast notifications after … #1

Closed narr07 closed 2 weeks ago

narr07 commented 3 weeks ago

Add Toast Notification After Copying Code

Description

This pull request introduces a toast notification that appears after the user copies code using the copy button. The toast notification provides feedback to the user, confirming that the code has been successfully copied to the clipboard.

Changes

How to Test

  1. Navigate to a page with a code block and a copy button.
  2. Click the copy button.
  3. Verify that a toast notification appears, indicating that the code has been copied.
  4. Ensure the toast notification disappears after 3 seconds.

Additional Notes

vercel[bot] commented 3 weeks ago

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

Name Status Preview Comments Updated (UTC)
shadcn-docs-nuxt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 14, 2024 7:10pm
ZTL-UwU commented 2 weeks ago

Thanks for the contribution ❤️