@@ -33,13 +33,13 @@ <h2>CoCreate-parallax</h2>
33
33
< 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. "
34
34
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 ">
35
35
< 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 >
39
39
</ 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 >
41
41
</ 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 >
43
43
</ div >
44
44
</ div >
45
45
< 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-
48
48
< div id ="parallax-install " class ="border-bottom:1px_solid_lightgrey " scroll scroll-intersect ="color:dodgerblue " scroll-target ="#parallax-install-section ">
49
49
< span class ="display:flex align-items:center width:fit-content " hover ="display:block!important " hover-target ='[href="#parallax-install"] '>
50
50
< 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 >
52
52
</ span >
53
53
</ div >
54
54
< pre > < code class ="language-bash "> npm i @cocreate/parallax</ code > </ pre >
@@ -58,7 +58,7 @@ <h2 class="padding:5px_0px">Install</h2>
58
58
< div id ="parallax-usage " class ="margin-top:80px border-bottom:1px_solid_lightgrey " scroll scroll-intersect ="color:dodgerblue " scroll-target ="#parallax-usage-section ">
59
59
< span class ="display:flex align-items:center width:fit-content " hover ="display:block!important " hover-target ='[href="#parallax-usage"] '>
60
60
< 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 >
62
62
</ span >
63
63
</ div >
64
64
< div class ="">
@@ -73,7 +73,7 @@ <h2 class="padding:5px_0px">Usage</h2>
73
73
< div id ="parallax-attributes " class ="margin-top:80px border-bottom:1px_solid_lightgrey " scroll scroll-intersect ="color:dodgerblue " scroll-target ="#parallax-attributes-section ">
74
74
< span class ="display:flex align-items:center width:fit-content " hover ="display:block!important " hover-target ='[href="#parallax-attributes"] '>
75
75
< 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 >
77
77
</ span >
78
78
</ div >
79
79
< ul class ="list-style-type:none ">
@@ -93,7 +93,7 @@ <h4><span>parallax</span> <span class="cocreate-badge success">string</span> <sp
93
93
< div id ="parallax-demo " class ="border-bottom:1px_solid_lightgrey " scroll scroll-intersect ="color:dodgerblue " scroll-target ="#parallax-demo-section ">
94
94
< span class ="display:flex align-items:center width:fit-content " hover ="display:block!important " hover-target ='[href="#parallax-demo"] '>
95
95
< 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 >
97
97
</ span >
98
98
</ div >
99
99
< div class ="position:sticky top:0 padding:15px_0px height:100vh ">
@@ -110,10 +110,10 @@ <h2 class="padding:5px_0px">Demo</h2>
110
110
</ div >
111
111
112
112
< 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 >
117
117
< a class ="margin-right:5px " fullscreen fullscreen-target ="#playground "> </ a >
118
118
</ div >
119
119
@@ -124,7 +124,7 @@ <h2 class="padding:5px_0px">Demo</h2>
124
124
125
125
</ div >
126
126
< 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 >
128
128
</ button >
129
129
</ main >
130
130
0 commit comments