mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-06 06:07:33 +02:00
Remove PH badge
This commit is contained in:
@@ -8,7 +8,6 @@ import { Link } from 'react-router-dom';
|
||||
|
||||
import useDocumentTitle from '../hooks/useDocumentTitle';
|
||||
import Layout from './Layout';
|
||||
import ProductHuntBadge from './ProductHuntBadge';
|
||||
|
||||
interface DetailsLayoutProps {
|
||||
title: string;
|
||||
@@ -40,9 +39,6 @@ const DetailsLayout: React.FC<DetailsLayoutProps> = ({ title, children }) => {
|
||||
<span className='mx-2'>/</span>
|
||||
<h1>{title}</h1>
|
||||
</div>
|
||||
<div className='flex justify-center pb-5'>
|
||||
<ProductHuntBadge />
|
||||
</div>
|
||||
<div className='xl:border-l xl:border-t xl:border-r xl:border-gray-400'>
|
||||
{children}
|
||||
</div>
|
||||
|
@@ -12,7 +12,6 @@ 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');
|
||||
@@ -52,10 +51,6 @@ const ExplorePage = () => {
|
||||
<div className='mb-5' style={{ textAlign: 'center' }}>
|
||||
All covers you see in this page are made with CSS only. Inspect them! 🎉
|
||||
</div>
|
||||
|
||||
<div className='flex justify-center pb-5'>
|
||||
<ProductHuntBadge />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
|
@@ -13,7 +13,6 @@ 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 = () => {
|
||||
@@ -86,10 +85,6 @@ const HomePage = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className='flex justify-center' style={{ margin: '24px 0' }}>
|
||||
<ProductHuntBadge />
|
||||
</div>
|
||||
|
||||
<div
|
||||
className="hljs"
|
||||
style={{
|
||||
|
Reference in New Issue
Block a user