Skip to content

Commit 8b07024

Browse files
authored
Added footer for Italy Accesibility requirement (microsoft#2543)
1 parent 95d050b commit 8b07024

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

packages/typescriptlang-org/src/components/layout/SiteFooter.scss

+16-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
a {
1414
color: white;
15+
display: inline-block;
1516
}
1617

1718
section {
@@ -60,6 +61,7 @@
6061
@media (max-width: $screen-sm) {
6162
li {
6263
margin-left: 10px;
64+
6365
p {
6466
width: 100%;
6567
}
@@ -75,18 +77,23 @@
7577
h3 {
7678
width: 240px;
7779
}
80+
7881
display: flex;
7982
flex-direction: row;
83+
8084
@media (max-width: $screen-sm) {
8185
flex-direction: column;
8286
margin-bottom: 1rem;
87+
8388
label {
8489
margin-left: 8px;
8590
}
8691
}
92+
8793
label {
8894
display: flex;
8995
flex-direction: row;
96+
9097
p {
9198
margin: 0;
9299
padding: 0;
@@ -124,14 +131,15 @@
124131
}
125132
}
126133

127-
article > ul {
134+
article>ul {
128135
display: flex;
129136
flex-wrap: wrap;
130137

131-
> li {
138+
>li {
132139
@media (min-width: $screen-sm) {
133140
width: 50%;
134141
}
142+
135143
margin-bottom: 0.8rem;
136144
word-break: break-all;
137145
}
@@ -140,6 +148,7 @@
140148
#logos {
141149
width: 200px;
142150
margin-right: 40px;
151+
143152
svg {
144153
margin-bottom: -0.8rem;
145154
}
@@ -148,6 +157,7 @@
148157
img {
149158
filter: invert(100%);
150159
}
160+
151161
svg path {
152162
fill: black;
153163
}
@@ -177,6 +187,7 @@
177187
}
178188

179189
@media (max-width: $screen-sm) {
190+
180191
// This was sneakily making site wider than
181192
// the viewport because it uses opacity which affects layout
182193
#playground-samples-popover {
@@ -196,7 +207,7 @@
196207
.examples {
197208
overflow-y: auto;
198209

199-
> div.section-content .section-list {
210+
>div.section-content .section-list {
200211
width: 300px;
201212
}
202213
}
@@ -267,6 +278,7 @@
267278
padding: 20px;
268279
width: 320px;
269280
}
281+
270282
border-bottom: 1px solid $ts-main-blue-darker-color;
271283
border-radius: 0;
272284
}
@@ -275,4 +287,4 @@
275287
color: $ts-main-blue-color;
276288
text-decoration: none;
277289
}
278-
}
290+
}

packages/typescriptlang-org/src/components/layout/SiteFooter.tsx

+7
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,13 @@ export const SiteFooter = (props: Props) => {
282282
>
283283
Privacy
284284
</a>
285+
<a
286+
style={{ paddingLeft: "0.8rem" }}
287+
href="https://www.microsoft.com/it-it/accessibility/declarations"
288+
title="Italy Digital Accessibility Requirements"
289+
>
290+
Accessibilità
291+
</a>
285292
</p>
286293
</article>
287294

0 commit comments

Comments
 (0)