Skip to content

Commit 2b595d0

Browse files
committed
fix: replace fontawesome with svg
1 parent 44d15ad commit 2b595d0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ <h2>CoCreate-parallax</h2>
3333
<div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="A stunning css effect in which the background moves at a slower pace than the foreground. Resulting in 3D effect when users scroll up/down the webpage."
3434
share-title="CoCreate-parallax" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/parallax.png" hover="display:block!important" hover-target=".social-networks">
3535
<div class="display:none social-networks">
36-
<a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
37-
<a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
38-
<a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
36+
<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>
37+
<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>
38+
<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>
3939
</div>
40-
<a class="margin-right:15px" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
40+
<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>
4141
</div>
42-
<a href="https://github.com/CoCreate-app/CoCreate-parallax" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
42+
<a href="https://github.com/CoCreate-app/CoCreate-parallax" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
4343
</div>
4444
</div>
4545
<h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">A stunning css effect in which the background moves at a slower pace than the foreground. Resulting in 3D effect when users scroll up/down the webpage.</h1>
@@ -48,7 +48,7 @@ <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-
4848
<div id="parallax-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-install-section">
4949
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-install"]'>
5050
<h2 class="padding:5px_0px">Install</h2>
51-
<a class="margin-left:10px display:none" href="#parallax-install"><i class="fas fa-link"></i></a>
51+
<a class="margin-left:10px display:none" href="#parallax-install"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
5252
</span>
5353
</div>
5454
<pre><code class="language-bash">npm i @cocreate/parallax</code></pre>
@@ -58,7 +58,7 @@ <h2 class="padding:5px_0px">Install</h2>
5858
<div id="parallax-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-usage-section">
5959
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-usage"]'>
6060
<h2 class="padding:5px_0px">Usage</h2>
61-
<a class="margin-left:10px display:none" href="#parallax-usage"><i class="fas fa-link"></i></a>
61+
<a class="margin-left:10px display:none" href="#parallax-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
6262
</span>
6363
</div>
6464
<div class="">
@@ -73,7 +73,7 @@ <h2 class="padding:5px_0px">Usage</h2>
7373
<div id="parallax-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-attributes-section">
7474
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-attributes"]'>
7575
<h2 class="padding:5px_0px">Attributes</h2>
76-
<a class="margin-left:10px display:none" href="#parallax-attributes"><i class="fas fa-link"></i></a>
76+
<a class="margin-left:10px display:none" href="#parallax-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
7777
</span>
7878
</div>
7979
<ul class="list-style-type:none ">
@@ -93,7 +93,7 @@ <h4><span>parallax</span> <span class="cocreate-badge success">string</span> <sp
9393
<div id="parallax-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#parallax-demo-section">
9494
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#parallax-demo"]'>
9595
<h2 class="padding:5px_0px">Demo</h2>
96-
<a class="margin-left:10px display:none" href="#parallax-demo"><i class="fas fa-link"></i></a>
96+
<a class="margin-left:10px display:none" href="#parallax-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
9797
</span>
9898
</div>
9999
<div class="position:sticky top:0 padding:15px_0px height:100vh">
@@ -110,10 +110,10 @@ <h2 class="padding:5px_0px">Demo</h2>
110110
</div>
111111

112112
<div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
113-
<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>
114-
<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>
115-
<a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
116-
<a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
113+
<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>
114+
<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>
115+
<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>
116+
<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>
117117
<a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
118118
</div>
119119

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

125125
</div>
126126
<button href="https://github.com/CoCreate-app/CoCreate-parallax/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)">
127-
<i class="fas fa-pencil-alt"></i>
127+
<i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
128128
</button>
129129
</main>
130130

0 commit comments

Comments
 (0)