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 useDocumentTitle from '../hooks/useDocumentTitle';
|
||||||
import Layout from './Layout';
|
import Layout from './Layout';
|
||||||
import ProductHuntBadge from './ProductHuntBadge';
|
|
||||||
|
|
||||||
interface DetailsLayoutProps {
|
interface DetailsLayoutProps {
|
||||||
title: string;
|
title: string;
|
||||||
@@ -40,9 +39,6 @@ const DetailsLayout: React.FC<DetailsLayoutProps> = ({ title, children }) => {
|
|||||||
<span className='mx-2'>/</span>
|
<span className='mx-2'>/</span>
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
</div>
|
</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'>
|
<div className='xl:border-l xl:border-t xl:border-r xl:border-gray-400'>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
|
@@ -12,7 +12,6 @@ import Heading from '../components/Heading';
|
|||||||
import Pattern from '../constants/Pattern';
|
import Pattern from '../constants/Pattern';
|
||||||
import useDocumentTitle from '../hooks/useDocumentTitle';
|
import useDocumentTitle from '../hooks/useDocumentTitle';
|
||||||
import Layout from '../layouts/Layout';
|
import Layout from '../layouts/Layout';
|
||||||
import ProductHuntBadge from '../layouts/ProductHuntBadge';
|
|
||||||
|
|
||||||
const ExplorePage = () => {
|
const ExplorePage = () => {
|
||||||
useDocumentTitle('CSS Layout ∙ Explore');
|
useDocumentTitle('CSS Layout ∙ Explore');
|
||||||
@@ -52,10 +51,6 @@ const ExplorePage = () => {
|
|||||||
<div className='mb-5' style={{ textAlign: 'center' }}>
|
<div className='mb-5' style={{ textAlign: 'center' }}>
|
||||||
All covers you see in this page are made with CSS only. Inspect them! 🎉
|
All covers you see in this page are made with CSS only. Inspect them! 🎉
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='flex justify-center pb-5'>
|
|
||||||
<ProductHuntBadge />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@@ -13,7 +13,6 @@ import CoverCard from '../components/CoverCard';
|
|||||||
import Pattern from '../constants/Pattern';
|
import Pattern from '../constants/Pattern';
|
||||||
import useDocumentTitle from '../hooks/useDocumentTitle';
|
import useDocumentTitle from '../hooks/useDocumentTitle';
|
||||||
import Layout from '../layouts/Layout';
|
import Layout from '../layouts/Layout';
|
||||||
import ProductHuntBadge from '../layouts/ProductHuntBadge';
|
|
||||||
import MadeOf from './MadeOf';
|
import MadeOf from './MadeOf';
|
||||||
|
|
||||||
const HomePage = () => {
|
const HomePage = () => {
|
||||||
@@ -86,10 +85,6 @@ const HomePage = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='flex justify-center' style={{ margin: '24px 0' }}>
|
|
||||||
<ProductHuntBadge />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className="hljs"
|
className="hljs"
|
||||||
style={{
|
style={{
|
||||||
|
Reference in New Issue
Block a user