Skip to content

Commit

Permalink
Merge pull request #18 from maitrakhatri/patch
Browse files Browse the repository at this point in the history
removed Slider JS, added missing github icons
  • Loading branch information
maitrakhatri authored Feb 27, 2022
2 parents 0a5a52a + d22e788 commit 56e36ba
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CSS/Components/slider/slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<body>

<input type="range" min="100" max="1000" step="100" id="slider">
<div id="slider-value"></div>
<!-- <div id="slider-value"></div> -->

<script src="slider.js"></script>
<!-- <script src="slider.js"></script> -->
</body>
</html>
2 changes: 1 addition & 1 deletion docs/components/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<a href="../components.html" rel="noopener noreferrer">Docs</a>
</div>
<div class="nav-items">
<a href="https://github.com/maitrakhatri/gozo-UI" target="_blank" rel="noopener noreferrer"><img src="../assets/GitHub-Mark-32px.png" alt="GitHub Link"></a>
<a href="https://github.com/maitrakhatri/gozo-UI" target="_blank" rel="noopener noreferrer"><img src="../../assets/GitHub-Mark-32px.png" alt="GitHub Link"></a>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion docs/components/avatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<a href="../components.html" rel="noopener noreferrer">Docs</a>
</div>
<div class="nav-items">
<a href="https://github.com/maitrakhatri/gozo-UI" target="_blank" rel="noopener noreferrer"><img src="../assets/GitHub-Mark-32px.png" alt="GitHub Link"></a>
<a href="https://github.com/maitrakhatri/gozo-UI" target="_blank" rel="noopener noreferrer"><img src="../../assets/GitHub-Mark-32px.png" alt="GitHub Link"></a>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion docs/components/badge.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<a href="../components.html" rel="noopener noreferrer">Docs</a>
</div>
<div class="nav-items">
<a href="https://github.com/maitrakhatri/gozo-UI" target="_blank" rel="noopener noreferrer"><img src="../assets/GitHub-Mark-32px.png" alt="GitHub Link"></a>
<a href="https://github.com/maitrakhatri/gozo-UI" target="_blank" rel="noopener noreferrer"><img src="../../assets/GitHub-Mark-32px.png" alt="GitHub Link"></a>
</div>
</div>
</nav>
Expand Down
6 changes: 3 additions & 3 deletions docs/components/slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@ <h2 class="section-title">Slider</h2>

<div class="component-container slider-container">
<input type="range" min="100" max="1000" step="100" id="slider">
<div id="slider-value"></div>
<!-- <div id="slider-value"></div> -->
</div>

<div class="code-snippets">
<iframe src="https://carbon.now.sh/embed?bg=rgba%28255%2C255%2C255%2C1%29&t=seti&wt=none&l=htmlmixed&width=680&ds=true&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=56px&ph=56px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false&code=%253Cinput%2520type%253D%2522range%2522%2520min%253D%2522100%2522%2520max%253D%25221000%2522%2520step%253D%2522100%2522%2520id%253D%2522slider%2522%253E%250A%253Cdiv%2520id%253D%2522slider-value%2522%253E" style="width: 700px; height: 206px; border:0; transform: scale(1); overflow:hidden;" sandbox="allow-scripts allow-same-origin"></iframe>
</div>

<h3>JS used in Slider</h3>
<!-- <h3>JS used in Slider</h3>
<p>P.S. you need to attach this code seperately in a JS file or script section</p>
<div class="code-snippets">
<iframe src="https://carbon.now.sh/embed?bg=rgba%28255%2C255%2C255%2C1%29&t=seti&wt=none&l=javascript&width=680&ds=true&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=56px&ph=56px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false&code=const%2520slider%2520%253D%2520document.getElementById%28%2522slider%2522%29%253B%250Aconst%2520output%2520%253D%2520document.getElementById%28%2522slider-value%2522%29%253B%250Aoutput.innerHTML%2520%253D%2520slider.value%253B%2520%252F%252F%2520Display%2520the%2520default%2520slider%2520value%250A%250A%252F%252F%2520Update%2520the%2520current%2520slider%2520value%2520%28each%2520time%2520you%2520drag%2520the%2520slider%2520handle%29%250Aslider.addEventListener%28%2522input%2522%252C%2520%28%29%2520%253D%253E%2520output.innerText%2520%253D%2520slider.value%2520%29%253B" style="width: 1024px; height: 473px; border:0; transform: scale(1); overflow:hidden;"sandbox="allow-scripts allow-same-origin"></iframe>
</div>
</div> -->
</div>
</main>
<script src="../../JS/slider.js"></script>
Expand Down

0 comments on commit 56e36ba

Please sign in to comment.