@edgedev/create-edge-site 1.0.3 → 1.0.4
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/components/Input.vue
CHANGED
package/components/Textarea.vue
CHANGED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
href="#"
|
|
8
8
|
class="flex items-center justify-center w-12 h-12 transition rounded-full bg-lblue text-dblue hover:bg-opacity-80"
|
|
9
9
|
>
|
|
10
|
-
<i class="fab fa-facebook-f fa-lg"
|
|
10
|
+
<i class="fab fa-facebook-f fa-lg"></i>
|
|
11
11
|
</a>
|
|
12
12
|
<a
|
|
13
13
|
href="#"
|
|
14
14
|
class="flex items-center justify-center w-12 h-12 transition rounded-full bg-lblue text-dblue hover:bg-opacity-80"
|
|
15
15
|
>
|
|
16
|
-
<i class="fab fa-instagram fa-lg"
|
|
16
|
+
<i class="fab fa-instagram fa-lg"></i>
|
|
17
17
|
</a>
|
|
18
18
|
<a
|
|
19
19
|
href="#"
|
|
20
20
|
class="flex items-center justify-center w-12 h-12 transition rounded-full bg-lblue text-dblue hover:bg-opacity-80"
|
|
21
21
|
>
|
|
22
|
-
<i class="fab fa-houzz fa-lg"
|
|
22
|
+
<i class="fab fa-houzz fa-lg"></i> <!-- Houzz or custom icon -->
|
|
23
23
|
</a>
|
|
24
24
|
</div>
|
|
25
25
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
<!-- Logo -->
|
|
44
44
|
<div class="flex justify-center">
|
|
45
|
-
<img src="/images/logo.png" alt="JDL Construction Logo" class="h-auto opacity-75 w-46"
|
|
45
|
+
<img src="/images/logo.png" alt="JDL Construction Logo" class="h-auto opacity-75 w-46" />
|
|
46
46
|
</div>
|
|
47
47
|
</div>
|
|
48
48
|
</footer>
|
|
@@ -111,7 +111,7 @@ const onSubmit = async (values, { resetForm }) => {
|
|
|
111
111
|
:validation-schema="props.validationSchema"
|
|
112
112
|
@submit="onSubmit"
|
|
113
113
|
>
|
|
114
|
-
<slot :submitting="state.submitting" :submit-response="state.submitResponse"
|
|
114
|
+
<slot :submitting="state.submitting" :submit-response="state.submitResponse"></slot>
|
|
115
115
|
<VueTurnstile
|
|
116
116
|
v-if="props.turnstileSiteSecret"
|
|
117
117
|
v-model="state.turnstileToken"
|
|
@@ -43,7 +43,7 @@ onUnmounted(() => {
|
|
|
43
43
|
<div class="container mx-auto flex items-center justify-between h-[128px]">
|
|
44
44
|
<!-- Logo -->
|
|
45
45
|
<NuxtLink to="/" class="text-xl font-bold">
|
|
46
|
-
<img src="/images/logo.png" alt="JDL Construction MT" class="w-full h-auto"
|
|
46
|
+
<img src="/images/logo.png" alt="JDL Construction MT" class="w-full h-auto" />
|
|
47
47
|
</NuxtLink>
|
|
48
48
|
|
|
49
49
|
<!-- Mobile Menu Button -->
|
|
@@ -81,18 +81,18 @@ onUnmounted(() => {
|
|
|
81
81
|
</button>
|
|
82
82
|
|
|
83
83
|
<!-- Mobile Logo -->
|
|
84
|
-
<a href="/"><img src="/images/logo.png" alt="JDL Construction Logo" class="mb-4 w-50"
|
|
84
|
+
<a href="/"><img src="/images/logo.png" alt="JDL Construction Logo" class="mb-4 w-50" /></a>
|
|
85
85
|
|
|
86
86
|
<!-- Social Media Icons -->
|
|
87
87
|
<div class="flex justify-center my-6 space-x-4">
|
|
88
88
|
<a href="#" class="flex items-center justify-center w-12 h-12 transition rounded-full bg-lblue text-dblue hover:bg-opacity-80">
|
|
89
|
-
<i class="fab fa-facebook-f fa-lg"
|
|
89
|
+
<i class="fab fa-facebook-f fa-lg"></i>
|
|
90
90
|
</a>
|
|
91
91
|
<a href="#" class="flex items-center justify-center w-12 h-12 transition rounded-full bg-lblue text-dblue hover:bg-opacity-80">
|
|
92
|
-
<i class="fab fa-instagram fa-lg"
|
|
92
|
+
<i class="fab fa-instagram fa-lg"></i>
|
|
93
93
|
</a>
|
|
94
94
|
<a href="#" class="flex items-center justify-center w-12 h-12 transition rounded-full bg-lblue text-dblue hover:bg-opacity-80">
|
|
95
|
-
<i class="fab fa-houzz fa-lg"
|
|
95
|
+
<i class="fab fa-houzz fa-lg"></i> <!-- Houzz or custom icon -->
|
|
96
96
|
</a>
|
|
97
97
|
</div>
|
|
98
98
|
|
|
@@ -48,7 +48,7 @@ onMounted(() => {
|
|
|
48
48
|
</div>
|
|
49
49
|
|
|
50
50
|
<!-- Gradient Background (top Half) -->
|
|
51
|
-
<div class="absolute z-10 top-0 left-0 w-full h-[128px] bg-gradient-to-b from-dblue to-transparent"
|
|
51
|
+
<div class="absolute z-10 top-0 left-0 w-full h-[128px] bg-gradient-to-b from-dblue to-transparent"></div>
|
|
52
52
|
|
|
53
53
|
<!-- Design Accent Image -->
|
|
54
54
|
<img
|
|
@@ -56,8 +56,8 @@ onMounted(() => {
|
|
|
56
56
|
src="/images/hero/titleShape.png"
|
|
57
57
|
alt="Decorative Accent"
|
|
58
58
|
class="absolute bottom-0 right-0 z-0 object-cover"
|
|
59
|
-
|
|
59
|
+
/>
|
|
60
60
|
<!-- Diagonal Gradient Overlay -->
|
|
61
|
-
<div class="absolute inset-0 z-0 bg-reversed-angled-gradient"
|
|
61
|
+
<div class="absolute inset-0 z-0 bg-reversed-angled-gradient"></div>
|
|
62
62
|
</section>
|
|
63
63
|
</template>
|
package/eslint.config.mjs
CHANGED
|
@@ -9,6 +9,16 @@ export default [
|
|
|
9
9
|
'no-console': 'off',
|
|
10
10
|
'antfu/top-level-function': 'off',
|
|
11
11
|
'style/eol-last': 'off',
|
|
12
|
+
// ✅ Enforce correct self-closing behavior in Vue templates
|
|
13
|
+
'vue/html-self-closing': ['error', {
|
|
14
|
+
html: {
|
|
15
|
+
void: 'always', // <img />, <br />, <input />, etc.
|
|
16
|
+
normal: 'never', // <div></div>, <span></span>, etc.
|
|
17
|
+
component: 'always', // <MyComponent />
|
|
18
|
+
},
|
|
19
|
+
svg: 'always',
|
|
20
|
+
math: 'always',
|
|
21
|
+
}],
|
|
12
22
|
},
|
|
13
23
|
},
|
|
14
24
|
]
|