1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-17 03:24:18 +02:00

Refactor details view

This commit is contained in:
Phuoc Nguyen
2019-11-24 22:27:52 +07:00
parent 59c65079a3
commit 24d36dc1c6
38 changed files with 41 additions and 256 deletions

View File

@@ -3,7 +3,6 @@ import React, { useState } from 'react';
import RelatedPatterns from '../../components/RelatedPatterns';
import DetailsLayout from '../../layouts/DetailsLayout';
import BrowserFrame from '../../placeholders/BrowserFrame';
import SampleCode from '../../SampleCode';
const Details = () => {
const [isFirstChecked, setFirstChecked] = useState(false);
@@ -27,10 +26,7 @@ const Details = () => {
</div>
</div>
}
source={
<SampleCode
lang="html"
code={`
source={`
<!-- Container -->
<div style="
background-color: rgba(0, 0, 0, .1);
@@ -58,8 +54,6 @@ code={`
...
</div>
`}
/>
}
/>
</div>
<div className="bt b--black-20 relative">