diff --git a/public/images/landing-2/hero/hero-image.jpg b/public/images/landing-2/hero/hero-image.jpg deleted file mode 100644 index bdf04b54..00000000 Binary files a/public/images/landing-2/hero/hero-image.jpg and /dev/null differ diff --git a/public/images/landing-2/team/team-03.png b/public/images/landing-2/team/team-03.png deleted file mode 100644 index f12ff515..00000000 Binary files a/public/images/landing-2/team/team-03.png and /dev/null differ diff --git a/public/images/landing-2/404.svg b/public/images/starter/404.svg similarity index 100% rename from public/images/landing-2/404.svg rename to public/images/starter/404.svg diff --git a/public/images/landing-2/about/about-image-01.jpg b/public/images/starter/about/about-image-01.jpg similarity index 100% rename from public/images/landing-2/about/about-image-01.jpg rename to public/images/starter/about/about-image-01.jpg diff --git a/public/images/landing-2/about/about-image-02.jpg b/public/images/starter/about/about-image-02.jpg similarity index 100% rename from public/images/landing-2/about/about-image-02.jpg rename to public/images/starter/about/about-image-02.jpg diff --git a/public/images/landing-2/blog/article-author-01.png b/public/images/starter/blog/article-author-01.png similarity index 100% rename from public/images/landing-2/blog/article-author-01.png rename to public/images/starter/blog/article-author-01.png diff --git a/public/images/landing-2/blog/article-author-02.png b/public/images/starter/blog/article-author-02.png similarity index 100% rename from public/images/landing-2/blog/article-author-02.png rename to public/images/starter/blog/article-author-02.png diff --git a/public/images/landing-2/blog/article-author-03.png b/public/images/starter/blog/article-author-03.png similarity index 100% rename from public/images/landing-2/blog/article-author-03.png rename to public/images/starter/blog/article-author-03.png diff --git a/public/images/landing-2/blog/article-author-04.png b/public/images/starter/blog/article-author-04.png similarity index 100% rename from public/images/landing-2/blog/article-author-04.png rename to public/images/starter/blog/article-author-04.png diff --git a/public/images/landing-2/blog/author-01.png b/public/images/starter/blog/author-01.png similarity index 100% rename from public/images/landing-2/blog/author-01.png rename to public/images/starter/blog/author-01.png diff --git a/public/images/landing-2/blog/bannder-ad.png b/public/images/starter/blog/bannder-ad.png similarity index 100% rename from public/images/landing-2/blog/bannder-ad.png rename to public/images/starter/blog/bannder-ad.png diff --git a/public/images/landing-2/blog/blog-01.jpg b/public/images/starter/blog/blog-01.jpg similarity index 100% rename from public/images/landing-2/blog/blog-01.jpg rename to public/images/starter/blog/blog-01.jpg diff --git a/public/images/landing-2/blog/blog-02.jpg b/public/images/starter/blog/blog-02.jpg similarity index 100% rename from public/images/landing-2/blog/blog-02.jpg rename to public/images/starter/blog/blog-02.jpg diff --git a/public/images/landing-2/blog/blog-03.jpg b/public/images/starter/blog/blog-03.jpg similarity index 100% rename from public/images/landing-2/blog/blog-03.jpg rename to public/images/starter/blog/blog-03.jpg diff --git a/public/images/landing-2/blog/blog-details-01.jpg b/public/images/starter/blog/blog-details-01.jpg similarity index 100% rename from public/images/landing-2/blog/blog-details-01.jpg rename to public/images/starter/blog/blog-details-01.jpg diff --git a/public/images/landing-2/blog/blog-footer-01.jpg b/public/images/starter/blog/blog-footer-01.jpg similarity index 100% rename from public/images/landing-2/blog/blog-footer-01.jpg rename to public/images/starter/blog/blog-footer-01.jpg diff --git a/public/images/landing-2/blog/blog-footer-02.jpg b/public/images/starter/blog/blog-footer-02.jpg similarity index 100% rename from public/images/landing-2/blog/blog-footer-02.jpg rename to public/images/starter/blog/blog-footer-02.jpg diff --git a/public/images/landing-2/blog/dotted-shape.svg b/public/images/starter/blog/dotted-shape.svg similarity index 100% rename from public/images/landing-2/blog/dotted-shape.svg rename to public/images/starter/blog/dotted-shape.svg diff --git a/public/images/landing-2/blog/quote-bg.svg b/public/images/starter/blog/quote-bg.svg similarity index 100% rename from public/images/landing-2/blog/quote-bg.svg rename to public/images/starter/blog/quote-bg.svg diff --git a/public/images/landing-2/brands/ayroui-white.svg b/public/images/starter/brands/ayroui-white.svg similarity index 100% rename from public/images/landing-2/brands/ayroui-white.svg rename to public/images/starter/brands/ayroui-white.svg diff --git a/public/images/landing-2/brands/ayroui.svg b/public/images/starter/brands/ayroui.svg similarity index 100% rename from public/images/landing-2/brands/ayroui.svg rename to public/images/starter/brands/ayroui.svg diff --git a/public/images/landing-2/brands/graygrids-white.svg b/public/images/starter/brands/graygrids-white.svg similarity index 100% rename from public/images/landing-2/brands/graygrids-white.svg rename to public/images/starter/brands/graygrids-white.svg diff --git a/public/images/landing-2/brands/graygrids.svg b/public/images/starter/brands/graygrids.svg similarity index 100% rename from public/images/landing-2/brands/graygrids.svg rename to public/images/starter/brands/graygrids.svg diff --git a/public/images/landing-2/brands/lineicons-white.svg b/public/images/starter/brands/lineicons-white.svg similarity index 100% rename from public/images/landing-2/brands/lineicons-white.svg rename to public/images/starter/brands/lineicons-white.svg diff --git a/public/images/landing-2/brands/lineicons.svg b/public/images/starter/brands/lineicons.svg similarity index 100% rename from public/images/landing-2/brands/lineicons.svg rename to public/images/starter/brands/lineicons.svg diff --git a/public/images/landing-2/brands/tailgrids-white.svg b/public/images/starter/brands/tailgrids-white.svg similarity index 100% rename from public/images/landing-2/brands/tailgrids-white.svg rename to public/images/starter/brands/tailgrids-white.svg diff --git a/public/images/landing-2/brands/tailgrids.svg b/public/images/starter/brands/tailgrids.svg similarity index 100% rename from public/images/landing-2/brands/tailgrids.svg rename to public/images/starter/brands/tailgrids.svg diff --git a/public/images/landing-2/brands/uideck-white.svg b/public/images/starter/brands/uideck-white.svg similarity index 100% rename from public/images/landing-2/brands/uideck-white.svg rename to public/images/starter/brands/uideck-white.svg diff --git a/public/images/landing-2/brands/uideck.svg b/public/images/starter/brands/uideck.svg similarity index 100% rename from public/images/landing-2/brands/uideck.svg rename to public/images/starter/brands/uideck.svg diff --git a/public/images/landing-2/favicon.png b/public/images/starter/favicon.png similarity index 100% rename from public/images/landing-2/favicon.png rename to public/images/starter/favicon.png diff --git a/public/images/landing-2/footer/shape-1.svg b/public/images/starter/footer/shape-1.svg similarity index 100% rename from public/images/landing-2/footer/shape-1.svg rename to public/images/starter/footer/shape-1.svg diff --git a/public/images/landing-2/footer/shape-3.svg b/public/images/starter/footer/shape-3.svg similarity index 100% rename from public/images/landing-2/footer/shape-3.svg rename to public/images/starter/footer/shape-3.svg diff --git a/public/images/landing-2/hero/brand.svg b/public/images/starter/hero/brand.svg similarity index 100% rename from public/images/landing-2/hero/brand.svg rename to public/images/starter/hero/brand.svg diff --git a/public/images/starter/hero/hero-image.webp b/public/images/starter/hero/hero-image.webp new file mode 100644 index 00000000..9729bff6 Binary files /dev/null and b/public/images/starter/hero/hero-image.webp differ diff --git a/public/images/landing-2/logo/favicon.svg b/public/images/starter/logo/favicon.svg similarity index 100% rename from public/images/landing-2/logo/favicon.svg rename to public/images/starter/logo/favicon.svg diff --git a/public/images/landing-2/logo/logo-white.svg b/public/images/starter/logo/logo-white.svg similarity index 100% rename from public/images/landing-2/logo/logo-white.svg rename to public/images/starter/logo/logo-white.svg diff --git a/public/images/landing-2/logo/logo.svg b/public/images/starter/logo/logo.svg similarity index 100% rename from public/images/landing-2/logo/logo.svg rename to public/images/starter/logo/logo.svg diff --git a/public/images/landing-2/team/dotted-shape.svg b/public/images/starter/team/dotted-shape.svg similarity index 100% rename from public/images/landing-2/team/dotted-shape.svg rename to public/images/starter/team/dotted-shape.svg diff --git a/public/images/landing-2/team/shape-2.svg b/public/images/starter/team/shape-2.svg similarity index 100% rename from public/images/landing-2/team/shape-2.svg rename to public/images/starter/team/shape-2.svg diff --git a/public/images/landing-2/team/team-01.png b/public/images/starter/team/team-01.png similarity index 100% rename from public/images/landing-2/team/team-01.png rename to public/images/starter/team/team-01.png diff --git a/public/images/landing-2/team/team-02.png b/public/images/starter/team/team-02.png similarity index 100% rename from public/images/landing-2/team/team-02.png rename to public/images/starter/team/team-02.png diff --git a/public/images/starter/team/team-03.png b/public/images/starter/team/team-03.png new file mode 100644 index 00000000..cc0026bf Binary files /dev/null and b/public/images/starter/team/team-03.png differ diff --git a/public/images/landing-2/team/team-04.png b/public/images/starter/team/team-04.png similarity index 100% rename from public/images/landing-2/team/team-04.png rename to public/images/starter/team/team-04.png diff --git a/public/images/landing-2/testimonials/author-01.jpg b/public/images/starter/testimonials/author-01.jpg similarity index 100% rename from public/images/landing-2/testimonials/author-01.jpg rename to public/images/starter/testimonials/author-01.jpg diff --git a/public/images/landing-2/testimonials/author-02.jpg b/public/images/starter/testimonials/author-02.jpg similarity index 100% rename from public/images/landing-2/testimonials/author-02.jpg rename to public/images/starter/testimonials/author-02.jpg diff --git a/public/images/landing-2/testimonials/author-03.jpg b/public/images/starter/testimonials/author-03.jpg similarity index 100% rename from public/images/landing-2/testimonials/author-03.jpg rename to public/images/starter/testimonials/author-03.jpg diff --git a/public/images/landing-2/testimonials/icon-star.svg b/public/images/starter/testimonials/icon-star.svg similarity index 100% rename from public/images/landing-2/testimonials/icon-star.svg rename to public/images/starter/testimonials/icon-star.svg diff --git a/themes/starter/components/About.js b/themes/starter/components/About.js index 8279ec06..facf25d2 100644 --- a/themes/starter/components/About.js +++ b/themes/starter/components/About.js @@ -46,7 +46,7 @@ export const About = () => { class="mb-4 sm:mb-8 sm:h-[400px] md:h-[540px] lg:h-[400px] xl:h-[500px]" > about image @@ -58,7 +58,7 @@ export const About = () => { class="mb-4 sm:mb-8 sm:h-[220px] md:h-[346px] lg:mb-4 lg:h-[225px] xl:mb-8 xl:h-[310px]" > about image diff --git a/themes/starter/components/Blog.js b/themes/starter/components/Blog.js index 37249f0e..7b65e9d6 100644 --- a/themes/starter/components/Blog.js +++ b/themes/starter/components/Blog.js @@ -27,7 +27,7 @@ export const Blog = () => {
image @@ -61,7 +61,7 @@ export const Blog = () => {
image @@ -95,7 +95,7 @@ export const Blog = () => {
image diff --git a/themes/starter/components/Brand.js b/themes/starter/components/Brand.js index 555632fe..a2f26167 100644 --- a/themes/starter/components/Brand.js +++ b/themes/starter/components/Brand.js @@ -9,60 +9,60 @@ export const Brand = () => { > graygrids lineicons uideck ayroui tailgrids diff --git a/themes/starter/components/Footer.js b/themes/starter/components/Footer.js index 2b26ff7e..cc13cc14 100644 --- a/themes/starter/components/Footer.js +++ b/themes/starter/components/Footer.js @@ -14,7 +14,7 @@ export const Footer = () => { class="mb-6 inline-block max-w-[160px]" > logo @@ -230,7 +230,7 @@ export const Footer = () => { >
blog
@@ -246,7 +246,7 @@ export const Footer = () => { >
blog
@@ -314,11 +314,11 @@ export const Footer = () => {
- + - + diff --git a/themes/starter/components/Hero.js b/themes/starter/components/Hero.js index cb7faf50..a4889f54 100644 --- a/themes/starter/components/Hero.js +++ b/themes/starter/components/Hero.js @@ -1,3 +1,11 @@ +import { siteConfig } from '@/lib/config' +import CONFIG from '../config' +import SVGPlayBootstrap from './SVGPlayBoostrap' +import SVGPlayTailwind from './SVGPlayTailWind' +import SVGPlayReact from './SVGPlayReact' +import SVGPlayAstro from './SVGPlayAstro' +import SVGPlayNext from './SVGPlayNext' + export const Hero = () => { return <> {/* */} @@ -12,26 +20,28 @@ export const Hero = () => { className="hero-content wow fadeInUp mx-auto max-w-[780px] text-center" data-wow-delay=".2s" > + {/* 主标题 */}

- Open-Source Web Template for SaaS, Startup, Apps, and More + {siteConfig('STARTER_HERO_TITLE_1', null, CONFIG)}

+ {/* 次标题 */}

- Multidisciplinary Web Template Built with Your Favourite - Technology - HTML Bootstrap, Tailwind and React NextJS. + {siteConfig('STARTER_HERO_TITLE_2', null, CONFIG)}

+ {/* 按钮组 */}
+ + {/* 技术栈说明 */}

- Built with latest technology + {siteConfig('STARTER_HERO_BUTTON_3_TEXT', null, CONFIG)}

+ + {/* 产品技术栈图标 */} +
+
+ {/* 产品预览图片 */}
+ {/* eslint-disable-next-line @next/next/no-img-element */} hero @@ -1373,6 +1254,7 @@ export const Hero = () => {
+
diff --git a/themes/starter/components/Logo.js b/themes/starter/components/Logo.js index 22d1c500..5e34d8cf 100644 --- a/themes/starter/components/Logo.js +++ b/themes/starter/components/Logo.js @@ -39,7 +39,7 @@ export const Logo = () => { {/* eslint-disable-next-line @next/next/no-img-element */} logo diff --git a/themes/starter/components/MadeWithButton.js b/themes/starter/components/MadeWithButton.js index 34740d6d..8bdda3a6 100644 --- a/themes/starter/components/MadeWithButton.js +++ b/themes/starter/components/MadeWithButton.js @@ -14,12 +14,12 @@ export const MadeWithButton = () => { tailgrids diff --git a/themes/starter/components/MenuList.js b/themes/starter/components/MenuList.js index 932e4118..081e9933 100644 --- a/themes/starter/components/MenuList.js +++ b/themes/starter/components/MenuList.js @@ -56,9 +56,9 @@ export const MenuList = (props) => { links = customMenu } - if (!links || links.length === 0) { - return null - } + // if (!links || links.length === 0) { + // return null + // } return <>
diff --git a/themes/starter/components/NavBar.js b/themes/starter/components/NavBar.js index b8f374fb..8875ec03 100644 --- a/themes/starter/components/NavBar.js +++ b/themes/starter/components/NavBar.js @@ -5,6 +5,8 @@ import { MenuList } from './MenuList'; import { DarkModeButton } from './DarkModeButton'; import { Logo } from './Logo'; import { useRouter } from 'next/router'; +import { siteConfig } from '@/lib/config'; +import CONFIG from '../config'; /** * 顶部导航栏 @@ -58,16 +60,16 @@ export const NavBar = (props) => { {/* 注册登录功能 */}
- Sign In + {siteConfig('STARTER_NAV_BUTTON_1_TEXT', null, CONFIG)} - Sign Up + {siteConfig('STARTER_NAV_BUTTON_2_TEXT', null, CONFIG)}
diff --git a/themes/starter/components/SVGPlayAstro.js b/themes/starter/components/SVGPlayAstro.js new file mode 100644 index 00000000..3d9c8459 --- /dev/null +++ b/themes/starter/components/SVGPlayAstro.js @@ -0,0 +1,34 @@ +export default function SVGPlayAstro() { + return + + + + + + + + + + + + +} diff --git a/themes/starter/components/SVGPlayBoostrap.js b/themes/starter/components/SVGPlayBoostrap.js new file mode 100644 index 00000000..b42ee92c --- /dev/null +++ b/themes/starter/components/SVGPlayBoostrap.js @@ -0,0 +1,37 @@ +export default function SVGPlayBootstrap() { + return + + + + + + + + + +} diff --git a/themes/starter/components/SVGPlayNext.js b/themes/starter/components/SVGPlayNext.js new file mode 100644 index 00000000..88ba1513 --- /dev/null +++ b/themes/starter/components/SVGPlayNext.js @@ -0,0 +1,20 @@ +export default function SVGPlayNext() { + return + + + + +} diff --git a/themes/starter/components/SVGPlayReact.js b/themes/starter/components/SVGPlayReact.js new file mode 100644 index 00000000..2ad566cb --- /dev/null +++ b/themes/starter/components/SVGPlayReact.js @@ -0,0 +1,23 @@ +export default function SVGPlayReact() { + return + + + + + +} diff --git a/themes/starter/components/SVGPlayTailWind.js b/themes/starter/components/SVGPlayTailWind.js new file mode 100644 index 00000000..d0b4d397 --- /dev/null +++ b/themes/starter/components/SVGPlayTailWind.js @@ -0,0 +1,35 @@ +export default function SVGPlayTailwind() { + return + + + + + + + + + +} diff --git a/themes/starter/components/Team.js b/themes/starter/components/Team.js index 616be1df..68a01167 100644 --- a/themes/starter/components/Team.js +++ b/themes/starter/components/Team.js @@ -31,7 +31,7 @@ export const Team = () => { >
team image @@ -343,7 +343,7 @@ export const Team = () => { >
team image @@ -547,7 +547,7 @@ export const Team = () => { >
team image @@ -751,7 +751,7 @@ export const Team = () => { >
team image diff --git a/themes/starter/components/Testimonials.js b/themes/starter/components/Testimonials.js index c3734314..99cfbd30 100644 --- a/themes/starter/components/Testimonials.js +++ b/themes/starter/components/Testimonials.js @@ -84,23 +84,23 @@ export const Testimonials = () => { >
star icon star icon star icon star icon star icon
@@ -113,7 +113,7 @@ export const Testimonials = () => {
author @@ -137,23 +137,23 @@ export const Testimonials = () => { >
star icon star icon star icon star icon star icon
@@ -166,7 +166,7 @@ export const Testimonials = () => {
author @@ -192,23 +192,23 @@ export const Testimonials = () => { >
star icon star icon star icon star icon star icon
@@ -221,7 +221,7 @@ export const Testimonials = () => {
author @@ -247,23 +247,23 @@ export const Testimonials = () => { >
star icon star icon star icon star icon star icon
@@ -276,7 +276,7 @@ export const Testimonials = () => {
author @@ -300,23 +300,23 @@ export const Testimonials = () => { >
star icon star icon star icon star icon star icon
@@ -329,7 +329,7 @@ export const Testimonials = () => {
author @@ -355,23 +355,23 @@ export const Testimonials = () => { >
star icon star icon star icon star icon star icon
@@ -384,7 +384,7 @@ export const Testimonials = () => {
author diff --git a/themes/starter/config.js b/themes/starter/config.js index d1bfa78d..b4abf700 100644 --- a/themes/starter/config.js +++ b/themes/starter/config.js @@ -3,9 +3,24 @@ */ const CONFIG = { - STARTER_LOGO: '/images/landing-2/logo/logo.svg', // 普通logo - STARTER_LOGO_WHITE: '/images/landing-2/logo/logo-white.svg', // 透明底浅色logo + STARTER_LOGO: '/images/starter/logo/logo.svg', // 普通logo + STARTER_LOGO_WHITE: '/images/starter/logo/logo-white.svg', // 透明底浅色logo - STARTER_NEWSLETTER: process.env.NEXT_PUBLIC_THEME_LANDING_NEWSLETTER || false // 是否开启邮件订阅 请先配置mailchimp功能 https://docs.tangly1024.com/article/notion-next-mailchimp + STARTER_HERO_TITLE_1: 'Open-Source Web Template for SaaS, Startup, Apps, and More ', // 英雄区文字 + STARTER_HERO_TITLE_2: 'Multidisciplinary Web Template Built with Your Favourite Technology - HTML Bootstrap, Tailwind and React NextJS.', // 英雄区文字 + STARTER_HERO_TITLE_3: 'Built with latest technology ', // 英雄区文字 + STARTER_HERO_BUTTON_1_TEXT: 'Start Now', // 英雄区按钮 + STARTER_HERO_BUTTON_1_URL: 'https://docs.tangly1024.com/article/vercel-deploy-notion-next', // 英雄区按钮 + STARTER_HERO_BUTTON_2_TEXT: 'Star on Github', // 英雄区按钮 + STARTER_HERO_BUTTON_2_URL: 'https://github.com/tangly1024/NotionNext', // 英雄区按钮 + STARTER_HERO_PREVIEW_IMAGE: '/images/starter/hero/hero-image.webp', // 产品预览图 ,默认读取public目录下图片 + + STARTER_NAV_BUTTON_1_TEXT: 'Sign In', + STARTER_NAV_BUTTON_1_URL: '/signin', + + STARTER_NAV_BUTTON_2_TEXT: 'Sign Up', + STARTER_NAV_BUTTON_2_URL: '/signup', + + STARTER_NEWSLETTER: process.env.NEXT_PUBLIC_THEME_STARTER_NEWSLETTER || false // 是否开启邮件订阅 请先配置mailchimp功能 https://docs.tangly1024.com/article/notion-next-mailchimp } export default CONFIG diff --git a/themes/starter/index.js b/themes/starter/index.js index 906401fa..ac8d8626 100644 --- a/themes/starter/index.js +++ b/themes/starter/index.js @@ -129,7 +129,7 @@ const Layout404 = (props) => {
image