|
150 | 150 | .further h2:first-of-type {
|
151 | 151 | padding-top: 0;
|
152 | 152 | }
|
| 153 | + .svg-stroke { |
| 154 | + fill: none; |
| 155 | + stroke: #000; |
| 156 | + stroke-width: 32px; |
| 157 | + } |
153 | 158 | footer {
|
154 | 159 | background-color: rgba(221, 72, 20, .8);
|
155 | 160 | text-align: center;
|
|
206 | 211 | </a>
|
207 | 212 | </li>
|
208 | 213 | <li class="menu-toggle">
|
209 |
| - <button onclick="toggleMenu();">☰</button> |
| 214 | + <button id="menuToggle">☰</button> |
210 | 215 | </li>
|
211 | 216 | <li class="menu-item hidden"><a href="#">Home</a></li>
|
212 |
| - <li class="menu-item hidden"><a href="https://codeigniter4.github.io/userguide/" target="_blank">Docs</a> |
| 217 | + <li class="menu-item hidden"><a href="https://codeigniter.com/user_guide/" target="_blank">Docs</a> |
213 | 218 | </li>
|
214 | 219 | <li class="menu-item hidden"><a href="https://forum.codeigniter.com/" target="_blank">Community</a></li>
|
215 | 220 | <li class="menu-item hidden"><a
|
216 |
| - href="https://github.com/codeigniter4/CodeIgniter4/blob/develop/CONTRIBUTING.md" target="_blank">Contribute</a> |
| 221 | + href="https://codeigniter.com/contribute" target="_blank">Contribute</a> |
217 | 222 | </li>
|
218 | 223 | </ul>
|
219 | 224 | </div>
|
|
253 | 258 | <h1>Go further</h1>
|
254 | 259 |
|
255 | 260 | <h2>
|
256 |
| - <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><rect x='32' y='96' width='64' height='368' rx='16' ry='16' style='fill:none;stroke:#000;stroke-linejoin:round;stroke-width:32px'/><line x1='112' y1='224' x2='240' y2='224' style='fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><line x1='112' y1='400' x2='240' y2='400' style='fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px'/><rect x='112' y='160' width='128' height='304' rx='16' ry='16' style='fill:none;stroke:#000;stroke-linejoin:round;stroke-width:32px'/><rect x='256' y='48' width='96' height='416' rx='16' ry='16' style='fill:none;stroke:#000;stroke-linejoin:round;stroke-width:32px'/><path d='M422.46,96.11l-40.4,4.25c-11.12,1.17-19.18,11.57-17.93,23.1l34.92,321.59c1.26,11.53,11.37,20,22.49,18.84l40.4-4.25c11.12-1.17,19.18-11.57,17.93-23.1L445,115C443.69,103.42,433.58,94.94,422.46,96.11Z' style='fill:none;stroke:#000;stroke-linejoin:round;stroke-width:32px'/></svg> |
| 261 | + <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><rect x='32' y='96' width='64' height='368' rx='16' ry='16' class="svg-stroke" /><line x1='112' y1='224' x2='240' y2='224' class="svg-stroke" /><line x1='112' y1='400' x2='240' y2='400' class="svg-stroke" /><rect x='112' y='160' width='128' height='304' rx='16' ry='16' class="svg-stroke" /><rect x='256' y='48' width='96' height='416' rx='16' ry='16' class="svg-stroke" /><path d='M422.46,96.11l-40.4,4.25c-11.12,1.17-19.18,11.57-17.93,23.1l34.92,321.59c1.26,11.53,11.37,20,22.49,18.84l40.4-4.25c11.12-1.17,19.18-11.57,17.93-23.1L445,115C443.69,103.42,433.58,94.94,422.46,96.11Z' class="svg-stroke"/></svg> |
257 | 262 | Learn
|
258 | 263 | </h2>
|
259 | 264 |
|
260 | 265 | <p>The User Guide contains an introduction, tutorial, a number of "how to"
|
261 | 266 | guides, and then reference documentation for the components that make up
|
262 |
| - the framework. Check the <a href="https://codeigniter4.github.io/userguide" |
| 267 | + the framework. Check the <a href="https://codeigniter.com/user_guide/" |
263 | 268 | target="_blank">User Guide</a> !</p>
|
264 | 269 |
|
265 | 270 | <h2>
|
266 |
| - <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M431,320.6c-1-3.6,1.2-8.6,3.3-12.2a33.68,33.68,0,0,1,2.1-3.1A162,162,0,0,0,464,215c.3-92.2-77.5-167-173.7-167C206.4,48,136.4,105.1,120,180.9a160.7,160.7,0,0,0-3.7,34.2c0,92.3,74.8,169.1,171,169.1,15.3,0,35.9-4.6,47.2-7.7s22.5-7.2,25.4-8.3a26.44,26.44,0,0,1,9.3-1.7,26,26,0,0,1,10.1,2L436,388.6a13.52,13.52,0,0,0,3.9,1,8,8,0,0,0,8-8,12.85,12.85,0,0,0-.5-2.7Z' style='fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px'/><path d='M66.46,232a146.23,146.23,0,0,0,6.39,152.67c2.31,3.49,3.61,6.19,3.21,8s-11.93,61.87-11.93,61.87a8,8,0,0,0,2.71,7.68A8.17,8.17,0,0,0,72,464a7.26,7.26,0,0,0,2.91-.6l56.21-22a15.7,15.7,0,0,1,12,.2c18.94,7.38,39.88,12,60.83,12A159.21,159.21,0,0,0,284,432.11' style='fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px'/></svg> |
| 271 | + <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M431,320.6c-1-3.6,1.2-8.6,3.3-12.2a33.68,33.68,0,0,1,2.1-3.1A162,162,0,0,0,464,215c.3-92.2-77.5-167-173.7-167C206.4,48,136.4,105.1,120,180.9a160.7,160.7,0,0,0-3.7,34.2c0,92.3,74.8,169.1,171,169.1,15.3,0,35.9-4.6,47.2-7.7s22.5-7.2,25.4-8.3a26.44,26.44,0,0,1,9.3-1.7,26,26,0,0,1,10.1,2L436,388.6a13.52,13.52,0,0,0,3.9,1,8,8,0,0,0,8-8,12.85,12.85,0,0,0-.5-2.7Z' class="svg-stroke" /><path d='M66.46,232a146.23,146.23,0,0,0,6.39,152.67c2.31,3.49,3.61,6.19,3.21,8s-11.93,61.87-11.93,61.87a8,8,0,0,0,2.71,7.68A8.17,8.17,0,0,0,72,464a7.26,7.26,0,0,0,2.91-.6l56.21-22a15.7,15.7,0,0,1,12,.2c18.94,7.38,39.88,12,60.83,12A159.21,159.21,0,0,0,284,432.11' class="svg-stroke" /></svg> |
267 | 272 | Discuss
|
268 | 273 | </h2>
|
269 | 274 |
|
|
274 | 279 | target="_blank">chat on Slack</a> !</p>
|
275 | 280 |
|
276 | 281 | <h2>
|
277 |
| - <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><line x1='176' y1='48' x2='336' y2='48' style='fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px'/><line x1='118' y1='304' x2='394' y2='304' style='fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px'/><path d='M208,48v93.48a64.09,64.09,0,0,1-9.88,34.18L73.21,373.49C48.4,412.78,76.63,464,123.08,464H388.92c46.45,0,74.68-51.22,49.87-90.51L313.87,175.66A64.09,64.09,0,0,1,304,141.48V48' style='fill:none;stroke:#000;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px'/></svg> |
| 282 | + <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><line x1='176' y1='48' x2='336' y2='48' class="svg-stroke" /><line x1='118' y1='304' x2='394' y2='304' class="svg-stroke" /><path d='M208,48v93.48a64.09,64.09,0,0,1-9.88,34.18L73.21,373.49C48.4,412.78,76.63,464,123.08,464H388.92c46.45,0,74.68-51.22,49.87-90.51L313.87,175.66A64.09,64.09,0,0,1,304,141.48V48' class="svg-stroke" /></svg> |
278 | 283 | Contribute
|
279 | 284 | </h2>
|
280 | 285 |
|
|
309 | 314 |
|
310 | 315 | <!-- SCRIPTS -->
|
311 | 316 |
|
312 |
| -<script> |
| 317 | +<script {csp-script-nonce}> |
| 318 | + document.getElementById("menuToggle").addEventListener('click', toggleMenu); |
313 | 319 | function toggleMenu() {
|
314 | 320 | var menuItems = document.getElementsByClassName('menu-item');
|
315 | 321 | for (var i = 0; i < menuItems.length; i++) {
|
|
0 commit comments