Skip to content

Commit

Permalink
Added Github button elements
Browse files Browse the repository at this point in the history
nuxy committed Jul 13, 2024
1 parent 83b9225 commit e5ee025
Showing 2 changed files with 24 additions and 1 deletion.
7 changes: 6 additions & 1 deletion demo/css/demo.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
body {
color: #24292f;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;
font-size: 14px;
}

#webform-toolkit {
font-family: sans-serif;
font-size: 14px;
margin: 7% auto;
width: 680px;
18 changes: 18 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -154,9 +154,27 @@
};
</script>

<script async defer src="https://buttons.github.io/buttons.js"></script>

<style type="text/css">
#github-buttons {
margin: 15px 10px;
}
</style>

<title>Create a HTML form with field validation and custom errors | Webform Toolkit</title>
</head>
<body>


<!-- Github buttons start -->
<nav id="github-buttons">
<a class="github-button" href="https://github.com/nuxy/webform-toolkit" data-color-scheme="no-preference:light;light:light;dark:dark;" data-size="large" aria-label="View project on GitHub">Webform Toolkit</a>
<a class="github-button" href="https://github.com/nuxy/webform-toolkit" data-color-scheme="no-preference:light;light:light;dark:dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star nuxy/webform-toolkit on GitHub">Star</a>
<a class="github-button" href="https://github.com/nuxy/webform-toolkit/fork" data-color-scheme="no-preference:light;light:light;dark:dark;" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork nuxy/webform-toolkit on GitHub">Fork</a>
</nav>
<!-- Github buttons end -->

<div id="webform-toolkit"></div>
<div id="output"></div>
</body>

0 comments on commit e5ee025

Please sign in to comment.