@asd20/ui 3.2.823 → 3.2.825
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -86,36 +86,19 @@ export default {
|
|
|
86
86
|
width: 60%;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
&--
|
|
90
|
-
|
|
91
|
-
--
|
|
89
|
+
&--middlebar {
|
|
90
|
+
position: absolute;
|
|
91
|
+
--width: 90%;
|
|
92
|
+
--height: 10px; // Increased height for better visibility
|
|
93
|
+
top: 50vh;
|
|
94
|
+
width: 90%;
|
|
95
|
+
height: 10px;
|
|
96
|
+
margin: auto;
|
|
92
97
|
border-radius: var(--website-shape__radius);
|
|
93
|
-
&__content {
|
|
94
|
-
min-height: 10vh;
|
|
95
|
-
}
|
|
96
|
-
&::before,
|
|
97
|
-
&::after {
|
|
98
|
-
content: '';
|
|
99
|
-
display: block;
|
|
100
|
-
position: absolute;
|
|
101
|
-
background: white;
|
|
102
|
-
left: space(1);
|
|
103
|
-
z-index: 1;
|
|
104
|
-
border-radius: 3px;
|
|
105
|
-
}
|
|
106
|
-
&::before {
|
|
107
|
-
bottom: space(2);
|
|
108
|
-
height: space(0.5);
|
|
109
|
-
width: 80%;
|
|
110
|
-
}
|
|
111
|
-
&::after {
|
|
112
|
-
bottom: space(1);
|
|
113
|
-
height: space(0.5);
|
|
114
|
-
width: 60%;
|
|
115
|
-
}
|
|
116
98
|
}
|
|
117
99
|
}
|
|
118
100
|
|
|
101
|
+
|
|
119
102
|
@keyframes skeleton {
|
|
120
103
|
0% {
|
|
121
104
|
background-position: 120% 100%;
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
<div class="asd20-district-home-template">
|
|
3
3
|
<!-- Skip Nav -->
|
|
4
4
|
<div>
|
|
5
|
-
<
|
|
5
|
+
<div v-if="!isAuthenticated">
|
|
6
|
+
<client-only>
|
|
7
|
+
<asd20-skeleton preset="middlebar"/>
|
|
8
|
+
</client-only>
|
|
9
|
+
</div>
|
|
6
10
|
<div v-else>
|
|
7
11
|
<!-- Skip Nav -->
|
|
8
12
|
<asd20-skip-to />
|
|
@@ -279,7 +283,7 @@ export default {
|
|
|
279
283
|
pageTemplateMixin,
|
|
280
284
|
globalPropMixinFactory('isAuthenticated', {
|
|
281
285
|
type: Boolean,
|
|
282
|
-
default:
|
|
286
|
+
default: true,
|
|
283
287
|
}),
|
|
284
288
|
],
|
|
285
289
|
|