From 235516196d127f3daa306b248ef27c3ae7744af1 Mon Sep 17 00:00:00 2001
From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com>
Date: Thu, 20 Oct 2022 15:33:43 -0400
Subject: [PATCH] added toast on copy button click
---
src/layouts/partials/clipboard-copy.html | 2 +-
src/layouts/partials/footer.html | 14 +++++++++
src/layouts/partials/head.html | 2 ++
src/layouts/partials/toast.html | 40 ++++++++++++++++++++++++
4 files changed, 57 insertions(+), 1 deletion(-)
create mode 100644 src/layouts/partials/toast.html
diff --git a/src/layouts/partials/clipboard-copy.html b/src/layouts/partials/clipboard-copy.html
index 2646f17..eca0f80 100644
--- a/src/layouts/partials/clipboard-copy.html
+++ b/src/layouts/partials/clipboard-copy.html
@@ -4,7 +4,7 @@
-
+
diff --git a/src/layouts/partials/footer.html b/src/layouts/partials/footer.html
index c3007b8..837cff8 100644
--- a/src/layouts/partials/footer.html
+++ b/src/layouts/partials/footer.html
@@ -189,3 +189,17 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
.catch(err => { throw err });
+
+
diff --git a/src/layouts/partials/head.html b/src/layouts/partials/head.html
index bf344da..7a643db 100644
--- a/src/layouts/partials/head.html
+++ b/src/layouts/partials/head.html
@@ -101,5 +101,7 @@
{{- partial "floating-join-btn.html" . -}}
+ {{- partial "toast.html" -}}
+
diff --git a/src/layouts/partials/toast.html b/src/layouts/partials/toast.html
new file mode 100644
index 0000000..5cdebdd
--- /dev/null
+++ b/src/layouts/partials/toast.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Copied to clipboard. Now paste that command into your terminal.
+
+
+
+
+