Conditions | 1 |
Paths | 1 |
Total Lines | 33 |
Code Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php declare(strict_types=1); |
||
14 | public function htmlHead(HTMLNode &$head) |
||
15 | { |
||
16 | $head->appendContent( |
||
17 | HTMLNode::factory('meta', ['name' => "viewport", 'content' => "width=device-width, initial-scale=1, shrink-to-fit=no"]) |
||
18 | )->appendContent( |
||
19 | HTMLNode::factory( |
||
20 | 'link', |
||
21 | [ |
||
22 | 'rel' => "stylesheet", |
||
23 | 'href' => "https://unpkg.com/bootstrap/dist/css/bootstrap.min.css", |
||
24 | ] |
||
25 | ) |
||
26 | )->appendContent( |
||
27 | HTMLNode::factory( |
||
28 | 'link', |
||
29 | [ |
||
30 | 'rel' => "stylesheet", |
||
31 | 'href' => "https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.css", |
||
32 | ] |
||
33 | ) |
||
34 | )->appendContent( |
||
35 | HTMLNode::factory( |
||
36 | 'script', |
||
37 | [ |
||
38 | 'src' => "https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.js", |
||
39 | ] |
||
40 | ) |
||
41 | )->appendContent( |
||
42 | HTMLNode::factory( |
||
43 | 'link', |
||
44 | [ |
||
45 | 'rel' => "stylesheet", |
||
46 | 'href' => "https://use.fontawesome.com/releases/v5.2.0/css/all.css", |
||
47 | ] |
||
62 |