website refactor
This commit is contained in:
19
apps/website/ui/FooterSection.tsx
Normal file
19
apps/website/ui/FooterSection.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import React, { ReactNode } from 'react';
|
||||
import { Box } from './primitives/Box';
|
||||
|
||||
export interface FooterSectionProps {
|
||||
children: ReactNode;
|
||||
border?: boolean;
|
||||
}
|
||||
|
||||
export const FooterSection = ({ children, border = true }: FooterSectionProps) => {
|
||||
return (
|
||||
<Box
|
||||
marginTop={8}
|
||||
paddingTop={8}
|
||||
style={border ? { borderTop: '1px solid var(--ui-color-border-muted)', opacity: 0.8 } : {}}
|
||||
>
|
||||
{children}
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user