1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 10:46:13 +02:00

Add product hunt badge

This commit is contained in:
Phuoc Nguyen
2019-12-02 21:24:01 +07:00
parent 4bcf4f6af1
commit af97b83447
5 changed files with 41 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ import Heading from '../components/Heading';
import Pattern from '../constants/Pattern';
import useDocumentTitle from '../hooks/useDocumentTitle';
import Layout from '../layouts/Layout';
import ProductHuntBadge from '../layouts/ProductHuntBadge';
const ExplorePage = () => {
useDocumentTitle('CSS Layout ∙ Explore');
@@ -67,6 +68,10 @@ const ExplorePage = () => {
All covers you see in this page are made with CSS only. Inspect them! 🎉
</div>
<div style={{ margin: '24px 0', textAlign: 'center' }}>
<ProductHuntBadge />
</div>
<section>
<Heading title="Layouts" />

View File

@@ -7,6 +7,7 @@ import CoverCard from '../components/CoverCard';
import Pattern from '../constants/Pattern';
import useDocumentTitle from '../hooks/useDocumentTitle';
import Layout from '../layouts/Layout';
import ProductHuntBadge from '../layouts/ProductHuntBadge';
import MadeOf from './MadeOf';
const HomePage = () => {
@@ -76,6 +77,10 @@ const HomePage = () => {
</div>
</div>
<div style={{ margin: '24px 0', textAlign: 'center' }}>
<ProductHuntBadge />
</div>
<div
className="hljs"
style={{