@wemiofooter/footer 1.0.0

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.
Files changed (3) hide show
  1. package/FooterWemio.vue +142 -0
  2. package/index.js +1 -0
  3. package/package.json +10 -0
@@ -0,0 +1,142 @@
1
+ <template>
2
+ <div class="wemio-footer-container">
3
+ <a href="https://wemio.fr" target="_blank" rel="noopener noreferrer" class="wemio-banner">
4
+
5
+
6
+ <img src="https://wemio.fr/logo/logo_small.png" alt="Wemio" class="logo-img">
7
+
8
+ <div class="text-vibe">
9
+ <span class="vibe-top">Conçu avec ♥ & bonne humeur</span>
10
+ <span class="vibe-bottom">Vous aimez ce site ?</span>
11
+ </div>
12
+
13
+ <div class="cta-group">
14
+ <span>Discutons du vôtre</span>
15
+ <span class="arrow">→</span>
16
+ </div>
17
+
18
+ </a>
19
+ </div>
20
+ </template>
21
+
22
+ <script setup>
23
+ // Ce composant est purement visuel pour l'instant,
24
+ // pas besoin de logique JavaScript ici !
25
+ </script>
26
+
27
+ <style scoped>
28
+ /* Importation autonome de la police Inter pour s'assurer du rendu */
29
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&display=swap');
30
+
31
+ /* Remplace tes anciens styles body/html pour centrer la bannière proprement */
32
+ .wemio-footer-container {
33
+ width: 100%;
34
+ display: flex;
35
+ justify-content: center;
36
+ align-items: center;
37
+ padding: 24px 20px; /* Marge respirante autour de la bannière */
38
+ font-family: 'Inter', sans-serif;
39
+ box-sizing: border-box;
40
+ }
41
+
42
+ /* --- LE FOOTER PLEINE LARGEUR --- */
43
+ .wemio-banner {
44
+ background: #ffffff;
45
+ border: 1px solid #e2e8f0;
46
+ border-radius: 16px;
47
+ padding: 14px 55px 14px 20px;
48
+ box-shadow: 0 2px 10px rgba(0,0,0,0.06);
49
+
50
+ display: grid;
51
+ grid-template-columns: auto 1fr auto;
52
+ align-items: center;
53
+ gap: 20px;
54
+
55
+ text-decoration: none;
56
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
57
+
58
+ width: 100%;
59
+ max-width: 1200px;
60
+ box-sizing: border-box;
61
+ }
62
+
63
+ /* Effet Hover global */
64
+ .wemio-banner:hover {
65
+ box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15); /* Ombre bleutée */
66
+ transform: translateY(-2px);
67
+ border-color: #cbd5e1;
68
+ }
69
+
70
+ /* --- 1. LE LOGO ROND --- */
71
+ .logo-img {
72
+ height: 44px;
73
+ width: 44px;
74
+ border-radius: 50%;
75
+ object-fit: cover;
76
+ border: 2px solid #f8fafc;
77
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
78
+ }
79
+
80
+ /* --- 2. LE TEXTE "HUMAIN" (Milieu) --- */
81
+ .text-vibe {
82
+ display: flex;
83
+ flex-direction: column;
84
+ justify-content: center;
85
+ align-items: center;
86
+ text-align: center;
87
+ white-space: nowrap;
88
+ justify-self: center;
89
+ }
90
+
91
+ .vibe-top {
92
+ font-size: 10px;
93
+ text-transform: uppercase;
94
+ letter-spacing: 0.5px;
95
+ color: #64748b;
96
+ font-weight: 600;
97
+ margin-bottom: 2px;
98
+ }
99
+
100
+ .vibe-bottom {
101
+ font-size: 13px;
102
+ color: #334155;
103
+ font-weight: 500;
104
+ }
105
+
106
+ /* --- 3. L'APPEL À L'ACTION (Droite) --- */
107
+ .cta-group {
108
+ display: flex;
109
+ align-items: center;
110
+ gap: 6px;
111
+ color: #2563eb; /* Bleu Wemio */
112
+ font-weight: 800;
113
+ font-size: 13px;
114
+ white-space: nowrap;
115
+ flex-shrink: 0;
116
+ }
117
+
118
+ .arrow {
119
+ font-size: 16px;
120
+ transition: transform 0.3s ease;
121
+ }
122
+
123
+ /* Animation de la flèche au survol */
124
+ .wemio-banner:hover .arrow {
125
+ transform: translateX(4px);
126
+ }
127
+
128
+ /* --- RESPONSIVE --- */
129
+ @media (max-width: 480px) {
130
+ .text-vibe {
131
+ display: none;
132
+ }
133
+ .cta-group {
134
+ font-size: 13px;
135
+ }
136
+ .wemio-banner {
137
+ padding: 12px 18px;
138
+ border-radius: 12px;
139
+ gap: 16px;
140
+ }
141
+ }
142
+ </style>
package/index.js ADDED
@@ -0,0 +1 @@
1
+ export { default as FooterWemio } from './FooterWemio.vue'
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "@wemiofooter/footer",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": "./index.js",
8
+ "./FooterWemio.vue": "./FooterWemio.vue"
9
+ }
10
+ }