From 2297777bd0dab1eeeda0c55883ee8eadf2f97a9f Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Tue, 11 Jul 2023 16:48:09 +0800 Subject: [PATCH] new-theme-plog --- components/HeroIcons.js | 21 +++++- themes/plog/components/BottomNav.js | 19 +++-- themes/plog/components/Footer.js | 18 ++--- themes/plog/components/InformationButton.js | 23 ++++++ themes/plog/components/MenuItemDrop.js | 4 +- themes/plog/components/Modal.js | 72 ++++++++++++++----- themes/plog/components/SlideOvers.js | 79 +++++++++++++++++++++ themes/plog/components/SocialButton.js | 45 ++++++++++++ themes/plog/index.js | 4 +- 9 files changed, 244 insertions(+), 41 deletions(-) create mode 100644 themes/plog/components/InformationButton.js create mode 100644 themes/plog/components/SlideOvers.js create mode 100644 themes/plog/components/SocialButton.js diff --git a/components/HeroIcons.js b/components/HeroIcons.js index 8da9fbfa..61e3ded8 100644 --- a/components/HeroIcons.js +++ b/components/HeroIcons.js @@ -32,4 +32,23 @@ const ArrowPath = ({ className }) => { } -export { Moon, Sun, Home, User, ArrowPath } + +const ChevronLeft = ({ className }) => { + return + + +} + +const ChevronRight = ({ className }) => { + return + + +} + +const InformationCircle = ({ className }) => { + return + + +} + +export { Moon, Sun, Home, User, ArrowPath, ChevronLeft, ChevronRight, InformationCircle } diff --git a/themes/plog/components/BottomNav.js b/themes/plog/components/BottomNav.js index 5567e3dc..0a1d3182 100644 --- a/themes/plog/components/BottomNav.js +++ b/themes/plog/components/BottomNav.js @@ -5,6 +5,7 @@ import CONFIG from '../config' import { SvgIcon } from './SvgIcon' import { MenuItemDrop } from './MenuItemDrop' import FullScreenButton from '@/components/FullScreenButton' +import InformationButton from './InformationButton' /** * 桌面端底部导航 @@ -15,7 +16,7 @@ const BottomNav = props => { const { navBarTitle, siteInfo } = props return <> -