Przeglądaj źródła

footer menu layout

footer styling modifications
tags/0.9.0
Alej 5 lat temu
rodzic
commit
bf3b30f962
1 zmienionych plików z 26 dodań i 30 usunięć
  1. 26
    30
      vue-theme/src/components/footer.vue

+ 26
- 30
vue-theme/src/components/footer.vue Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 <template lang="pug">
2
-.footer-wrapper
3
-    footer.t-up.t-sans
2
+.footer-wrapper.f-col.t-up.t-sans
3
+    footer.f-row
4 4
         ul
5 5
             li
6 6
                 h5 Craft in America
@@ -11,26 +11,26 @@
11 11
                         li (310) 659-9022 office
12 12
                         li (323) 951-0610 center
13 13
                         li
14
-                            a(href="mailto:info@craftinamerica.org") info@craftinamerica.org
15
-        ul
14
+                            router-link(to="mailto:info@craftinamerica.org") info@craftinamerica.org
15
+        ul.f-row
16 16
             li
17 17
                 h5
18
-                    a(href="../episodes/") PBS Series
18
+                    router-link(to="/episodes") PBS Series
19 19
                     ul
20 20
                         li Episodes
21 21
                         li Shorts
22 22
                         li Techniques
23 23
             li
24 24
                 h5 
25
-                    a(href="../artists/") Artists
25
+                    router-link(to="/artists") Artists
26 26
                     ul
27 27
                         li
28
-                        a(href="../artists/by-alpha") A-Z
28
+                            router-link(to="/artists/by-alpha") A-Z
29 29
                         li 
30
-                        a(href="../artists/by-material") By Material
30
+                            router-link(to="/artists/by-material") By Material
31 31
             li
32 32
                 h5 
33
-                    a(href="../exhibitions/") Exhibitions
33
+                    router-link(to="/exhibitions/") Exhibitions
34 34
                     ul
35 35
                         li Current/Upcoming
36 36
                         li Past
@@ -38,24 +38,24 @@
38 38
                         li Explore Craft Objects
39 39
             li
40 40
                 h5
41
-                    a(href="../events/") Events
41
+                    router-link(to="/events") Events
42 42
                     ul
43 43
                         li Talks
44 44
             li
45 45
                 h5
46
-                    a(href="../center/") Center
46
+                    router-link(to="/center") Center
47 47
                     ul
48 48
                         li Publications
49 49
                         li Library
50 50
             li
51 51
                 h5
52
-                    a(href="../support/") Support
52
+                    router-link(to="/support") Support
53 53
                     ul
54 54
                         li Donate
55 55
                         li Shop
56 56
             li
57 57
                 h5
58
-                    a(href="../about/") About
58
+                    router-link(to="/about") About
59 59
                     ul
60 60
                         li Mission
61 61
                         li Staff
@@ -63,7 +63,7 @@
63 63
                         li Contact
64 64
             li
65 65
                 h5
66
-                    a(href="../posts/") News
66
+                    router-link(to="/posts") News
67 67
                     ul
68 68
                         li Blog Posts
69 69
                         li Press Releases
@@ -82,7 +82,7 @@
82 82
                             a(href="https://twitter.com/CraftinAmerica") Twitter
83 83
                         li
84 84
                             a(href="http://eepurl.com/hpwhn5") Join email list
85
-    .sub-footer.t-up.t-sans
85
+    .sub-footer
86 86
         ul
87 87
             li
88 88
                 p Craft in America &copy; 2010&ndash;2021
@@ -95,31 +95,16 @@
95 95
 <style lang="postcss">
96 96
 @import '../sss/variables.sss'
97 97
 
98
-.sub-footer
99
-    background-color: $cia_black
100
-    display: flex
101
-    justify-content: center
102
-    padding: 0.5em
103
-    font-size: 0.8em
104
-    ul
105
-        list-style: none
106
-        p
107
-            color: $cia_grey
108
-
109 98
 footer
110 99
     background-color: $cia_red
111 100
     color: $cia_white
112 101
     padding: 2em 2em 3em
113
-    display: flex
114
-    justify-content: center
115 102
     overflow: hidden
116 103
     flex-direction: column
117 104
     ul
118 105
         list-style: none
119
-        display: flex
120 106
         align-content: flex-start
121 107
         flex-direction: column
122
-        padding: 0
123 108
         margin: 0 0 1em
124 109
         li
125 110
             padding: 0.2em 0 0
@@ -128,4 +113,15 @@ footer
128 113
                 color: $cia_white
129 114
             a
130 115
                 color: $cia_white
116
+
117
+.sub-footer
118
+    width: $max-width
119
+    background-color: $cia_black
120
+    padding: 0.5em
121
+    font-size: 0.8em
122
+    ul
123
+        list-style: none
124
+        p
125
+            color: $cia_grey
126
+
131 127
 </style>

Ładowanie…
Anuluj
Zapisz