Skip to content

Commit

Permalink
Test copy to clipboard button
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebrothers authored Dec 19, 2023
1 parent f34e7f7 commit 1129cd6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<!-- load MUI -->
<link href="//cdn.muicss.com/mui-0.10.3/css/mui.min.css" rel="stylesheet" type="text/css" />
<script src="//cdn.muicss.com/mui-0.10.3/js/mui.min.js"></script>
<script src='https://kit.fontawesome.com/a076d05399.js' crossorigin='anonymous'></script>
</head>
<body>
<!-- Title Section -->
Expand All @@ -29,6 +30,7 @@ <h2>Getting your project approved</h2>
<div class="mui-row mui--align-middle">
<div class="mui-col-md-4">
<button onclick="window.location.href='https://helpmencri.org/HELP';" class="mui-btn mui-btn--primary mui-col-md-12 mui-btn--raised">helpmencri.org/HELP</button>
<button onclick="CopyToClipboard('https://helpmencri.org/HELP'); "><i class='fas fa-copy'></i></button>
</div>
<div class="mui-col-md-8">
<br>
Expand Down Expand Up @@ -328,5 +330,10 @@ <h2>Data and technology resources</h2>

</div>
</div>
<script>
function CopyToClipboard(parameter) {
navigator.clipboard.writeText(parameter);
}
</script>
</body>
</html>

0 comments on commit 1129cd6

Please sign in to comment.