/** * A collection of popular layouts and patterns made with CSS (https://csslayout.io) * (c) 2019 - 2021 Nguyen Huu Phuoc */ import * as React from 'react'; import { Helmet } from 'react-helmet'; import Heading from '../../components/Heading'; import Pattern from '../../constants/Pattern'; import DetailsLayout from '../../layouts/DetailsLayout'; import BrowserFrame from '../../placeholders/BrowserFrame'; import Rectangle from '../../placeholders/Rectangle'; const Details: React.FC<{}> = () => { return (
...
`} css={` .container { /* Center the content */ align-items: center; display: flex; } .container__status { /* Background color */ background-color: rgb(66, 153, 225); /* Rounded border */ border-radius: 9999px; /* Size */ height: 8px; width: 8px; /* Spacing */ margin-right: 8px; } .container__content { /* Take available width */ flex: 1; } `} >
In review
Draft
Published
); }; export default Details;