瀏覽代碼

footer styling and social icon addition

tags/0.9.0
Alej 4 年之前
父節點
當前提交
f5cd5384ec
共有 1 個檔案被更改,包括 68 行新增34 行删除
  1. 68
    34
      vue-theme/src/components/footer.vue

+ 68
- 34
vue-theme/src/components/footer.vue 查看文件

@@ -1,8 +1,8 @@
1 1
 <template lang="pug">
2 2
 .footer-wrapper.t-up.t-sans
3 3
     footer.main.w-max
4
-        //- address contact
5 4
         ul.f-col.start
5
+            //- address contact   
6 6
             li
7 7
                 h4 Craft in America
8 8
                 ul
@@ -13,29 +13,38 @@
13 13
                     li (323) 951-0610 center
14 14
                     li
15 15
                         router-link(to="mailto:info@craftinamerica.org") info@craftinamerica.org
16
+            //- social media   
16 17
             li
17 18
                 h4 Connect with Us
18 19
                 ul.f-row
19 20
                     li
20
-                        h3.t-cntr
21
-                            a(href="https://www.facebook.com/CraftinAmerica") FB<br>
22
-                                img(src="../star.svg")
21
+                        h3 
22
+                            a(href="https://www.facebook.com/CraftinAmerica")
23
+                                //- img(src="../assets/facebook-brands.svg")
23 24
                                 //- replace with respective icon 
25
+                                svg(aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="social-icons facebook")
26
+                                    path(fill="currentColor" d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z")
24 27
                     li
25
-                        h3.t-cntr
26
-                            a(href="http://www.youtube.com/user/craftinamerica") YT<br>
27
-                                img(src="../star.svg")
28
+                        h3 
29
+                            a(href="http://www.youtube.com/user/craftinamerica")
30
+                                //- img(src="../star.svg")
28 31
                                 //- replace with respective icon 
32
+                                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" class="social-icons youtube")
33
+                                    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")
29 34
                     li
30
-                        h3.t-cntr
31
-                            a(href="http://www.instagram.com/craftinamerica") IG<br>
32
-                                img(src="../star.svg")
35
+                        h3 
36
+                            a(href="http://www.instagram.com/craftinamerica")
37
+                                //- img(src="../star.svg")
33 38
                                 //- replace with respective icon 
39
+                                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" class="social-icons instagram")
40
+                                    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")
34 41
                     li
35
-                        h3.t-cntr
36
-                            a(href="https://twitter.com/CraftinAmerica") TT<br>
37
-                                img(src="../star.svg")
42
+                        h3 
43
+                            a(href="https://twitter.com/CraftinAmerica")
44
+                                //- img(src="../star.svg")
38 45
                                 //- replace with respective icon                 
46
+                                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" class="social-icons twitter")
47
+                                    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")
39 48
             li
40 49
                 h5
41 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
@@ -43,28 +52,63 @@
43 52
         //- menu links
44 53
         ul.f-col.start
45 54
             li
46
-                h5
55
+                h5 
47 56
                     router-link(to="/episodes") PBS Series
48
-                ul.f-col.start
49
-                    li Episodes
50
-
57
+                    ul.f-col.start 
58
+                        li 
59
+                            router-link(to="/episodes") &nbsp; Episodes
60
+                        li 
61
+                            router-link(to="/shorts") &nbsp; Shorts
62
+                        li 
63
+                            router-link(to="/techniques") &nbsp; Techniques
64
+            li 
51 65
                 h5
52 66
                     router-link(to="/artists") Artists
53
-                ul.f-col.start
54
-                    li
55
-                        router-link(to="/artists/by-alpha") A-Z
67
+                    ul.f-col.start
68
+                        li
69
+                            router-link(to="/artists/sorted/by-alpha") &nbsp; A-Z
70
+                        li
71
+                            router-link(to="/artists/sorted/by-material") &nbsp; by Material
56 72
 
57 73
             li
58 74
                 h5 
59 75
                     router-link(to="/exhibitions") Exhibitions
76
+                    ul.f-col.start
77
+                        li
78
+                            router-link(to="/exhibitions/by-upcoming") &nbsp; Current/Upcoming
79
+                        li
80
+                            router-link(to="/objects/") &nbsp; Objects
60 81
 
61 82
             li
62 83
                 h5
63
-                    router-link(to="/events") Events
84
+                    router-link(to="/events") Center 
85
+                    ul.f-col.start
86
+                        li
87
+                            router-link(to="/exhibitions") &nbsp; Exhibitions
88
+                        li 
89
+                            router-link(to="/events") &nbsp; Events 
90
+                        li
91
+                            router-link(to="/events/sorted/by-type&talks") &nbsp; Talks &amp; Interviews
92
+            li
93
+                h5
94
+                    router-link(to="") Education 
95
+                    ul.f-col.start
96
+                        li
97
+                            router-link(to="/guides") &nbsp; Guides 
98
+                        li 
99
+                            router-link(to="/publications") &nbsp; Publications 
100
+
64 101
 
65 102
             li
66 103
                 h5
67
-                    router-link(to="/posts") News
104
+                    router-link(to="") News
105
+                    ul.f-col.start
106
+                        li
107
+                            router-link(to="/blog") &nbsp; Blog Posts  
108
+                        li 
109
+                            router-link(to="/blog/sorted/by-type") &nbsp; Press Releases 
110
+                        li 
111
+                            router-link(to="/blog/sorted/by-type") &nbsp; In the News 
68 112
 
69 113
     .sub-footer.f-col.start
70 114
         h6 Craft in America &copy; 2010&ndash;{{ today }} 
@@ -128,18 +172,8 @@ export default {
128 172
                     align-items: flex-start
129 173
                     > li
130 174
                         padding: 0 0 $ms--5
131
-                img
132
-                    width: $ms-0
133
-                    height: $ms-0
134
-                    padding: 0
135
-                        &.social-icons
136
-                        flex-direction: row
137
-                        justify-content: space-around
138
-                        > li
139
-                            padding: 0.2em 0.3em 0 0
140
-                            svg
141
-                                color: $cia_white
142
-                                font-size: 2em
175
+                svg 
176
+                    height: 1.5em
143 177
 
144 178
 
145 179
     .sub-footer

Loading…
取消
儲存