Skip to content

Commit

Permalink
gramado.js + index.html: Small changes on button support.
Browse files Browse the repository at this point in the history
  • Loading branch information
frednora committed Jul 24, 2024
1 parent 5cd70b4 commit e582d2f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/js/gramado.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ function gramadoHelloWorld(){
return __gramado_status;
}

function gramadoVisitGramadoOnGithub(){
window.open("https://github.com/gramado");
}

// ---------------------------------------

/* Learning ... */
Expand Down
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,17 @@ <h1>Gramado Organization</h1>
src="./assets/img/gramado-01.png"
alt="Fred Nora's profile picture">
</div>
<div class="gramado-container">
<br>
<button
class="gramado-button"
type="button"
id="button-01"
onclick="gramadoVisitGramadoOnGithub()" >
Gramado on Github
</button>
</div>

<br>
<div class="gramado-container">
<br><a href="#page-top">^ Back to Top! ^</a>
Expand Down

0 comments on commit e582d2f

Please sign in to comment.