Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions documentation/src/theme/Root.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import React from 'react';
import type { ReactNode } from 'react';

interface Props {
children: ReactNode;
}

export default function Root({ children }: Props): JSX.Element {
return (
<>
<div
style={{
backgroundColor: 'var(--ifm-color-primary)',
color: '#000',
padding: '8px 16px',
textAlign: 'center',
fontSize: '14px',
fontWeight: '500',
position: 'relative',
zIndex: 1000,
lineHeight: '1.3',
}}
>
Join our hackathon to build next-gen interfaces with goose and win prizes.{' '}
<a
href="https://nokeyboardsallowed.dev"
target="_blank"
rel="noopener noreferrer"
style={{
color: '#000',
textDecoration: 'underline',
fontWeight: '700',
}}
>
Deadline Nov 14
</a>
.
</div>
{children}
</>
);
}
Loading