NEXT craftinamerica.org. Base setup for headless wordpress https://www.craftinamerica.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

footer.vue 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <template lang="pug">
  2. .footer-wrapper.t-up.t-sans
  3. footer.main.w-max.f-row.between
  4. ul.f-col
  5. //- address contact
  6. li
  7. h4 Craft in America
  8. ul
  9. li 8415 W. Third St.
  10. li Los Angeles, CA 90048
  11. li Tues–Sat, 12PM–6PM
  12. li (310) 659-9022 office
  13. li (323) 951-0610 center
  14. li
  15. router-link(to="mailto:info@craftinamerica.org") info@craftinamerica.org
  16. //- social media
  17. li
  18. h4 Connect with Us
  19. ul.f-row
  20. li
  21. h3
  22. a(href="https://www.facebook.com/CraftinAmerica")
  23. //- img(src="../assets/facebook-brands.svg")
  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")
  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")
  27. li
  28. h3
  29. a(href="http://www.youtube.com/user/craftinamerica")
  30. //- img(src="../star.svg")
  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")
  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")
  34. li
  35. h3
  36. a(href="http://www.instagram.com/craftinamerica")
  37. //- img(src="../star.svg")
  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")
  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")
  41. li
  42. h3
  43. a(href="https://twitter.com/CraftinAmerica")
  44. //- img(src="../star.svg")
  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")
  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")
  48. 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
  51. //- menu links
  52. ul.f-col
  53. li
  54. h5
  55. router-link(to="/episode") PBS Series
  56. ul.f-col.start
  57. li
  58. router-link(to="/episode") &nbsp; Episodes
  59. li
  60. router-link(to="/short") &nbsp; Shorts
  61. li
  62. router-link(to="/technique") &nbsp; Techniques
  63. li
  64. h5
  65. router-link(to="/artist") Artists
  66. ul.f-col
  67. li
  68. router-link(to="/artist/sorted/by-alpha") &nbsp; A-Z
  69. li
  70. router-link(to="/artist/sorted/by-material") &nbsp; by Material
  71. li
  72. h5
  73. router-link(to="/exhibition") Exhibitions
  74. ul.f-col
  75. li
  76. router-link(to="/exhibition/sorted/by-current-and-upcoming") &nbsp; Current/Upcoming
  77. li
  78. router-link(to="/object") &nbsp; Objects
  79. li
  80. h5
  81. router-link(to="/page/center") Center
  82. ul.f-col
  83. li
  84. router-link(to="/page/center") &nbsp; Info
  85. li
  86. router-link(to="/exhibition") &nbsp; Exhibitions
  87. li
  88. router-link(to="/event/sorted/by-current-and-upcoming") &nbsp; Events
  89. li
  90. router-link(to="/event?type=talks") &nbsp; Talks &amp; Interviews
  91. li
  92. h5
  93. router-link(to="") Education
  94. ul.f-col
  95. li
  96. router-link(to="/guide") &nbsp; Guides
  97. li
  98. router-link(to="/publication") &nbsp; Publications
  99. li
  100. router-link(to="/page/library") &nbsp; Library
  101. li
  102. h5
  103. router-link(to="") News
  104. ul.f-col
  105. li
  106. router-link(to="/blog") &nbsp; Blog Posts
  107. li
  108. router-link(to="/posts?type=releases") &nbsp; Press Releases
  109. li
  110. router-link(to="/posts?type=articles") &nbsp; In the News
  111. .sub-footer.f-col.start
  112. h6 Craft in America &copy; 2010&ndash;{{ today }}
  113. //- actually the bottom of the page
  114. </template>
  115. <script>
  116. export default {
  117. computed: {
  118. today() {
  119. const today = new Date()
  120. return today.getFullYear()
  121. },
  122. },
  123. }
  124. </script>
  125. <style lang="postcss">
  126. // prettier-ignore
  127. @import '../sss/variables.sss'
  128. @import '../sss/theme.sss'
  129. .footer-wrapper
  130. width: 100%
  131. background-color: $cia_red
  132. footer.main
  133. display: flex
  134. flex-wrap: wrap
  135. align-items: flex-start
  136. min-width: $min-width
  137. /* background-color: $cia_red */
  138. // ALL <ul> tags
  139. ul
  140. list-style: none
  141. /* width: 100% */
  142. > li
  143. width: 100%
  144. // OUTER <ul> tags
  145. > ul
  146. padding: $ms-0
  147. &:nth-child(n+2)
  148. /* padding: 0 $ms-0 $ms-3 $ms-0 */
  149. > li
  150. color: $cia_white
  151. padding: 0 0 $ms--6
  152. h4
  153. margin: $ms-0 0 $ms--3
  154. h5
  155. /* margin: $ms-0 0 $ms--1 */
  156. margin: $ms-0 0 0
  157. a, a:link, a:visited
  158. color: $cia_white
  159. text-decoration: none
  160. a:hover
  161. color: $light
  162. /* background: $light */
  163. /* Hovered links */
  164. a:active
  165. color: $cia_red2
  166. /* Activated links */
  167. ul
  168. align-items: flex-start
  169. > li
  170. padding: 0 0 $ms--5
  171. svg
  172. height: 1.5em
  173. .sub-footer
  174. background-color: #820000
  175. padding: $ms--4
  176. h6
  177. font-size: $ms--2
  178. color: $cia_grey
  179. margin: 0
  180. /* 768px */
  181. @media (min-width: $medium)
  182. footer.main > ul
  183. /* background-color: darkgreen */
  184. background-color: $cia_red
  185. &:nth-child(n+2)
  186. align-items: flex-start
  187. flex-direction: row
  188. flex-wrap: wrap
  189. > li
  190. width: 32%
  191. /* 960px */
  192. @media (min-width: $large)
  193. footer.main > ul
  194. /* background-color: purple */
  195. background-color: $cia_red
  196. &:nth-child(n+2)
  197. > li
  198. width: 33%
  199. /* 1080px */
  200. @media (min-width: $extra-large)
  201. footer.main > ul
  202. /* background-color: rebeccapurple */
  203. background-color: $cia_red
  204. &:nth-child(n+2)
  205. /* margin: 0 0 $ms-2 0 */
  206. > li
  207. width: 43%
  208. /* 1200px */
  209. @media (min-width: $huge)
  210. footer.main
  211. max-width: $max-width
  212. margin: 0 auto
  213. > ul
  214. /* background-color: orange */
  215. background-color: $cia_red
  216. /* 1440px */
  217. @media (min-width: $ultra)
  218. footer.main
  219. > ul
  220. /* background-color: teal */
  221. background-color: $cia_red
  222. </style>