Parcourir la source

Added TikTok icon, updated footer menu

tags/1.0.3
Alej il y a 2 ans
Parent
révision
83acff66e7
1 fichiers modifiés avec 40 ajouts et 20 suppressions
  1. 40
    20
      vue-theme/src/components/footer.vue

+ 40
- 20
vue-theme/src/components/footer.vue Voir le fichier

@@ -1,7 +1,7 @@
1 1
 <template lang="pug">
2 2
 .footer-wrapper.t-up.t-sans
3 3
     footer.main.w-max.f-row.between
4
-        ul.f-col
4
+        ul.f-col.t-cntr
5 5
             //- address contact   
6 6
             li
7 7
                 h4 Craft in America
@@ -27,27 +27,26 @@
27 27
                     li
28 28
                         h3 
29 29
                             a(href="http://www.youtube.com/user/craftinamerica")
30
-                                //- img(src="../star.svg")
31
-                                //- replace with respective icon 
32 30
                                 svg(aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512")
33 31
                                     path(fill="currentColor" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z")
34 32
                     li
35 33
                         h3 
36 34
                             a(href="http://www.instagram.com/craftinamerica")
37
-                                //- img(src="../star.svg")
38
-                                //- replace with respective icon 
39 35
                                 svg(aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512")
40 36
                                     path(fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z")
41 37
                     li
42 38
                         h3 
43 39
                             a(href="https://twitter.com/CraftinAmerica")
44
-                                //- img(src="../star.svg")
45
-                                //- replace with respective icon                 
46 40
                                 svg(aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400")
47 41
                                     path(fill="currentColor" d="M400,200c0,110.5-89.5,200-200,200S0,310.5,0,200S89.5,0,200,0S400,89.5,400,200z M163.4,305.5 c88.7,0,137.2-73.5,137.2-137.2c0-2.1,0-4.2-0.1-6.2c9.4-6.8,17.6-15.3,24.1-25c-8.6,3.8-17.9,6.4-27.7,7.6 c10-6,17.6-15.4,21.2-26.7c-9.3,5.5-19.6,9.5-30.6,11.7c-8.8-9.4-21.3-15.2-35.2-15.2c-26.6,0-48.2,21.6-48.2,48.2 c0,3.8,0.4,7.5,1.3,11c-40.1-2-75.6-21.2-99.4-50.4c-4.1,7.1-6.5,15.4-6.5,24.2c0,16.7,8.5,31.5,21.5,40.1c-7.9-0.2-15.3-2.4-21.8-6 c0,0.2,0,0.4,0,0.6c0,23.4,16.6,42.8,38.7,47.3c-4,1.1-8.3,1.7-12.7,1.7c-3.1,0-6.1-0.3-9.1-0.9c6.1,19.2,23.9,33.1,45,33.5 c-16.5,12.9-37.3,20.6-59.9,20.6c-3.9,0-7.7-0.2-11.5-0.7C110.8,297.5,136.2,305.5,163.4,305.5")
42
+                    li
43
+                        h3 
44
+                            a(href="https://www.tiktok.com/@craft_in_america")                                
45
+                                svg(aria-hidden="true" focusable="false" data-prefix="fab" data-icon="tiktok" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3333 3333" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd")
46
+                                    path(fill="currentColor" d="M1667 0c920 0 1667 746 1667 1667 0 920-746 1667-1667 1667C747 3334 0 2588 0 1667 0 747 746 0 1667 0zm361 744c31 262 177 418 430 434v294c-147 14-276-34-426-124v550c0 700-763 918-1069 417-197-322-76-889 556-911v311c-48 8-99 20-146 36-141 47-220 137-198 294 43 301 595 390 549-198V745h305z")
48 47
             li
49
-                h5
50
-                    a(href="https://visitor.r20.constantcontact.com/d.jsp?llr=fyb4y9cab&p=oi&m=fyb4y9cab&sit=olvymhdeb&f=ee3616e1-10de-4a59-b451-1a882111b1f5", target="_blank") Join email list
48
+                h4
49
+                    a(href="https://visitor.r20.constantcontact.com/d.jsp?llr=fyb4y9cab&p=oi&m=fyb4y9cab&sit=olvymhdeb&f=ee3616e1-10de-4a59-b451-1a882111b1f5", target="_blank") Join our email list
51 50
                             
52 51
         //- menu links
53 52
         ul.f-col
@@ -76,29 +75,53 @@
76 75
                         li
77 76
                             router-link(to="/exhibition/sorted/by-current-and-upcoming") &nbsp; Current/Upcoming
78 77
                         li
79
-                            router-link(to="/object") &nbsp; Explore Craft Objects
78
+                            router-link(to="/exhibition/sorted/by-past") &nbsp; Past
80 79
             li
81 80
                 h5
82 81
                     router-link(to="/page/center") Center 
83 82
                     ul.f-col
84 83
                         li
85 84
                             router-link(to="/page/center") &nbsp; Info
86
-                        li
87
-                            router-link(to="/exhibition/sorted/by-current-and-upcoming") &nbsp; Exhibitions
88 85
                         li 
89 86
                             router-link(to="/event/sorted/by-current-and-upcoming") &nbsp; Events 
90 87
                         li
91 88
                             router-link(to="/event?type=talks") &nbsp; Talks &amp; Interviews
89
+                        li 
90
+                            router-link(to="/page/library") &nbsp; Library 
92 91
             li
93 92
                 h5
94 93
                     router-link(to="/guide") Education 
95 94
                     ul.f-col
96 95
                         li
97 96
                             router-link(to="/guide") &nbsp; Guides 
98
-                        li 
97
+                        li
98
+                            router-link(to="/page/video-resources-for-educators") &nbsp; Video Resources 
99
+                        li
100
+                            router-link(to="/page/craft-in-schools") &nbsp; Craft in Schools  
101
+            li
102
+                h5    
103
+                    router-link(to="/page/artists-resources") Resources
104
+                    ul.f-col  
105
+                        li
99 106
                             router-link(to="/publication") &nbsp; Publications 
100
-                        li 
101
-                            router-link(to="/page/library") &nbsp; Library 
107
+                        li
108
+                            router-link(to="/object") &nbsp; Explore Craft Objects
109
+                        li
110
+                            router-link(to="/page/artists-resources") &nbsp; Opportunities
111
+                        li
112
+                            router-link(to="/artist/sorted/by-type") &nbsp; Organizations and Institutions 
113
+                        li
114
+                            router-link(to="/page/craft-resources-map") &nbsp; Craft Resources Map 
115
+                        li
116
+                            router-link(to="/page/community-craft-calendar") &nbsp; Community Craft Calendar 
117
+            li
118
+                h5    
119
+                    router-link(to="/page/donate") Support
120
+                    ul.f-col  
121
+                        li
122
+                            router-link(to="/page/donate") &nbsp; Donate
123
+                        li
124
+                            router-link(to="/page/shop") &nbsp; Shop 
102 125
             li
103 126
                 h5
104 127
                     router-link(to="/blog") News 
@@ -125,7 +148,7 @@
125 148
                             router-link(to="/page/contact") &nbsp; Contact   
126 149
 
127 150
     .sub-footer.f-col.start
128
-        h6 Craft in America &copy; 2010&ndash;{{ today }} 
151
+        h6 Craft in America &copy; 2010 &ndash; {{ today }} 
129 152
         //- actually the bottom of the page
130 153
 
131 154
 </template>
@@ -190,6 +213,7 @@ export default {
190 213
                         padding: 0 0 $ms--5
191 214
                 svg 
192 215
                     height: 1.5em
216
+                    padding: 0 $ms--5
193 217
 
194 218
 
195 219
     .sub-footer
@@ -203,7 +227,6 @@ export default {
203 227
     @media (min-width: $medium)
204 228
         footer.main > ul
205 229
             flex-wrap: wrap
206
-            /* background-color: darkgreen */
207 230
             background-color: $cia_red
208 231
             &:nth-child(n+2)
209 232
                 align-items: flex-start
@@ -216,7 +239,6 @@ export default {
216 239
     @media (min-width: $large)
217 240
         footer.main > ul
218 241
             flex-wrap: wrap
219
-            /* background-color: purple */
220 242
             background-color: $cia_red
221 243
             &:nth-child(n+2)
222 244
                 > li
@@ -225,7 +247,6 @@ export default {
225 247
     @media (min-width: $extra-large)
226 248
         footer.main > ul
227 249
             flex-wrap: wrap
228
-            /* background-color: rebeccapurple */
229 250
             background-color: $cia_red
230 251
             &:nth-child(n+2)
231 252
                 /* margin: 0 0 $ms-2 0 */
@@ -238,7 +259,6 @@ export default {
238 259
             margin: 0 auto
239 260
             > ul
240 261
                 flex-wrap: wrap
241
-                /* background-color: orange */
242 262
                 background-color: $cia_red
243 263
 
244 264
 </style>

Chargement…
Annuler
Enregistrer