@@ -3,39 +3,39 @@ import { Icon } from "astro-icon/components";
33import NavLink from " ./NavLink.astro" ;
44
55const columns = [
6- [
7- " Resources" ,
8- [
9- [
10- " https://docs.google.com/forms/d/e/1FAIpQLScHe7aWQ-2n3lSTU1WfcK8rhBZp8pkDGH9EcJdbQb5lqMbbzA/viewform" ,
11- " propose a talk" ,
12- ],
13- [
14- " https://docs.google.com/forms/d/e/1FAIpQLSexe5qvmJ6LTiU1HcR-XAzlrgPLBudVBPK_ouHeBkFz2JVUHw/viewform" ,
15- " pitch a project" ,
16- ],
17- ],
18- ],
19- [
20- " About" ,
21- [
22- [" about" , " about" ],
23- [" about" , " meet the core team" ],
24- [" about" , " code of conduct" ],
25- [" mailto:hello@sfcivictech.org" , " contact" ],
26- ],
27- ],
28- [
29- " Elsewhere" ,
30- [
31- [" https://twitter.com/sfbrigade" , " twitter" , true ],
32- [" https://www.facebook.com/codeforsanfrancisco" , " facebook" , true ],
33- [" https://www.linkedin.com/company/18115347/" , " linkedin" , true ],
34- [" https://github.com/sfbrigade/" , " github" , true ],
35- [" https://c4sf.me/slack" , " slack" , true ],
36- [" https://www.meetup.com/sfcivictech/" , " meetup" , true ],
37- ],
38- ],
6+ [
7+ " Resources" ,
8+ [
9+ [
10+ " https://docs.google.com/forms/d/e/1FAIpQLScHe7aWQ-2n3lSTU1WfcK8rhBZp8pkDGH9EcJdbQb5lqMbbzA/viewform" ,
11+ " propose a talk" ,
12+ ],
13+ [
14+ " https://docs.google.com/forms/d/e/1FAIpQLSexe5qvmJ6LTiU1HcR-XAzlrgPLBudVBPK_ouHeBkFz2JVUHw/viewform" ,
15+ " pitch a project" ,
16+ ],
17+ ],
18+ ],
19+ [
20+ " About" ,
21+ [
22+ [" about" , " about" ],
23+ [" about" , " meet the core team" ],
24+ [" about" , " code of conduct" ],
25+ [" mailto:hello@sfcivictech.org" , " contact" ],
26+ ],
27+ ],
28+ [
29+ " Elsewhere" ,
30+ [
31+ [" https://twitter.com/sfbrigade" , " twitter" , true ],
32+ [" https://www.facebook.com/codeforsanfrancisco" , " facebook" , true ],
33+ [" https://www.linkedin.com/company/18115347/" , " linkedin" , true ],
34+ [" https://github.com/sfbrigade/" , " github" , true ],
35+ [" https://c4sf.me/slack" , " slack" , true ],
36+ [" https://www.meetup.com/sfcivictech/" , " meetup" , true ],
37+ ],
38+ ],
3939] as const ;
4040---
4141
@@ -48,10 +48,9 @@ const columns = [
4848 { links .map (([page , label , needsIcon ]) => (
4949 <li class = " footer-list-cat-list-item " >
5050 { needsIcon &&
51- // adding a class attribute to the <Icon> component works just fine
52- // but TS complains, so tell it to keep quiet
53- // @ts-ignore
54- <Icon name = { " fa:" + label } class = { " icon" } />
51+ // @ts-expect-error adding a class attribute to the <Icon> component
52+ // works just fine but TS complains, so tell it to keep quiet
53+ <Icon name = { " fa:" + label } class = " icon" />
5554 }
5655 <NavLink href = { page } >
5756 { label }
@@ -67,30 +66,30 @@ const columns = [
6766<style >
6867 h3 {
6968 font-size: 1.25rem;
70- margin: 0;
71- text-transform: uppercase;
72- }
69+ margin: 0;
70+ text-transform: uppercase;
71+ }
7372
74- ul {
73+ ul {
7574 --nav-element-spacing-horizontal: 0;
76- align-items: start;
77- display: flex;
78- flex-direction: column;
79- }
75+ align-items: start;
76+ display: flex;
77+ flex-direction: column;
78+ }
8079
8180 ul:first-of-type, ul:last-of-type {
8281 margin-left: initial;
8382 margin-right: initial;
8483 }
8584
86- li {
87- margin: 0;
88- padding: 0;
89- }
85+ li {
86+ margin: 0;
87+ padding: 0;
88+ }
9089
91- .icon {
92- display: inline-block;
93- min-width: 1.5rem;
94- text-align: center;
95- }
90+ .icon {
91+ display: inline-block;
92+ min-width: 1.5rem;
93+ text-align: center;
94+ }
9695</style >
0 commit comments