Added Privacy Policy Page
This commit is contained in:
35
packages/website/ts/components/textList.tsx
Normal file
35
packages/website/ts/components/textList.tsx
Normal file
@@ -0,0 +1,35 @@
|
||||
import * as React from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
interface ListItemProps {
|
||||
children: string;
|
||||
}
|
||||
|
||||
interface OrderedListProps {
|
||||
marginBottom?: string;
|
||||
}
|
||||
|
||||
export const UnorderedList = styled.ul`
|
||||
list-style-type: disc;
|
||||
padding-left: 20px;
|
||||
`;
|
||||
|
||||
export const OrderedList = styled.ol<OrderedListProps>`
|
||||
list-style-type: decimal;
|
||||
padding-left: 20px;
|
||||
margin-bottom: ${props => props.marginBottom};
|
||||
`;
|
||||
|
||||
const Li = styled.li`
|
||||
padding: 0 0 0.8rem 0.2rem;
|
||||
position: relative;
|
||||
line-height: 1.4rem;
|
||||
text-align: left;
|
||||
font-weight: 300;
|
||||
opacity: 0.5;
|
||||
@media (max-width: 768px) {
|
||||
font-size: 15px;
|
||||
}
|
||||
`;
|
||||
|
||||
export const ListItem = (props: ListItemProps) => <Li>{props.children}</Li>;
|
Reference in New Issue
Block a user