Skip to content

Commit 3ff7963

Browse files
committed
fix: replace fontawesome with svg
1 parent 2517837 commit 3ff7963

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ <h2>CoCreate-calculations</h2>
3434
<div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="Enter decription here" share-title="testing im a title" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/calculation.png"
3535
hover="display:block!important" hover-target=".social-networks">
3636
<div class="display:none social-networks">
37-
<a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
38-
<a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
39-
<a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
37+
<a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="height:20px fill:#505050" src="/assets/svg/twitter.svg"></i></a>
38+
<a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="height:20px fill:#505050" src="/assets/svg/facebook.svg"></i></a>
39+
<a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="height:20px fill:#505050" src="/assets/svg/instagram.svg"></i></a>
4040
</div>
41-
<a class="margin-right:15px" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
41+
<a class="margin-right:15px" share-network='share' title="Share on share"><i class="height:20px fill:#505050" src="/assets/svg/share-alt.svg"></i></a>
4242
</div>
43-
<a class="margin-right:15px" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
43+
<a class="margin-right:15px" share-network='share' title="Share on share"><i class="height:20px fill:#505050" src="/assets/svg/share-alt.svg"></i></a>
4444
</div>
45-
<a href="https://github.com/CoCreate-app/CoCreate-calculations" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
45+
<a href="https://github.com/CoCreate-app/CoCreate-calculations" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
4646
</div>
4747
</div>
4848
<h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">A handy vanilla JavaScript calculator, concatenate multiple elements containing integers & execute calculations. Can be used for creating invoices,making payments & any kind of complex calculation. Easily configured using HTML5 attributes
@@ -53,7 +53,7 @@ <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-
5353
<div id="calculation-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#calculation-install-section">
5454
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#calculation-install"]'>
5555
<h2 class="padding:5px_0px">Install</h2>
56-
<a class="margin-left:10px display:none" href="#calculation-install"><i class="fas fa-link"></i></a>
56+
<a class="margin-left:10px display:none" href="#calculation-install"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
5757
</span>
5858
</div>
5959

@@ -64,7 +64,7 @@ <h2 class="padding:5px_0px">Install</h2>
6464
<div id="calculation-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#calculation-usage-section">
6565
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#calculation-usage"]'>
6666
<h2 class="padding:5px_0px">Usage</h2>
67-
<a class="margin-left:10px display:none" href="#calculation-usage"><i class="fas fa-link"></i></a>
67+
<a class="margin-left:10px display:none" href="#calculation-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
6868
</span>
6969
</div>
7070
<div class="">
@@ -80,7 +80,7 @@ <h2 class="padding:5px_0px">Usage</h2>
8080
<div id="calculation-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#calculation-attributes-section">
8181
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#calculation-attributes"]'>
8282
<h2 class="padding:5px_0px">Attributes</h2>
83-
<a class="margin-left:10px display:none" href="#calculation-attributes"><i class="fas fa-link"></i></a>
83+
<a class="margin-left:10px display:none" href="#calculation-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
8484
</span>
8585
</div>
8686
<ul class="list-style-type:none ">
@@ -101,7 +101,7 @@ <h4><span>calculates</span> <span class="cocreate-badge success">string</span> <
101101
<div id="calculation-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#calculation-demo-section">
102102
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#calculation-demo"]'>
103103
<h2 class="padding:5px_0px">Demo</h2>
104-
<a class="margin-left:10px display:none" href="#calculation-demo"><i class="fas fa-link"></i></a>
104+
<a class="margin-left:10px display:none" href="#calculation-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
105105
</span>
106106
</div>
107107
<div class="position:sticky top:0 padding:15px_0px height:100vh">
@@ -118,10 +118,10 @@ <h2 class="padding:5px_0px">Demo</h2>
118118
</div>
119119

120120
<div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
121-
<a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
122-
<a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
123-
<a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
124-
<a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
121+
<a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="height:18px fill:#505050" src="/assets/svg/eye.svg"></i></a>
122+
<a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="height:20px fill:#505050" src="/assets/svg/eye-slash.svg"></i></a>
123+
<a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="height:20px fill:#505050" src="/assets/svg/code.svg"></i></a>
124+
<a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="display:flex height:18px fill:#505050" src="/assets/svg/code.svg"></i></a>
125125
<a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
126126
</div>
127127

@@ -132,7 +132,7 @@ <h2 class="padding:5px_0px">Demo</h2>
132132

133133
</div>
134134
<button href="https://github.com/CoCreate-app/CoCreate-calculation/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
135-
<i class="fas fa-pencil-alt"></i>
135+
<i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
136136
</button>
137137
</main>
138138
<script src="/apikey.js"></script>

0 commit comments

Comments
 (0)