1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-09-01 18:02:53 +02:00

Reorganize folders

This commit is contained in:
Phuoc Nguyen
2019-11-23 12:16:32 +07:00
parent 27d819400c
commit 614494b933
72 changed files with 38 additions and 38 deletions

View File

@@ -0,0 +1,19 @@
import React from 'react';
import Frame from '../../placeholders/Frame';
import Rectangle from '../../placeholders/Rectangle';
const Cover = () => {
return (
<Frame>
<div className="h-100 flex flex-column items-center justify-center">
<div className="flex items-center justify-between ba b--black-30 br2 w-80 pa2">
<div className="w-60"><Rectangle /></div>
<div className="black-70">&times;</div>
</div>
</div>
</Frame>
);
};
export default Cover;

View File

@@ -0,0 +1,45 @@
import React from 'react';
import DetailsLayout from '../../layouts/DetailsLayout';
import Block from '../../placeholders/Block';
import BrowserFrame from '../../placeholders/BrowserFrame';
import Circle from '../../placeholders/Circle';
import SampleCode from '../../SampleCode';
const Details = () => {
return (
<DetailsLayout title="Notification">
<BrowserFrame
content={
<div className="h-100 flex flex-column items-center justify-center">
<div className="b--black-30 ba br2 flex justify-between w-60">
<div className="pa3 w-80"><Block numberOfBlocks={5} /></div>
<button className="black-30 bn f2 flex h2 items-center justify-center w2" style={{ marginRight: '1px' }}>
<Circle />
</button>
</div>
</div>
}
source={
<SampleCode
lang="html"
code={`
<div style="
display: flex;
justify-content: space-between;
">
<!-- Content -->
...
<!-- Close button sticks to the right -->
...
</div>
`}
/>
}
/>
</DetailsLayout>
);
};
export default Details;