MCPcopy Create free account
hub / github.com/adobe/react-spectrum / Footer

Function Footer

packages/dev/s2-docs/src/Layout.tsx:171–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169});
170
171function Footer() {
172 const year = new Date().getFullYear();
173 return (
174 <footer
175 className={style({
176 marginTop: 32,
177 paddingY: 12
178 })}>
179 <Divider size="S" />
180 <ul
181 className={style({
182 display: 'flex',
183 justifyContent: 'end',
184 flexWrap: 'wrap',
185 paddingX: 12,
186 margin: 0,
187 marginTop: 16,
188 font: 'body-2xs',
189 listStyleType: 'none'
190 })}>
191 <li>Copyright © {year} Adobe. All rights reserved.</li>
192 <li>
193 <Link isQuiet href="//www.adobe.com/privacy.html" variant="secondary">
194 Privacy
195 </Link>
196 </li>
197 <li>
198 <Link isQuiet href="//www.adobe.com/legal/terms.html" variant="secondary">
199 Terms of Use
200 </Link>
201 </li>
202 <li>
203 <Link isQuiet href="//www.adobe.com/privacy/cookies.html" variant="secondary">
204 Cookies
205 </Link>
206 </li>
207 <li>
208 <Link isQuiet href="//www.adobe.com/privacy/ca-rights.html" variant="secondary">
209 Do not sell my personal information
210 </Link>
211 </li>
212 </ul>
213 </footer>
214 );
215}
216
217export async function Layout(props: PageProps & {children: ReactElement<any>}) {
218 let {children} = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected