mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
26 lines
553 B
JavaScript
26 lines
553 B
JavaScript
import { Container, BaseStyles } from 'theme-ui'
|
|
|
|
export default function AnnouncementHolder({ children }) {
|
|
return (
|
|
<Container
|
|
as={BaseStyles}
|
|
variant="copy"
|
|
sx={{
|
|
py: [4, 5],
|
|
fontSize: [2, 3],
|
|
h1: {
|
|
textAlign: ['left', 'center'],
|
|
color: 'cyan',
|
|
my: 4,
|
|
a: { color: 'inherit' }
|
|
},
|
|
'a[href^="#fn-"], a[href^="#fnref-"]': {
|
|
textDecoration: 'none',
|
|
color: 'inherit'
|
|
}
|
|
}}
|
|
>
|
|
{children}
|
|
</Container>
|
|
)
|
|
}
|