@caweb/template 1.0.0-beta.0 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/template",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"author": "CAWebPublishing",
|
|
5
5
|
"description": "CAWebPublishing Template",
|
|
6
6
|
"license": "ISC",
|
|
@@ -30,7 +30,10 @@
|
|
|
30
30
|
"serve": "set NODE_OPTIONS='--template ./patterns/index.html --search-template ./patterns/search.html' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js --host danny.com --port 8888"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@caweb/framework": "^1.8.0-beta.
|
|
33
|
+
"@caweb/framework": "^1.8.0-beta.1",
|
|
34
34
|
"@caweb/icon-library": "^1.1.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@caweb/webpack": "^1.4.0-beta.3"
|
|
35
38
|
}
|
|
36
39
|
}
|
package/semantics/footer.html
CHANGED
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
<footer class="global-footer">
|
|
2
2
|
<div class="container">
|
|
3
3
|
<div class="d-flex">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<a href="https://www.ca.gov?utm_campaign=state_template_link&utm_medium=footer&utm_source=external" class="nav-link ps-0" title="CA.gov" target="_blank">
|
|
8
|
-
<span class="ca-gov-logo-svg"></span>
|
|
9
|
-
</a>
|
|
10
|
-
</li>
|
|
11
|
-
{{#each footer.nav }}
|
|
12
|
-
{{#if this.url }}{{#if this.label }}
|
|
13
|
-
<li class="nav-item">
|
|
14
|
-
<a href="{{ this.url }}" class="nav-link">{{ this.label }}</a>
|
|
15
|
-
</li>
|
|
16
|
-
{{/if}}{{/if}}
|
|
17
|
-
{{/each}}
|
|
18
|
-
</ul>
|
|
19
|
-
{{/if}}
|
|
4
|
+
|
|
5
|
+
{{> navFooter }}
|
|
6
|
+
|
|
20
7
|
{{#if social }}
|
|
21
8
|
<ul class="nav social-share-links">
|
|
22
9
|
{{#each social }}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- Navigation -->
|
|
2
|
+
{{#if footer.nav }}
|
|
3
|
+
<ul class="nav footer-links">
|
|
4
|
+
<li class="nav-item">
|
|
5
|
+
<a href="https://www.ca.gov?utm_campaign=state_template_link&utm_medium=footer&utm_source=external" class="nav-link ps-0" title="CA.gov" target="_blank">
|
|
6
|
+
<span class="ca-gov-logo-svg"></span>
|
|
7
|
+
</a>
|
|
8
|
+
</li>
|
|
9
|
+
{{#each footer.nav }}
|
|
10
|
+
{{#if this.url }}{{#if this.label }}
|
|
11
|
+
<li class="nav-item">
|
|
12
|
+
<a href="{{ this.url }}" class="nav-link">{{ this.label }}</a>
|
|
13
|
+
</li>
|
|
14
|
+
{{/if}}{{/if}}
|
|
15
|
+
{{/each}}
|
|
16
|
+
</ul>
|
|
17
|
+
{{/if}}
|
|
18
|
+
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!-- Navigation -->
|
|
2
2
|
<div class="navigation border-bottom">
|
|
3
3
|
<div class="container">
|
|
4
|
-
{{#if nav
|
|
4
|
+
{{#if header.nav }}
|
|
5
5
|
<ul class="nav" aria-label="Main navigation">
|
|
6
|
-
{{#each nav
|
|
6
|
+
{{#each header.nav }}
|
|
7
7
|
{{#if this.sub }}
|
|
8
8
|
<li class="nav-item dropdown">
|
|
9
9
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false" data-bs-popper-config='{"placement": "bottom-start", "strategy": "fixed"}'>{{ this.label }}</a>
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
<p class="official-tag">Official website of the State of California</p>
|
|
15
15
|
</div>
|
|
16
|
-
{{#if header.utility
|
|
16
|
+
{{#if header.utility }}
|
|
17
17
|
<div class="settings-links">
|
|
18
|
-
{{#each header.utility
|
|
18
|
+
{{#each header.utility }}
|
|
19
19
|
{{#if this.url }}{{#if this.label }}
|
|
20
20
|
<a href="{{ this.url }}">{{ this.label }}</a>
|
|
21
21
|
{{/if}}{{/if}}
|