├── .gitignore ├── LICENSE ├── Project ├── index.html ├── script.js └── style.css ├── README.md ├── assets ├── Resume-Erastus-Hendro-Setiono.pdf ├── css │ └── style.css ├── img │ ├── Project │ │ ├── coming-soon-thumb.jpg │ │ ├── discord-thumb.jpg │ │ ├── my-bookshelfs.jpg │ │ └── website-juice.jpg │ ├── foto │ │ ├── favicon.png │ │ ├── foto.png │ │ ├── hero.jpg │ │ └── logo.png │ └── logo │ │ ├── bootstrap.png │ │ ├── css.png │ │ ├── github.png │ │ ├── html.png │ │ ├── js.png │ │ ├── nodejs.png │ │ ├── photoshop.png │ │ └── tailwind.png └── js │ ├── app.js │ ├── particles.min.js │ ├── script.js │ └── vanilla-tilt.min.js └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | design/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) [2022] [Erastus Hendro Setiono] 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Project/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Project | Portfolio Erastus HS 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 47 | 48 | 49 | 50 |
51 |

Project Made

52 |
53 | 54 |
55 | discord 56 |
57 |
58 |

Discord Bot

59 |
60 |
61 |

Personal discord bot for my server discord

62 |

Build with:

63 |
64 | View 65 | Code 66 |
67 |
68 |
69 |
70 | 71 | 72 |
73 | coming-soon-thumb 74 |
75 |
76 |

Website Juice you

77 |
78 |
79 |

Just simple website for submission on dicoding

80 |

Build with: , ,

81 |
82 | View 83 | Code 84 |
85 |
86 |
87 |
88 | 89 |
90 | my-bookshelfs-project 91 |
92 |
93 |

Website My Bookshelfs

94 |
95 |
96 |

Catalog and organize library or book collection on multiple virtual bookshelves

97 |

Build with: , ,

98 |
99 | View 100 | Code 101 |
102 |
103 |
104 |
105 | 106 |
107 | coming-soon-thumb 108 |
109 |
110 |

Coming Soon

111 |
112 |
113 |

Coming Soon

114 |

Build with: , ,

115 |
116 | View 117 | Code 118 |
119 |
120 |
121 |
122 |
123 | 124 |
125 | 126 | 127 | back to home 128 | 129 |
130 |
131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 144 | 145 | 146 | 147 | 148 | 149 | -------------------------------------------------------------------------------- /Project/script.js: -------------------------------------------------------------------------------- 1 | // Favicon 2 | document.addEventListener("visibilitychange", function () { 3 | if (document.visibilityState === "visible") { 4 | document.title = "Project | Portfolio Erastus HS"; 5 | $("#favicon").attr("href", "../assets/img/foto/logo.png"); 6 | } else { 7 | document.title = "Welcome to My Portfolio"; 8 | $("#favicon").attr("href", "../assets/img/foto/favicon.png"); 9 | } 10 | }); 11 | 12 | // script hamburger untuk mobile responsive 13 | const menuToggle = document.querySelector(".menu-toggle input"); 14 | const nav = document.querySelector("nav ul"); 15 | 16 | menuToggle.addEventListener("click", function () { 17 | nav.classList.toggle("slide"); 18 | }); 19 | -------------------------------------------------------------------------------- /Project/style.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | text-transform: capitalize; 6 | text-decoration: none; 7 | outline: none; 8 | transition: all 0.3s; 9 | } 10 | body { 11 | font-family: "Outfit", sans-serif; 12 | overflow-x: hidden; 13 | } 14 | 15 | section { 16 | min-height: 100vh; 17 | padding: 1.8rem 18%; 18 | } 19 | 20 | section:nth-child(odd) { 21 | background-color: #202020; 22 | } 23 | section:nth-child(even) { 24 | background-color: #2b2b2b; 25 | } 26 | 27 | .heading { 28 | color: white; 29 | font-size: 2rem; 30 | text-align: center; 31 | } 32 | 33 | html::-webkit-scrollbar { 34 | width: 0.6rem; 35 | } 36 | html::-webkit-scrollbar-track { 37 | background: #202020; 38 | } 39 | html::-webkit-scrollbar-thumb { 40 | border-radius: 5px; 41 | background: rgba(17, 119, 255, 0.5); 42 | } 43 | html::-webkit-scrollbar-thumb:hover { 44 | border-radius: 5px; 45 | background: #0077ff; 46 | } 47 | 48 | /*?======================== Navbar start =========================*/ 49 | nav { 50 | background-color: #202020; 51 | display: flex; 52 | width: 100%; 53 | justify-content: space-around; 54 | padding: 10px 0; 55 | box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5); 56 | position: fixed; 57 | z-index: 100; 58 | } 59 | a.logo { 60 | display: flex; 61 | text-decoration: none; 62 | margin-top: 5px; 63 | } 64 | nav .logo img { 65 | border-radius: 50%; 66 | box-shadow: 0px 0px 2px #444; 67 | } 68 | nav .logo h4 { 69 | color: white; 70 | padding-left: 10px; 71 | line-height: 41px; 72 | } 73 | 74 | nav ul { 75 | display: flex; 76 | list-style: none; 77 | width: 25%; 78 | justify-content: space-between; 79 | line-height: 50px; 80 | } 81 | nav ul li a { 82 | text-decoration: none; 83 | color: aliceblue; 84 | transition: 0.2s; 85 | } 86 | nav ul li a.active, 87 | nav ul li a:hover { 88 | color: #0077ff; 89 | border-bottom: 0.2rem solid #0077ff; 90 | padding: 0.5rem 0; 91 | } 92 | 93 | .menu-toggle { 94 | margin-top: 10px; 95 | display: none; 96 | flex-direction: column; 97 | height: 20px; 98 | justify-content: space-between; 99 | position: relative; 100 | } 101 | .menu-toggle input { 102 | width: 28px; 103 | height: 28px; 104 | position: absolute; 105 | opacity: 0; 106 | cursor: pointer; 107 | z-index: 2; 108 | } 109 | 110 | .menu-toggle span { 111 | display: block; 112 | width: 28px; 113 | height: 4px; 114 | background-color: white; 115 | border-radius: 1px; 116 | transition: 0.5s; 117 | } 118 | 119 | /*? hamburger menu animation */ 120 | .menu-toggle span:nth-child(2) { 121 | transform-origin: 0 0; 122 | } 123 | .menu-toggle span:nth-child(4) { 124 | transform-origin: 0 100%; 125 | } 126 | .menu-toggle input:checked ~ span:nth-child(2) { 127 | transform: rotate(45deg) translate(-1px, -1px); 128 | } 129 | .menu-toggle input:checked ~ span:nth-child(4) { 130 | transform: rotate(-45deg) translate(-1px, 0); 131 | } 132 | .menu-toggle input:checked ~ span:nth-child(3) { 133 | opacity: 0; 134 | transform: scale(0); 135 | } 136 | 137 | /*? responsive*/ 138 | 139 | @media screen and (max-width: 968px) { 140 | nav { 141 | bottom: 0; 142 | box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5); 143 | } 144 | ul li { 145 | width: 50%; 146 | text-align: center; 147 | } 148 | nav ul { 149 | position: absolute; 150 | right: 0; 151 | top: 0; 152 | width: 100%; 153 | height: 30vh; 154 | flex-direction: row; 155 | flex-wrap: wrap; 156 | align-items: center; 157 | background-color: #202020; 158 | z-index: -999; 159 | transform: translateY(30%); 160 | opacity: 0; 161 | transition: transform 0.2s linear, opacity 0.3s linear; 162 | border-radius: 20px; 163 | box-shadow: 0 0 5px#202020; 164 | } 165 | 166 | .menu-toggle { 167 | display: flex; 168 | margin-top: 15px; 169 | } 170 | nav ul.slide { 171 | transform: translateY(-90%); 172 | opacity: 1; 173 | } 174 | } 175 | /*?======================== Navbar end =========================*/ 176 | 177 | /*?======================== Project start =========================*/ 178 | /* work section starts */ 179 | section.project { 180 | padding: 4.8rem 13% 2rem 13%; 181 | /* min-height: 70vh; */ 182 | } 183 | 184 | .project .box-container { 185 | display: grid; 186 | grid-template-columns: repeat(2, 1fr); 187 | gap: 2.5rem; 188 | margin: 2rem; 189 | } 190 | .project .box-container .box { 191 | flex: 1 1 17rem; 192 | border-radius: 0.5rem; 193 | box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); 194 | position: relative; 195 | overflow: hidden; 196 | /* width: 15rem; */ 197 | height: 17rem; 198 | } 199 | .project .box-container .box img { 200 | height: 100%; 201 | width: 100%; 202 | object-fit: cover; 203 | } 204 | .project .box-container .box .content { 205 | height: 100%; 206 | width: 100%; 207 | position: absolute; 208 | top: 82%; 209 | left: 0; 210 | background: rgba(32, 32, 32, 0.9); 211 | display: flex; 212 | flex-direction: column; 213 | } 214 | .project .box-container .box .content .tag { 215 | display: flex; 216 | flex-direction: row; 217 | justify-content: space-between; 218 | align-items: center; 219 | height: 3rem; 220 | width: 100%; 221 | padding-left: 1rem; 222 | background: #2b2b2b; 223 | } 224 | .project .box-container .box .content .tag h3 { 225 | color: white; 226 | font-size: 1.2rem; 227 | } 228 | .project .box-container .box:hover .content { 229 | top: 15%; 230 | } 231 | .project .desc { 232 | margin: 1rem 1.5rem; 233 | display: flex; 234 | flex-direction: column; 235 | justify-content: center; 236 | } 237 | .project .desc p { 238 | text-transform: none; 239 | color: white; 240 | font-size: 1rem; 241 | margin-top: 0.5rem; 242 | } 243 | .project .desc .btns { 244 | display: flex; 245 | justify-content: space-between; 246 | width: 100%; 247 | margin-top: 1rem; 248 | padding: 0 1rem; 249 | } 250 | .project .desc .btns .btn.view:hover i { 251 | transform: translateX(-5px); 252 | } 253 | .project .desc .btns .btn.code:hover i { 254 | transform: translateX(5px); 255 | } 256 | .project .desc .btns .btn { 257 | line-height: 0; 258 | display: inline; 259 | padding: 1rem 2rem; 260 | border-radius: 0.5rem; 261 | font-size: 1rem; 262 | color: #fff; 263 | background: rgb(16, 16, 16); 264 | } 265 | .project .desc .btns .btn:hover { 266 | background: #0077ff; 267 | } 268 | .project div.back { 269 | display: flex; 270 | justify-content: center; 271 | } 272 | 273 | .project div.back .btn { 274 | padding: 15px; 275 | /* margin: auto; */ 276 | border: 3px solid white; 277 | border-radius: 10px; 278 | color: white; 279 | } 280 | .project div.back .btn:hover { 281 | background-color: #0077ff; 282 | border: 3px solid #0077ff; 283 | } 284 | .project div.back .btn:hover i { 285 | transform: translateX(-5px); 286 | } 287 | 288 | .project div.back .btn i { 289 | margin-right: 5px; 290 | } 291 | 292 | @media screen and (max-width: 568px) { 293 | section.project { 294 | padding: 1.8rem 2% 6rem 2%; 295 | } 296 | .project .box-container { 297 | grid-template-columns: repeat(1, 1fr); 298 | } 299 | .project .desc .btns .btn { 300 | padding: 1rem 1rem; 301 | } 302 | } 303 | 304 | /*?======================== Project end =========================*/ 305 | 306 | /*? scroll top starts */ 307 | #scroll-top { 308 | position: fixed; 309 | top: -140%; 310 | right: 3rem; 311 | padding: 0.6rem 0.8rem; 312 | font-size: 1rem; 313 | background: #0077ff; 314 | color: white; 315 | border-radius: 10px; 316 | transition: 1s linear; 317 | z-index: 1; 318 | } 319 | #scroll-top.active { 320 | top: calc(100% - 7rem); 321 | } 322 | 323 | @media (max-width: 568px) { 324 | #scroll-top { 325 | top: 140%; 326 | } 327 | } 328 | /*? scroll top ends */ 329 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## My Portfolio Website 2 | 3 | **Visit Now** ✈️ 4 | 5 | ## Build with 6 | 7 | [![HTML](https://img.shields.io/badge/html5%20-%23E34F26.svg?&style=for-the-badge&logo=html5&logoColor=white)](https://en.wikipedia.org/wiki/HTML)  8 | [![CSS](https://img.shields.io/badge/css3%20-%231572B6.svg?&style=for-the-badge&logo=css3&logoColor=white)](https://en.wikipedia.org/wiki/CSS)  9 | [![JS](https://img.shields.io/badge/javascript%20-%23323330.svg?&style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)](https://en.wikipedia.org/wiki/JavaScript) 10 | 11 | ### Library 12 | 13 | - JQuarry 14 | - Particle.JS 15 | - Tilt-Vanilla.JS 16 | - AOS 17 | - Font Awesome. 18 | 19 | © 2022 Erastus HS 20 | 21 | [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) 22 | -------------------------------------------------------------------------------- /assets/Resume-Erastus-Hendro-Setiono.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/Resume-Erastus-Hendro-Setiono.pdf -------------------------------------------------------------------------------- /assets/css/style.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | text-transform: capitalize; 6 | text-decoration: none; 7 | outline: none; 8 | transition: all 0.3s; 9 | } 10 | body { 11 | font-family: "Outfit", sans-serif; 12 | overflow-x: hidden; 13 | } 14 | body.hidden { 15 | overflow: hidden; 16 | } 17 | 18 | section { 19 | padding: 1.8rem 18%; 20 | } 21 | 22 | section:nth-child(odd) { 23 | background-color: #2b2b2b; 24 | } 25 | section:nth-child(even) { 26 | background-color: #202020; 27 | } 28 | 29 | .heading { 30 | color: white; 31 | font-size: 2rem; 32 | text-align: center; 33 | } 34 | 35 | html::-webkit-scrollbar { 36 | width: 0.6rem; 37 | } 38 | html::-webkit-scrollbar-track { 39 | background: #202020; 40 | } 41 | html::-webkit-scrollbar-thumb { 42 | border-radius: 5px; 43 | background: rgba(17, 119, 255, 0.5); 44 | } 45 | html::-webkit-scrollbar-thumb:hover { 46 | border-radius: 5px; 47 | background: #0077ff; 48 | } 49 | 50 | /*?======================== Preloader start ========================= */ 51 | .preloader { 52 | background-color: #202020; 53 | height: 100vh; 54 | width: 100%; 55 | position: fixed; 56 | display: flex; 57 | justify-content: center; 58 | align-items: center; 59 | z-index: 9999; 60 | } 61 | .preloader.hidden { 62 | transition: 1s; 63 | opacity: 0; 64 | transform: scale(2.5); 65 | visibility: hidden; 66 | } 67 | .preloader .loading { 68 | transform: scale(0.5); 69 | } 70 | .preloader .loading svg { 71 | width: 12em; 72 | height: 12em; 73 | animation: spinner 1.5s linear infinite; 74 | } 75 | 76 | @keyframes spinner { 77 | 100% { 78 | transform: rotate(360deg); 79 | } 80 | } 81 | 82 | /*?======================== Preloader end ========================= */ 83 | 84 | /*?======================== Navbar start =========================*/ 85 | nav { 86 | background-color: #202020; 87 | display: flex; 88 | width: 100%; 89 | justify-content: space-around; 90 | padding: 10px 0; 91 | box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5); 92 | position: fixed; 93 | z-index: 100; 94 | } 95 | a.logo { 96 | display: flex; 97 | text-decoration: none; 98 | margin-top: 5px; 99 | } 100 | nav .logo img { 101 | border-radius: 50%; 102 | box-shadow: 0px 0px 2px #444; 103 | } 104 | nav .logo h4 { 105 | color: white; 106 | padding-left: 10px; 107 | line-height: 41px; 108 | } 109 | 110 | nav ul { 111 | display: flex; 112 | list-style: none; 113 | width: 25%; 114 | justify-content: space-between; 115 | line-height: 50px; 116 | } 117 | nav ul li a { 118 | text-decoration: none; 119 | color: aliceblue; 120 | transition: 0.2s; 121 | } 122 | nav ul li a.active, 123 | nav ul li a:hover { 124 | color: #0077ff; 125 | border-bottom: 0.2rem solid #0077ff; 126 | padding: 0.5rem 0; 127 | } 128 | 129 | .menu-toggle { 130 | margin-top: 10px; 131 | display: none; 132 | flex-direction: column; 133 | height: 20px; 134 | justify-content: space-between; 135 | position: relative; 136 | } 137 | .menu-toggle input { 138 | width: 28px; 139 | height: 28px; 140 | position: absolute; 141 | opacity: 0; 142 | cursor: pointer; 143 | z-index: 2; 144 | } 145 | 146 | .menu-toggle span { 147 | display: block; 148 | width: 28px; 149 | height: 4px; 150 | background-color: white; 151 | border-radius: 1px; 152 | transition: 0.5s; 153 | } 154 | 155 | /*? hamburger menu animation */ 156 | .menu-toggle span:nth-child(2) { 157 | transform-origin: 0 0; 158 | } 159 | .menu-toggle span:nth-child(4) { 160 | transform-origin: 0 100%; 161 | } 162 | .menu-toggle input:checked ~ span:nth-child(2) { 163 | transform: rotate(45deg) translate(-1px, -1px); 164 | } 165 | .menu-toggle input:checked ~ span:nth-child(4) { 166 | transform: rotate(-45deg) translate(-1px, 0); 167 | } 168 | .menu-toggle input:checked ~ span:nth-child(3) { 169 | opacity: 0; 170 | transform: scale(0); 171 | } 172 | 173 | /*? responsive*/ 174 | 175 | @media screen and (max-width: 968px) { 176 | nav { 177 | bottom: 0; 178 | box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5); 179 | } 180 | ul li { 181 | width: 50%; 182 | text-align: center; 183 | } 184 | nav ul { 185 | position: absolute; 186 | right: 0; 187 | top: 0; 188 | width: 100%; 189 | height: 30vh; 190 | flex-direction: row; 191 | flex-wrap: wrap; 192 | align-items: center; 193 | background-color: #202020; 194 | z-index: -999; 195 | transform: translateY(30%); 196 | opacity: 0; 197 | transition: transform 0.2s linear, opacity 0.3s linear; 198 | border-radius: 20px; 199 | box-shadow: 0 0 5px#202020; 200 | } 201 | 202 | .menu-toggle { 203 | display: flex; 204 | margin-top: 15px; 205 | } 206 | nav ul.slide { 207 | transform: translateY(-90%); 208 | opacity: 1; 209 | } 210 | } 211 | /*?======================== Navbar end =========================*/ 212 | 213 | /*?======================== Home Start =========================*/ 214 | .home { 215 | min-height: 100vh; 216 | padding: 5rem 16%; 217 | position: relative; 218 | display: flex; 219 | flex-wrap: wrap; 220 | align-items: center; 221 | } 222 | .home #particles-js { 223 | position: absolute; 224 | top: 0; 225 | left: 0; 226 | height: 100%; 227 | width: 100%; 228 | } 229 | .home div.foto { 230 | flex: 1 1 40rem; 231 | z-index: 1; 232 | } 233 | .home div.foto img { 234 | width: 35%; 235 | margin-left: 33rem; 236 | margin-top: 4rem; 237 | border-radius: 50%; 238 | cursor: pointer; 239 | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); 240 | } 241 | .home div.foto img:hover { 242 | box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 243 | } 244 | 245 | .home div.content { 246 | position: relative; 247 | width: 30%; 248 | flex: 1 1 40rem; 249 | padding-top: 1rem; 250 | z-index: 1; 251 | } 252 | .home div.content h2 { 253 | position: absolute; 254 | color: white; 255 | font-weight: 800; 256 | font-size: 3rem; 257 | margin-top: -20rem; 258 | } 259 | .home div.content p { 260 | position: absolute; 261 | color: white; 262 | font-size: 1.5rem; 263 | margin-top: -12rem; 264 | } 265 | .home div.content p span { 266 | color: #0077ff; 267 | } 268 | .home div.content a { 269 | font-weight: 600; 270 | position: absolute; 271 | margin-top: -8rem; 272 | position: absolute; 273 | line-height: 0; 274 | padding: 1.3rem 2.4rem; 275 | border-radius: 5em; 276 | transition: transform 0.3s, background 0.3s, color 0s; 277 | box-shadow: 0px 5px 18px rgba(32, 32, 32, 0.6); 278 | } 279 | .home div.content a span { 280 | font-size: 1rem; 281 | } 282 | .home div.content a.email { 283 | color: black; 284 | background: white; 285 | } 286 | .home div.content a.cv { 287 | color: #fff; 288 | background: #4e4e4e; 289 | margin-left: 9.5rem; 290 | } 291 | .home div.content a:hover { 292 | transform: scale(1.1); 293 | color: white; 294 | background: #0077ff; 295 | } 296 | 297 | /*? responsive*/ 298 | 299 | @media screen and (max-width: 968px) { 300 | .home div.foto img { 301 | width: 50%; 302 | margin-top: 2rem; 303 | margin-left: 20%; 304 | margin-bottom: -10rem; 305 | } 306 | .home div.content { 307 | margin-top: 30rem; 308 | margin-left: 30%; 309 | } 310 | .home div.content h2 { 311 | text-align: center; 312 | font-size: 2rem; 313 | } 314 | .home div.content p { 315 | margin-top: -15rem; 316 | margin-left: -2rem; 317 | font-size: 1rem; 318 | } 319 | .home div.content a { 320 | margin-left: -3rem; 321 | margin-top: -13rem; 322 | padding: 1rem; 323 | } 324 | .home div.content a.cv { 325 | margin-left: 6rem; 326 | } 327 | } 328 | 329 | @media screen and (max-width: 568px) { 330 | .home { 331 | height: 10vh; 332 | } 333 | .home div.foto img { 334 | width: 80%; 335 | margin: 0rem 10% -10rem; 336 | } 337 | .home div.content { 338 | margin-left: 20%; 339 | margin-top: 30rem; 340 | margin-bottom: -10rem; 341 | } 342 | .home div.content h2 { 343 | font-size: 2rem; 344 | } 345 | .home div.content p { 346 | margin-top: -15rem; 347 | font-size: 0.9rem; 348 | } 349 | .home div.content a { 350 | margin-top: -13rem; 351 | padding: 1rem; 352 | } 353 | .home div.content a.cv { 354 | margin-left: 30%; 355 | } 356 | } 357 | 358 | /*?======================== Home end =========================*/ 359 | 360 | /*?======================== About start =========================*/ 361 | section.about { 362 | min-height: auto; 363 | } 364 | .about div.about-me { 365 | display: flex; 366 | flex-wrap: wrap; 367 | position: relative; 368 | padding: 1rem; 369 | } 370 | .about div.about-me div.foto { 371 | flex: 2 1 10rem; 372 | z-index: 1; 373 | text-align: center; 374 | padding: 30px; 375 | } 376 | .about div.about-me div.foto img { 377 | width: 100%; 378 | border-radius: 20px; 379 | margin-top: 0; 380 | filter: grayscale(100); 381 | cursor: pointer; 382 | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); 383 | } 384 | .about div.about-me div.foto img:hover { 385 | filter: none; 386 | box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 387 | } 388 | .about div.about-me div.about-desc { 389 | flex: 1 1 20rem; 390 | z-index: 1; 391 | padding: 30px; 392 | margin-bottom: 40px; 393 | } 394 | 395 | .about div.about-me div.about-desc p { 396 | color: white; 397 | font-size: 1.3rem; 398 | font-weight: 300; 399 | text-transform: none; 400 | text-align: justify; 401 | /* width: 60%; */ 402 | /* right: 0; */ 403 | } 404 | .about div.about-me div.about-desc a { 405 | color: black; 406 | background-color: white; 407 | font-weight: 600; 408 | position: absolute; 409 | margin-top: 1rem; 410 | position: absolute; 411 | line-height: 0; 412 | padding: 1rem 1.8rem; 413 | border-radius: 0.5em; 414 | transition: background-color 0.3s; 415 | box-shadow: 0px 5px 18px rgba(43, 43, 43, 0.6); 416 | } 417 | .about div.about-me div.about-desc a i { 418 | transition: color 0s, transform 0.3s; 419 | } 420 | .about div.about-me div.about-desc a:hover i { 421 | transform: translateX(5px); 422 | } 423 | .about div.about-me div.about-desc a:hover { 424 | color: white; 425 | background: #0077ff; 426 | } 427 | 428 | /*? responsive */ 429 | @media screen and (max-width: 968px) { 430 | .about div.about-me { 431 | display: inline-block; 432 | flex-wrap: wrap; 433 | } 434 | .about div.about-me .foto { 435 | width: 50%; 436 | margin: -25px auto; 437 | } 438 | section.about { 439 | padding: 2rem 0; 440 | } 441 | } 442 | @media screen and (max-width: 568px) { 443 | .about div.about-me .foto { 444 | width: 100%; 445 | margin: -25px auto; 446 | } 447 | } 448 | 449 | /*?======================== About end =========================*/ 450 | 451 | /*?======================== Skills start =========================*/ 452 | section.skills { 453 | min-height: 80vh; 454 | padding: 1.8rem 10%; 455 | } 456 | 457 | .skills .container { 458 | /* background: rgba(0, 0, 22, 0.4); */ 459 | color: #fff; 460 | border-radius: 1rem; 461 | padding: 2rem; 462 | width: 90%; 463 | margin: auto; 464 | /* margin-top: 2rem; */ 465 | } 466 | .skills .container .row { 467 | display: grid; 468 | grid-template-columns: repeat(5, 1fr); 469 | flex-wrap: wrap; 470 | gap: 1.8rem; 471 | } 472 | .skills .container .bar { 473 | margin-bottom: 15px; 474 | padding: 10px; 475 | border-radius: 1rem; 476 | /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */ 477 | background-color: rgb(32, 32, 32); 478 | filter: grayscale(100); 479 | transition: 0.2s; 480 | } 481 | .skills .container .bar:hover { 482 | filter: none; 483 | box-shadow: 0px 0px 7px #0077ff; 484 | background-color: rgba(0, 0, 0, 0.5); 485 | } 486 | .skills .container .bar .info { 487 | display: flex; 488 | flex-direction: column; 489 | align-items: center; 490 | /* gap: 1rem; */ 491 | margin-top: 1rem; 492 | } 493 | .skills .container .bar .info img { 494 | width: 70px; 495 | height: 70px; 496 | } 497 | .skills .container .bar .info span { 498 | font-size: 1rem; 499 | font-weight: 500; 500 | /* margin-left: 0.5rem; */ 501 | } 502 | /* skills media queries starts*/ 503 | @media screen and (max-width: 968px) { 504 | .skills .container .row { 505 | grid-template-columns: repeat(4, 1fr); 506 | } 507 | } 508 | @media screen and (max-width: 568px) { 509 | .skills .container { 510 | padding: 0; 511 | margin: 0; 512 | } 513 | .skills .container .row { 514 | grid-template-columns: repeat(2, 1fr); 515 | margin: 1rem; 516 | padding: 2rem 0.2rem 2rem 0.2rem; 517 | gap: 1rem; 518 | } 519 | .skills .container { 520 | margin-top: 5px; 521 | width: 100%; 522 | } 523 | } 524 | 525 | /*?======================== Skills end =========================*/ 526 | 527 | /*?======================== Project start =========================*/ 528 | /* work section starts */ 529 | section.project { 530 | padding: 1.8rem 13%; 531 | min-height: 70vh; 532 | } 533 | 534 | .project .heading span { 535 | color: rgb(255, 230, 0); 536 | } 537 | .project .box-container { 538 | display: grid; 539 | grid-template-columns: repeat(2, 1fr); 540 | /* flex-wrap: wrap; */ 541 | gap: 1.5rem; 542 | margin: 2rem; 543 | } 544 | .project .box-container .box { 545 | flex: 1 1 17rem; 546 | border-radius: 0.5rem; 547 | box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); 548 | position: relative; 549 | overflow: hidden; 550 | /* width: 15rem; */ 551 | height: 17rem; 552 | } 553 | .project .box-container .box img { 554 | height: 100%; 555 | width: 100%; 556 | object-fit: cover; 557 | } 558 | .project .box-container .box .content { 559 | height: 100%; 560 | width: 100%; 561 | position: absolute; 562 | top: 82%; 563 | left: 0; 564 | background: rgba(32, 32, 32, 0.9); 565 | display: flex; 566 | flex-direction: column; 567 | } 568 | .project .box-container .box .content .tag { 569 | display: flex; 570 | flex-direction: row; 571 | justify-content: space-between; 572 | align-items: center; 573 | height: 3rem; 574 | width: 100%; 575 | padding-left: 1rem; 576 | background: #2b2b2b; 577 | } 578 | .project .box-container .box .content .tag h3 { 579 | color: white; 580 | font-size: 1.2rem; 581 | } 582 | .project .box-container .box:hover .content { 583 | top: 15%; 584 | } 585 | .project .desc { 586 | margin: 1rem 1.5rem; 587 | display: flex; 588 | flex-direction: column; 589 | justify-content: center; 590 | } 591 | .project .desc p { 592 | text-transform: none; 593 | color: white; 594 | font-size: 1rem; 595 | margin-top: 0.5rem; 596 | } 597 | .project .desc .btns { 598 | display: flex; 599 | justify-content: space-between; 600 | width: 100%; 601 | margin-top: 1rem; 602 | padding: 0 1rem; 603 | } 604 | .project .desc .btns .btn { 605 | line-height: 0; 606 | display: inline; 607 | padding: 1rem 2rem; 608 | border-radius: 0.5rem; 609 | font-size: 1rem; 610 | color: #fff; 611 | background: rgb(16, 16, 16); 612 | } 613 | .project .desc .btns .btn.view:hover i { 614 | transform: translateX(-5px); 615 | } 616 | .project .desc .btns .btn.code:hover i { 617 | transform: translateX(5px); 618 | } 619 | .project .desc .btns .btn:hover { 620 | background: #0077ff; 621 | } 622 | .project .viewall { 623 | background-color: #4e4e4e; 624 | display: flex; 625 | height: 5rem; 626 | justify-content: space-evenly; 627 | border-radius: 0.5rem; 628 | } 629 | .project .viewall h2 { 630 | text-transform: none; 631 | color: white; 632 | line-height: 5rem; 633 | } 634 | .project .viewall div { 635 | margin-top: 2rem; 636 | } 637 | .project .viewall .btn { 638 | height: 3rem; 639 | margin-left: 1rem; 640 | position: relative; 641 | padding: 1rem 1rem; 642 | border-radius: 0.5em; 643 | transition: background-color 0.3s, color 0s; 644 | color: rgb(255, 255, 255); 645 | font-weight: 700; 646 | background-color: #2b2b2b; 647 | } 648 | .project .viewall .btn.email { 649 | background-color: white; 650 | color: black; 651 | } 652 | .project .viewall .btn.email i { 653 | transition: transform 0.3s, color 0s; 654 | } 655 | 656 | .project .viewall .btn.email:hover i { 657 | transform: translateX(-5px); 658 | } 659 | .project .viewall .btn span { 660 | font-weight: 600; 661 | font-size: 1rem; 662 | } 663 | .project .viewall .btn i { 664 | margin: 0 0.3rem; 665 | font-size: 1rem; 666 | /* transition: 0.3s; */ 667 | } 668 | .project .viewall .btn:hover { 669 | background: #0077ff; 670 | color: white; 671 | } 672 | .project .viewall .btn:hover i { 673 | transform: translateX(5px); 674 | } 675 | @media screen and (max-width: 968px) { 676 | .project .viewall { 677 | position: relative; 678 | display: block; 679 | min-height: 150px; 680 | } 681 | .project .viewall h2 { 682 | font-size: 1.2rem; 683 | text-align: center; 684 | } 685 | .project .viewall .btn.more { 686 | position: absolute; 687 | left: 0rem; 688 | margin-left: 15%; 689 | bottom: 1.5rem; 690 | } 691 | .project .viewall .btn.email { 692 | position: absolute; 693 | right: 0rem; 694 | margin-right: 15%; 695 | bottom: 1.5rem; 696 | } 697 | } 698 | @media screen and (max-width: 568px) { 699 | section.project { 700 | padding: 1.8rem 2%; 701 | } 702 | .project .box-container { 703 | grid-template-columns: repeat(1, 1fr); 704 | } 705 | .project .desc .btns .btn { 706 | padding: 1rem 1rem; 707 | } 708 | .project .viewall .btn.more { 709 | position: absolute; 710 | left: 0rem; 711 | margin-left: 5%; 712 | bottom: 1.5rem; 713 | } 714 | .project .viewall .btn.email { 715 | position: absolute; 716 | right: 0rem; 717 | margin-right: 5%; 718 | bottom: 1.5rem; 719 | } 720 | } 721 | 722 | /*?======================== Project end =========================*/ 723 | 724 | /*?======================== Footer start =========================*/ 725 | .footer { 726 | min-height: auto; 727 | padding: 0rem 16%; 728 | background-color: #2b2b2b; 729 | } 730 | .footer .box-container { 731 | display: flex; 732 | justify-content: center; 733 | flex-wrap: wrap; 734 | } 735 | .footer .box-container .box { 736 | flex: 1 1 10rem; 737 | margin: 2rem; 738 | } 739 | .footer .box-container .box.right { 740 | position: relative; 741 | left: 9rem; 742 | } 743 | .footer .box-container .box h3 { 744 | font-size: 1.5rem; 745 | color: #fff; 746 | padding-bottom: 1rem; 747 | font-weight: normal; 748 | } 749 | .footer .box-container .box p { 750 | font-size: 1rem; 751 | color: #ccc; 752 | padding: 0.7rem 0; 753 | text-transform: none; 754 | } 755 | .footer .box-container .box p i { 756 | padding-right: 1rem; 757 | color: #0077ff; 758 | } 759 | /* .footer .box-container .box a { 760 | font-size: 0.5rem; 761 | color: rgb(238, 238, 238); 762 | padding: 0.3rem 0; 763 | display: block; 764 | } 765 | .footer .box-container .box a:hover { 766 | color: #0077ff; 767 | } */ 768 | .footer .box-container .box .share { 769 | display: flex; 770 | flex-wrap: wrap; 771 | padding: 0rem 0; 772 | } 773 | .footer .box-container .box .share a { 774 | height: 2.2rem; 775 | width: 2.2rem; 776 | padding: 0.5rem; 777 | text-align: center; 778 | border-radius: 50%; 779 | font-size: 1rem; 780 | margin-right: 1rem; 781 | transition: 0.3s; 782 | background: rgb(230, 230, 230); 783 | color: #02094b; 784 | border: none; 785 | } 786 | .footer .box-container .box .share a:hover { 787 | background: transparent; 788 | transform: scale(0.9); 789 | border: 0.1rem solid rgb(180, 178, 178); 790 | color: #0077ff; 791 | } 792 | .footer .credit { 793 | padding: 1rem 0 1rem 0; 794 | text-align: center; 795 | font-size: 1rem; 796 | font-weight: 400; 797 | color: #fff; 798 | border-top: 0.1rem solid #fff3; 799 | } 800 | .footer .credit i { 801 | font-size: 0.9rem; 802 | } 803 | .footer .credit a { 804 | color: #0077ff; 805 | } 806 | .footer .fa { 807 | color: #e90606; 808 | margin: 0 0.3rem; 809 | font-size: 1.5rem; 810 | animation: pound 0.35s infinite alternate; 811 | } 812 | @-webkit-keyframes pound { 813 | to { 814 | transform: scale(1.1); 815 | } 816 | } 817 | @keyframes pound { 818 | to { 819 | transform: scale(1.1); 820 | } 821 | } 822 | @media screen and (max-width: 968px) { 823 | section.footer { 824 | min-height: 72vh; 825 | } 826 | .footer .box-container .box.right { 827 | left: 0; 828 | } 829 | } 830 | @media (max-width: 568px) { 831 | section.footer { 832 | padding: 1.8rem 0%; 833 | min-height: 72vh; 834 | } 835 | .footer .box-container .box h3 { 836 | margin-left: 10px; 837 | } 838 | .footer .box-container .box { 839 | margin: 1rem; 840 | } 841 | .footer .box-container .box p { 842 | padding: 0.7rem; 843 | } 844 | } 845 | /*?======================== Footer end =========================*/ 846 | 847 | /*? scroll top starts */ 848 | #scroll-top { 849 | position: fixed; 850 | top: -140%; 851 | right: 3rem; 852 | padding: 0.6rem 0.8rem; 853 | font-size: 1rem; 854 | background: #0077ff; 855 | color: white; 856 | border-radius: 10px; 857 | transition: 1s linear; 858 | z-index: 1; 859 | } 860 | #scroll-top.active { 861 | top: calc(100% - 7rem); 862 | } 863 | 864 | @media (max-width: 568px) { 865 | #scroll-top { 866 | top: 140%; 867 | } 868 | } 869 | /*? scroll top ends */ 870 | -------------------------------------------------------------------------------- /assets/img/Project/coming-soon-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/Project/coming-soon-thumb.jpg -------------------------------------------------------------------------------- /assets/img/Project/discord-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/Project/discord-thumb.jpg -------------------------------------------------------------------------------- /assets/img/Project/my-bookshelfs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/Project/my-bookshelfs.jpg -------------------------------------------------------------------------------- /assets/img/Project/website-juice.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/Project/website-juice.jpg -------------------------------------------------------------------------------- /assets/img/foto/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/foto/favicon.png -------------------------------------------------------------------------------- /assets/img/foto/foto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/foto/foto.png -------------------------------------------------------------------------------- /assets/img/foto/hero.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/foto/hero.jpg -------------------------------------------------------------------------------- /assets/img/foto/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/foto/logo.png -------------------------------------------------------------------------------- /assets/img/logo/bootstrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/bootstrap.png -------------------------------------------------------------------------------- /assets/img/logo/css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/css.png -------------------------------------------------------------------------------- /assets/img/logo/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/github.png -------------------------------------------------------------------------------- /assets/img/logo/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/html.png -------------------------------------------------------------------------------- /assets/img/logo/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/js.png -------------------------------------------------------------------------------- /assets/img/logo/nodejs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/nodejs.png -------------------------------------------------------------------------------- /assets/img/logo/photoshop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/photoshop.png -------------------------------------------------------------------------------- /assets/img/logo/tailwind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erastushs/my-portfolio-website/3bce7104c2f233f6eed9f4f13ba65ae9f367b618/assets/img/logo/tailwind.png -------------------------------------------------------------------------------- /assets/js/app.js: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------- 2 | /* How to use? : Check the GitHub README 3 | /* ----------------------------------------------- */ 4 | 5 | /* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */ 6 | /* 7 | particlesJS.load('particles-js', 'particles.json', function() { 8 | console.log('particles.js loaded - callback'); 9 | }); 10 | */ 11 | 12 | /* Otherwise just put the config content (json): */ 13 | 14 | particlesJS( 15 | "particles-js", 16 | 17 | { 18 | particles: { 19 | number: { 20 | value: 100, 21 | density: { 22 | enable: true, 23 | value_area: 800, 24 | }, 25 | }, 26 | color: { 27 | value: "#fff", 28 | }, 29 | shape: { 30 | type: "none", 31 | stroke: { 32 | width: 0, 33 | color: "#fff", 34 | }, 35 | polygon: { 36 | nb_sides: 5, 37 | }, 38 | image: { 39 | src: "img/github.svg", 40 | width: 100, 41 | height: 100, 42 | }, 43 | }, 44 | opacity: { 45 | value: 0.5, 46 | random: false, 47 | anim: { 48 | enable: false, 49 | speed: 1, 50 | opacity_min: 0.1, 51 | sync: false, 52 | }, 53 | }, 54 | size: { 55 | value: 5, 56 | random: true, 57 | anim: { 58 | enable: false, 59 | speed: 40, 60 | size_min: 0.1, 61 | sync: false, 62 | }, 63 | }, 64 | line_linked: { 65 | enable: true, 66 | distance: 150, 67 | color: "#fff", 68 | opacity: 0.4, 69 | width: 1, 70 | }, 71 | move: { 72 | enable: true, 73 | speed: 6, 74 | direction: "none", 75 | random: false, 76 | straight: false, 77 | out_mode: "out", 78 | attract: { 79 | enable: false, 80 | rotateX: 600, 81 | rotateY: 1200, 82 | }, 83 | }, 84 | }, 85 | interactivity: { 86 | detect_on: "canvas", 87 | events: { 88 | onhover: { 89 | enable: true, 90 | mode: "repulse", 91 | }, 92 | onclick: { 93 | enable: true, 94 | mode: "push", 95 | }, 96 | resize: true, 97 | }, 98 | modes: { 99 | grab: { 100 | distance: 400, 101 | line_linked: { 102 | opacity: 1, 103 | }, 104 | }, 105 | bubble: { 106 | distance: 400, 107 | size: 40, 108 | duration: 2, 109 | opacity: 8, 110 | speed: 3, 111 | }, 112 | repulse: { 113 | distance: 200, 114 | }, 115 | push: { 116 | particles_nb: 4, 117 | }, 118 | remove: { 119 | particles_nb: 2, 120 | }, 121 | }, 122 | }, 123 | retina_detect: true, 124 | config_demo: { 125 | hide_card: false, 126 | background_color: "#fff", 127 | background_image: "", 128 | background_position: "50% 50%", 129 | background_repeat: "no-repeat", 130 | background_size: "cover", 131 | }, 132 | } 133 | ); 134 | -------------------------------------------------------------------------------- /assets/js/particles.min.js: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------- 2 | /* Author : Vincent Garreau - vincentgarreau.com 3 | /* MIT license: http://opensource.org/licenses/MIT 4 | /* Demo / Generator : vincentgarreau.com/particles.js 5 | /* GitHub : github.com/VincentGarreau/particles.js 6 | /* How to use? : Check the GitHub README 7 | /* v2.0.0 8 | /* ----------------------------------------------- */ 9 | function hexToRgb(e){var a=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(a,function(e,a,t,i){return a+a+t+t+i+i});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}function clamp(e,a,t){return Math.min(Math.max(e,a),t)}function isInArray(e,a){return a.indexOf(e)>-1}var pJS=function(e,a){var t=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:t,w:t.offsetWidth,h:t.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;a&&Object.deepExtend(i,a),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()})},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,a,t){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=t?t.x:Math.random()*i.canvas.w,this.y=t?t.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,t),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var s=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=hexToRgb(s)}else void 0!=e.value.r&&void 0!=e.value.g&&void 0!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),void 0!=e.value.h&&void 0!=e.value.s&&void 0!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var n={};switch(i.particles.move.direction){case"top":n={x:0,y:-1};break;case"top-right":n={x:.5,y:-.5};break;case"right":n={x:1,y:-0};break;case"bottom-right":n={x:.5,y:.5};break;case"bottom":n={x:0,y:1};break;case"bottom-left":n={x:-.5,y:1};break;case"left":n={x:-1,y:0};break;case"top-left":n={x:-.5,y:-.5};break;default:n={x:0,y:0}}i.particles.move.straight?(this.vx=n.x,this.vy=n.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=n.x+Math.random()-.5,this.vy=n.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var r=i.particles.shape.type;if("object"==typeof r){if(r instanceof Array){var c=r[Math.floor(Math.random()*r.length)];this.shape=c}}else this.shape=r;if("image"==this.shape){var o=i.particles.shape;this.img={src:o.image.src,ratio:o.image.width/o.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&void 0!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){function e(){i.canvas.ctx.drawImage(r,a.x-t,a.y-t,2*t,2*t/a.img.ratio)}var a=this;if(void 0!=a.radius_bubble)var t=a.radius_bubble;else var t=a.radius;if(void 0!=a.opacity_bubble)var s=a.opacity_bubble;else var s=a.opacity;if(a.color.rgb)var n="rgba("+a.color.rgb.r+","+a.color.rgb.g+","+a.color.rgb.b+","+s+")";else var n="hsla("+a.color.hsl.h+","+a.color.hsl.s+"%,"+a.color.hsl.l+"%,"+s+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),a.shape){case"circle":i.canvas.ctx.arc(a.x,a.y,t,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(a.x-t,a.y-t,2*t,2*t);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t,a.y+t/1.66,2*t,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t/(i.particles.shape.polygon.nb_sides/3.5),a.y-t/.76,2.66*t/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,a.x-2*t/(i.particles.shape.polygon.nb_sides/4),a.y-t/1.52,2*t*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==i.tmp.img_type)var r=a.img.obj;else var r=i.tmp.img_obj;r&&e()}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e=i.particles.opacity.value&&(a.opacity_status=!1),a.opacity+=a.vo):(a.opacity<=i.particles.opacity.anim.opacity_min&&(a.opacity_status=!0),a.opacity-=a.vo),a.opacity<0&&(a.opacity=0)),i.particles.size.anim.enable&&(1==a.size_status?(a.radius>=i.particles.size.value&&(a.size_status=!1),a.radius+=a.vs):(a.radius<=i.particles.size.anim.size_min&&(a.size_status=!0),a.radius-=a.vs),a.radius<0&&(a.radius=0)),"bounce"==i.particles.move.out_mode)var s={x_left:a.radius,x_right:i.canvas.w,y_top:a.radius,y_bottom:i.canvas.h};else var s={x_left:-a.radius,x_right:i.canvas.w+a.radius,y_top:-a.radius,y_bottom:i.canvas.h+a.radius};switch(a.x-a.radius>i.canvas.w?(a.x=s.x_left,a.y=Math.random()*i.canvas.h):a.x+a.radius<0&&(a.x=s.x_right,a.y=Math.random()*i.canvas.h),a.y-a.radius>i.canvas.h?(a.y=s.y_top,a.x=Math.random()*i.canvas.w):a.y+a.radius<0&&(a.y=s.y_bottom,a.x=Math.random()*i.canvas.w),i.particles.move.out_mode){case"bounce":a.x+a.radius>i.canvas.w?a.vx=-a.vx:a.x-a.radius<0&&(a.vx=-a.vx),a.y+a.radius>i.canvas.h?a.vy=-a.vy:a.y-a.radius<0&&(a.vy=-a.vy)}if(isInArray("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(a),(isInArray("bubble",i.interactivity.events.onhover.mode)||isInArray("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(a),(isInArray("repulse",i.interactivity.events.onhover.mode)||isInArray("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(a),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var n=e+1;n0){var c=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+c.r+","+c.g+","+c.b+","+r+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(a.x,a.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,a){var t=e.x-a.x,s=e.y-a.y,n=Math.sqrt(t*t+s*s);if(n<=i.particles.line_linked.distance){var r=t/(1e3*i.particles.move.attract.rotateX),c=s/(1e3*i.particles.move.attract.rotateY);e.vx-=r,e.vy-=c,a.vx+=r,a.vy+=c}},i.fn.interact.bounceParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y,s=Math.sqrt(t*t+i*i),n=e.radius+a.radius;n>=s&&(e.vx=-e.vx,e.vy=-e.vy,a.vx=-a.vx,a.vy=-a.vy)},i.fn.modes.pushParticles=function(e,a){i.tmp.pushing=!0;for(var t=0;e>t;t++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:a?a.pos_x:Math.random()*i.canvas.w,y:a?a.pos_y:Math.random()*i.canvas.h})),t==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){function a(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}function t(a,t,s,n,c){if(a!=t)if(i.tmp.bubble_duration_end){if(void 0!=s){var o=n-p*(n-a)/i.interactivity.modes.bubble.duration,l=a-o;d=a+l,"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else if(r<=i.interactivity.modes.bubble.distance){if(void 0!=s)var v=s;else var v=n;if(v!=a){var d=n-p*(n-a)/i.interactivity.modes.bubble.duration;"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else"size"==c&&(e.radius_bubble=void 0),"opacity"==c&&(e.opacity_bubble=void 0)}if(i.interactivity.events.onhover.enable&&isInArray("bubble",i.interactivity.events.onhover.mode)){var s=e.x-i.interactivity.mouse.pos_x,n=e.y-i.interactivity.mouse.pos_y,r=Math.sqrt(s*s+n*n),c=1-r/i.interactivity.modes.bubble.distance;if(r<=i.interactivity.modes.bubble.distance){if(c>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){var o=e.radius+i.interactivity.modes.bubble.size*c;o>=0&&(e.radius_bubble=o)}else{var l=e.radius-i.interactivity.modes.bubble.size,o=e.radius-l*c;o>0?e.radius_bubble=o:e.radius_bubble=0}if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value){var v=i.interactivity.modes.bubble.opacity*c;v>e.opacity&&v<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}else{var v=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*c;v=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}}}else a();"mouseleave"==i.interactivity.status&&a()}else if(i.interactivity.events.onclick.enable&&isInArray("bubble",i.interactivity.events.onclick.mode)){if(i.tmp.bubble_clicking){var s=e.x-i.interactivity.mouse.click_pos_x,n=e.y-i.interactivity.mouse.click_pos_y,r=Math.sqrt(s*s+n*n),p=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;p>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),p>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}i.tmp.bubble_clicking&&(t(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),t(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){function a(){var a=Math.atan2(d,p);if(e.vx=u*Math.cos(a),e.vy=u*Math.sin(a),"bounce"==i.particles.move.out_mode){var t={x:e.x+e.vx,y:e.y+e.vy};t.x+e.radius>i.canvas.w?e.vx=-e.vx:t.x-e.radius<0&&(e.vx=-e.vx),t.y+e.radius>i.canvas.h?e.vy=-e.vy:t.y-e.radius<0&&(e.vy=-e.vy)}}if(i.interactivity.events.onhover.enable&&isInArray("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,s=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+s*s),r={x:t/n,y:s/n},c=i.interactivity.modes.repulse.distance,o=100,l=clamp(1/c*(-1*Math.pow(n/c,2)+1)*c*o,0,50),v={x:e.x+r.x*l,y:e.y+r.y*l};"bounce"==i.particles.move.out_mode?(v.x-e.radius>0&&v.x+e.radius0&&v.y+e.radius=m&&a()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,s=Math.sqrt(a*a+t*t);if(s<=i.interactivity.modes.grab.distance){var n=i.interactivity.modes.grab.line_linked.opacity-s/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(n>0){var r=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+r.r+","+r.g+","+r.b+","+n+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",function(e){if(i.interactivity.el==window)var a=e.clientX,t=e.clientY;else var a=e.offsetX||e.clientX,t=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=a,i.interactivity.mouse.pos_y=t,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"}),i.interactivity.el.addEventListener("mouseleave",function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"})),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout(function(){i.tmp.repulse_clicking=!1},1e3*i.interactivity.modes.repulse.duration)}})},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var a=e*i.particles.number.value/i.particles.number.density.value_area,t=i.particles.array.length-a;0>t?i.fn.modes.pushParticles(Math.abs(t)):i.fn.modes.removeParticles(t)}},i.fn.vendors.checkOverlap=function(e,a){for(var t=0;tv;v++)e.lineTo(i,0),e.translate(i,0),e.rotate(l);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var a=new XMLHttpRequest;a.open("GET",i.particles.shape.image.src),a.onreadystatechange=function(e){4==a.readyState&&(200==a.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),i.tmp.img_error=!0))},a.send()}else{var t=new Image;t.addEventListener("load",function(){i.tmp.img_obj=t,i.fn.vendors.checkBeforeDraw()}),t.src=i.particles.shape.image.src}else console.log("Error pJS - No image.src"),i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):void 0!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&void 0==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=hexToRgb(i.particles.line_linked.color)},i.fn.vendors.start=function(){isInArray("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};Object.deepExtend=function(e,a){for(var t in a)a[t]&&a[t].constructor&&a[t].constructor===Object?(e[t]=e[t]||{},arguments.callee(e[t],a[t])):e[t]=a[t];return e},window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),window.cancelRequestAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout}(),window.pJSDom=[],window.particlesJS=function(e,a){"string"!=typeof e&&(a=e,e="particles-js"),e||(e="particles-js");var t=document.getElementById(e),i="particles-js-canvas-el",s=t.getElementsByClassName(i);if(s.length)for(;s.length>0;)t.removeChild(s[0]);var n=document.createElement("canvas");n.className=i,n.style.width="100%",n.style.height="100%";var r=document.getElementById(e).appendChild(n);null!=r&&pJSDom.push(new pJS(e,a))},window.particlesJS.load=function(e,a,t){var i=new XMLHttpRequest;i.open("GET",a),i.onreadystatechange=function(a){if(4==i.readyState)if(200==i.status){var s=JSON.parse(a.currentTarget.response);window.particlesJS(e,s),t&&t()}else console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")},i.send()}; -------------------------------------------------------------------------------- /assets/js/script.js: -------------------------------------------------------------------------------- 1 | // Favicon 2 | document.addEventListener("visibilitychange", function () { 3 | if (document.visibilityState === "visible") { 4 | document.title = "Portfolio | Erastus HS"; 5 | $("#favicon").attr("href", "assets/img/foto/logo.png"); 6 | } else { 7 | document.title = "Welcome to My Portfolio"; 8 | $("#favicon").attr("href", "assets/img/foto/favicon.png"); 9 | } 10 | }); 11 | 12 | // script hamburger untuk mobile responsive 13 | const menuToggle = document.querySelector(".menu-toggle input"); 14 | const nav = document.querySelector("nav ul"); 15 | 16 | menuToggle.addEventListener("click", function () { 17 | nav.classList.toggle("slide"); 18 | }); 19 | 20 | //script toggle navbar aktif 21 | $(document).on("click", "ul li", function () { 22 | $(this).addClass("active").siblings().removeClass("active"); 23 | }); 24 | 25 | // scroll spy 26 | let section = document.querySelectorAll("section"); 27 | let navLinks = document.querySelectorAll("ul li a"); 28 | 29 | window.onscroll = () => { 30 | section.forEach((sec) => { 31 | let top = window.scrollY; 32 | let offset = sec.offsetTop - 250; 33 | let height = sec.offsetHeight; 34 | let id = sec.getAttribute("id"); 35 | 36 | if (top >= offset && top < offset + height) { 37 | navLinks.forEach((links) => { 38 | links.classList.remove("active"); 39 | document.querySelector("ul li a[href*=" + id + "]").classList.add("active"); 40 | }); 41 | } 42 | }); 43 | }; 44 | 45 | // smooth scrolling 46 | $('a[href*="#"]').on("click", function (e) { 47 | e.preventDefault(); 48 | $("html, body").animate( 49 | { 50 | scrollTop: $($(this).attr("href")).offset().top - 70, 51 | }, 52 | 500, 53 | "linear" 54 | ); 55 | }); 56 | 57 | // typed js vanilla 58 | let dataTyping = { 59 | target: "typing-text", 60 | text: '["frontend development", "web development"]', 61 | delay: "1000", 62 | }; 63 | 64 | class textType { 65 | constructor(el, text, delay) { 66 | this.text = text; 67 | this.el = el; 68 | this.loopNum = 0; 69 | this.period = parseInt(delay, 10) || 2000; 70 | this.txt = ""; 71 | this.tick(); 72 | this.isDeleting = false; 73 | } 74 | tick() { 75 | let i = this.loopNum % this.text.length; 76 | let fullTxt = this.text[i]; 77 | 78 | if (this.isDeleting) { 79 | this.txt = fullTxt.substring(0, this.txt.length - 1); 80 | } else { 81 | this.txt = fullTxt.substring(0, this.txt.length + 1); 82 | } 83 | 84 | this.el.innerText = this.txt; 85 | 86 | let that = this; 87 | let timing = Math.floor(200 - Math.random() * 100); 88 | 89 | if (this.isDeleting) { 90 | timing /= 2; 91 | } 92 | 93 | if (!this.isDeleting && this.txt === fullTxt) { 94 | timing = this.period; 95 | this.isDeleting = true; 96 | } else if (this.isDeleting && this.txt === "") { 97 | this.isDeleting = false; 98 | this.loopNum++; 99 | timing = 500; 100 | } 101 | 102 | setTimeout(function () { 103 | that.tick(); 104 | }, timing); 105 | } 106 | } 107 | 108 | window.onload = function () { 109 | let el = document.getElementsByClassName(dataTyping.target); 110 | for (let i = 0; i < el.length; i++) { 111 | if (dataTyping.text) { 112 | new textType(el[i], JSON.parse(dataTyping.text), dataTyping.delay); 113 | } 114 | } 115 | }; 116 | 117 | // scroll up pop up 118 | let offset = 0; 119 | window.addEventListener("scroll", function () { 120 | let st = window.pageYOffset; 121 | if (st > offset) { 122 | document.querySelector(".fa-arrow-up").classList.add("active"); 123 | } else { 124 | document.querySelector(".fa-arrow-up").classList.remove("active"); 125 | } 126 | }); 127 | 128 | // script preloader 129 | const preload = document.querySelector("#preloader"); 130 | const preloadDelay = 300; 131 | const body = document.querySelector("body"); 132 | 133 | window.addEventListener("load", function () { 134 | setTimeout(() => { 135 | preload.classList.add("hidden"); 136 | body.classList.remove("hidden"); 137 | }, preloadDelay); 138 | }); 139 | -------------------------------------------------------------------------------- /assets/js/vanilla-tilt.min.js: -------------------------------------------------------------------------------- 1 | var VanillaTilt=function(){"use strict";class t{constructor(e,i={}){if(!(e instanceof Node))throw"Can't initialize VanillaTilt because "+e+" is not a Node.";this.width=null,this.height=null,this.clientWidth=null,this.clientHeight=null,this.left=null,this.top=null,this.gammazero=null,this.betazero=null,this.lastgammazero=null,this.lastbetazero=null,this.transitionTimeout=null,this.updateCall=null,this.event=null,this.updateBind=this.update.bind(this),this.resetBind=this.reset.bind(this),this.element=e,this.settings=this.extendSettings(i),this.reverse=this.settings.reverse?-1:1,this.glare=t.isSettingTrue(this.settings.glare),this.glarePrerender=t.isSettingTrue(this.settings["glare-prerender"]),this.fullPageListening=t.isSettingTrue(this.settings["full-page-listening"]),this.gyroscope=t.isSettingTrue(this.settings.gyroscope),this.gyroscopeSamples=this.settings.gyroscopeSamples,this.elementListener=this.getElementListener(),this.glare&&this.prepareGlare(),this.fullPageListening&&this.updateClientSize(),this.addEventListeners(),this.reset(),this.updateInitialPosition()}static isSettingTrue(t){return""===t||!0===t||1===t}getElementListener(){if(this.fullPageListening)return window.document;if("string"==typeof this.settings["mouse-event-element"]){const t=document.querySelector(this.settings["mouse-event-element"]);if(t)return t}return this.settings["mouse-event-element"]instanceof Node?this.settings["mouse-event-element"]:this.element}addEventListeners(){this.onMouseEnterBind=this.onMouseEnter.bind(this),this.onMouseMoveBind=this.onMouseMove.bind(this),this.onMouseLeaveBind=this.onMouseLeave.bind(this),this.onWindowResizeBind=this.onWindowResize.bind(this),this.onDeviceOrientationBind=this.onDeviceOrientation.bind(this),this.elementListener.addEventListener("mouseenter",this.onMouseEnterBind),this.elementListener.addEventListener("mouseleave",this.onMouseLeaveBind),this.elementListener.addEventListener("mousemove",this.onMouseMoveBind),(this.glare||this.fullPageListening)&&window.addEventListener("resize",this.onWindowResizeBind),this.gyroscope&&window.addEventListener("deviceorientation",this.onDeviceOrientationBind)}removeEventListeners(){this.elementListener.removeEventListener("mouseenter",this.onMouseEnterBind),this.elementListener.removeEventListener("mouseleave",this.onMouseLeaveBind),this.elementListener.removeEventListener("mousemove",this.onMouseMoveBind),this.gyroscope&&window.removeEventListener("deviceorientation",this.onDeviceOrientationBind),(this.glare||this.fullPageListening)&&window.removeEventListener("resize",this.onWindowResizeBind)}destroy(){clearTimeout(this.transitionTimeout),null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.reset(),this.removeEventListeners(),this.element.vanillaTilt=null,delete this.element.vanillaTilt,this.element=null}onDeviceOrientation(t){if(null===t.gamma||null===t.beta)return;this.updateElementPosition(),this.gyroscopeSamples>0&&(this.lastgammazero=this.gammazero,this.lastbetazero=this.betazero,null===this.gammazero?(this.gammazero=t.gamma,this.betazero=t.beta):(this.gammazero=(t.gamma+this.lastgammazero)/2,this.betazero=(t.beta+this.lastbetazero)/2),this.gyroscopeSamples-=1);const e=this.settings.gyroscopeMaxAngleX-this.settings.gyroscopeMinAngleX,i=this.settings.gyroscopeMaxAngleY-this.settings.gyroscopeMinAngleY,s=e/this.width,n=i/this.height,l=(t.gamma-(this.settings.gyroscopeMinAngleX+this.gammazero))/s,a=(t.beta-(this.settings.gyroscopeMinAngleY+this.betazero))/n;null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event={clientX:l+this.left,clientY:a+this.top},this.updateCall=requestAnimationFrame(this.updateBind)}onMouseEnter(){this.updateElementPosition(),this.element.style.willChange="transform",this.setTransition()}onMouseMove(t){null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event=t,this.updateCall=requestAnimationFrame(this.updateBind)}onMouseLeave(){this.setTransition(),this.settings.reset&&requestAnimationFrame(this.resetBind)}reset(){this.event={clientX:this.left+this.width/2,clientY:this.top+this.height/2},this.element&&this.element.style&&(this.element.style.transform=`perspective(${this.settings.perspective}px) `+"rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)"),this.resetGlare()}resetGlare(){this.glare&&(this.glareElement.style.transform="rotate(180deg) translate(-50%, -50%)",this.glareElement.style.opacity="0")}updateInitialPosition(){if(0===this.settings.startX&&0===this.settings.startY)return;this.onMouseEnter(),this.fullPageListening?this.event={clientX:(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.clientWidth,clientY:(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.clientHeight}:this.event={clientX:this.left+(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.width,clientY:this.top+(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.height};let t=this.settings.scale;this.settings.scale=1,this.update(),this.settings.scale=t,this.resetGlare()}getValues(){let t,e;return this.fullPageListening?(t=this.event.clientX/this.clientWidth,e=this.event.clientY/this.clientHeight):(t=(this.event.clientX-this.left)/this.width,e=(this.event.clientY-this.top)/this.height),t=Math.min(Math.max(t,0),1),e=Math.min(Math.max(e,0),1),{tiltX:(this.reverse*(this.settings.max-t*this.settings.max*2)).toFixed(2),tiltY:(this.reverse*(e*this.settings.max*2-this.settings.max)).toFixed(2),percentageX:100*t,percentageY:100*e,angle:Math.atan2(this.event.clientX-(this.left+this.width/2),-(this.event.clientY-(this.top+this.height/2)))*(180/Math.PI)}}updateElementPosition(){let t=this.element.getBoundingClientRect();this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.left=t.left,this.top=t.top}update(){let t=this.getValues();this.element.style.transform="perspective("+this.settings.perspective+"px) rotateX("+("x"===this.settings.axis?0:t.tiltY)+"deg) rotateY("+("y"===this.settings.axis?0:t.tiltX)+"deg) scale3d("+this.settings.scale+", "+this.settings.scale+", "+this.settings.scale+")",this.glare&&(this.glareElement.style.transform=`rotate(${t.angle}deg) translate(-50%, -50%)`,this.glareElement.style.opacity=`${t.percentageY*this.settings["max-glare"]/100}`),this.element.dispatchEvent(new CustomEvent("tiltChange",{detail:t})),this.updateCall=null}prepareGlare(){if(!this.glarePrerender){const t=document.createElement("div");t.classList.add("js-tilt-glare");const e=document.createElement("div");e.classList.add("js-tilt-glare-inner"),t.appendChild(e),this.element.appendChild(t)}this.glareElementWrapper=this.element.querySelector(".js-tilt-glare"),this.glareElement=this.element.querySelector(".js-tilt-glare-inner"),this.glarePrerender||(Object.assign(this.glareElementWrapper.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}),Object.assign(this.glareElement.style,{position:"absolute",top:"50%",left:"50%","pointer-events":"none","background-image":"linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)",transform:"rotate(180deg) translate(-50%, -50%)","transform-origin":"0% 0%",opacity:"0"}),this.updateGlareSize())}updateGlareSize(){if(this.glare){const t=2*(this.element.offsetWidth>this.element.offsetHeight?this.element.offsetWidth:this.element.offsetHeight);Object.assign(this.glareElement.style,{width:`${t}px`,height:`${t}px`})}}updateClientSize(){this.clientWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.clientHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}onWindowResize(){this.updateGlareSize(),this.updateClientSize()}setTransition(){clearTimeout(this.transitionTimeout),this.element.style.transition=this.settings.speed+"ms "+this.settings.easing,this.glare&&(this.glareElement.style.transition=`opacity ${this.settings.speed}ms ${this.settings.easing}`),this.transitionTimeout=setTimeout(()=>{this.element.style.transition="",this.glare&&(this.glareElement.style.transition="")},this.settings.speed)}extendSettings(t){let e={reverse:!1,max:15,startX:0,startY:0,perspective:1e3,easing:"cubic-bezier(.03,.98,.52,.99)",scale:1,speed:300,transition:!0,axis:null,glare:!1,"max-glare":1,"glare-prerender":!1,"full-page-listening":!1,"mouse-event-element":null,reset:!0,gyroscope:!0,gyroscopeMinAngleX:-45,gyroscopeMaxAngleX:45,gyroscopeMinAngleY:-45,gyroscopeMaxAngleY:45,gyroscopeSamples:10},i={};for(var s in e)if(s in t)i[s]=t[s];else if(this.element.hasAttribute("data-tilt-"+s)){let t=this.element.getAttribute("data-tilt-"+s);try{i[s]=JSON.parse(t)}catch(e){i[s]=t}}else i[s]=e[s];return i}static init(e,i){e instanceof Node&&(e=[e]),e instanceof NodeList&&(e=[].slice.call(e)),e instanceof Array&&e.forEach(e=>{"vanillaTilt"in e||(e.vanillaTilt=new t(e,i))})}}return"undefined"!=typeof document&&(window.VanillaTilt=t,t.init(document.querySelectorAll("[data-tilt]"))),t}(); -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Portfolio | Erastus HS 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 36 | 37 |
38 |
39 | 40 | 41 | 42 | 61 | 62 | 63 | 64 |
65 |
66 |
67 | Erastus 68 |
69 |
70 |

71 | Hello, I'm
72 | Erastus HS 73 |

74 |

i am into |

75 | 79 | Download CV 81 | 82 | 83 |
84 |
85 | 86 | 87 | 88 |
89 | 90 |

About Me

91 |
92 |
93 | Erastus 94 |
95 |
96 |

Hello everyone, My name Erastus Hendro Setiono but you can call me Erastus. I am a front-end web developer who is very passionate about improving my coding skills and developing websites.

97 | Download CV 99 | 100 | 101 |
102 |
103 | 104 |
105 | 106 | 107 | 108 |
109 |

My Skills

110 |
111 |
112 |
113 |
114 | html 115 | HTML5 116 |
117 |
118 |
119 |
120 | css 121 | CSS3 122 |
123 |
124 |
125 |
126 | javascript 127 | JavaScript 128 |
129 |
130 |
131 |
132 | github 133 | GitHub 134 |
135 |
136 |
137 |
138 | bootstrap 139 | Bootstrap 140 |
141 |
142 |
143 |
144 | tailwind 145 | Tailwind 146 |
147 |
148 | 154 |
155 |
156 | photoshop 157 | Photoshop 158 |
159 |
160 |
161 |
162 |
163 | 164 | 165 | 166 |
167 |

Project Made

168 |
169 | 170 |
171 | discord 172 |
173 |
174 |

Discord Bot

175 |
176 |
177 |

Personal discord bot for my server discord

178 |

Build with:

179 |
180 | View 181 | Code 182 |
183 |
184 |
185 |
186 | 187 | 188 |
189 | JuiceYou-Project 190 |
191 |
192 |

Website Juice you

193 |
194 |
195 |

Just simple website for submission on dicoding

196 |

Build with: , ,

197 |
198 | View 199 | Code 200 |
201 |
202 |
203 |
204 | 205 | 206 |
207 | my-bookshelfs-project 208 |
209 |
210 |

Website My Bookshelfs

211 |
212 |
213 |

Catalog and organize library or book collection on multiple virtual bookshelves

214 |

Build with: , ,

215 |
216 | View 217 | Code 218 |
219 |
220 |
221 |
222 |
223 | 224 |
225 |

Interested working with me?

226 | 235 |
236 |
237 | 238 | 239 | 240 |
241 |
242 |
243 |

Erastus's Portfolio

244 |

Thank you for visiting my personal portfolio website. Connect with me over socials.

245 |
246 | 247 |
248 |

contact info

249 |

+62 822-4849-1919

250 |

erastushs@gmail.com

251 |

Sentani, Jayapura. Indonesia

252 | 258 |
259 |
260 | 261 |

Made with by Erastus H.S

262 |
263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | --------------------------------------------------------------------------------