1import React from 'react';
2import cn from 'classnames';
3import { Flex } from 'indigo-react';
5import Footer from './Footer';
6import useBreakpoints from 'lib/useBreakpoints';
8// View is a top-level component that all Views must render to inherit styling
9function View({ className, children, inset = false, full = false, ...rest }) {
10 const isMobile = useBreakpoints([true, false, false]);
11 const shouldInset = inset && !isMobile;
21 'mw2 ph9-md ph10-lg': full,
27 className={cn('pb5', {
38// View.Full is sugar for <View full /> to help with readability
39View.Full = function FullView(props) {
40 return <View full {...props} />;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list