1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-19 12:21:23 +02:00

Add corner ribbon

This commit is contained in:
Phuoc Nguyen
2019-12-01 16:29:16 +07:00
parent a37a070ddb
commit b40575e3a5
7 changed files with 255 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react';
import { Link } from 'react-router-dom';
import DetailsLayout from '../../layouts/DetailsLayout';
import Block from '../../placeholders/Block';
@@ -10,6 +11,11 @@ const Details: React.FC<{}> = () => {
return (
<DetailsLayout title="Pricing table">
<div style={{ padding: '64px 32px' }}>
<div style={{ lineHeight: 1.5, marginBottom: '16px' }}>
You can
add <Link to='/patterns/corner-ribbon' style={{ textDecoration: 'none' }}>a ribbon</Link> to
indicate the most popular option.
</div>
<BrowserFrame
content={(
<div