theme-starter

This commit is contained in:
tangly1024.com
2024-02-08 16:39:36 +08:00
parent a3611610a7
commit 5de570ba5e
24 changed files with 396 additions and 316 deletions

View File

@@ -16,16 +16,11 @@ function scanSubdirectories(directory) {
const subdirectories = []
fs.readdirSync(directory).forEach(file => {
// 这段代码会将landing排除在可选主题中
// const fullPath = path.join(directory, file)
// const stats = fs.statSync(fullPath)
// landing主题默认隐藏掉一般网站不会用到
// if (stats.isDirectory() && file !== 'landing') {
// subdirectories.push(file)
// }
subdirectories.push(file)
const fullPath = path.join(directory, file)
const stats = fs.statSync(fullPath)
if (stats.isDirectory()) {
subdirectories.push(file)
}
})
return subdirectories

View File

@@ -31,7 +31,7 @@ export const About = () => {
</p>
<a
href="javascript:void(0)"
class="inline-flex items-center justify-center rounded-md border border-primary bg-primary px-7 py-3 text-center text-base font-medium text-white hover:border-blue-dark hover:bg-blue-dark"
>
Know More
@@ -107,11 +107,11 @@ export const About = () => {
y2="178.431"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="white" />
<stop stopColor="white" />
<stop
offset="1"
stop-color="white"
stop-opacity="0"
stopColor="white"
stopOpacity="0"
/>
</linearGradient>
</defs>
@@ -143,11 +143,11 @@ export const About = () => {
y2="133.937"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="white" />
<stop stopColor="white" />
<stop
offset="1"
stop-color="white"
stop-opacity="0"
stopColor="white"
stopOpacity="0"
/>
</linearGradient>
</defs>
@@ -179,11 +179,11 @@ export const About = () => {
y2="256.79"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="white" />
<stop stopColor="white" />
<stop
offset="1"
stop-color="white"
stop-opacity="0"
stopColor="white"
stopOpacity="0"
/>
</linearGradient>
</defs>

View File

@@ -31,16 +31,18 @@ export const BackToTopButton = () => {
t--;
return (-c / 2) * (t * (t - 2) - 1) + b;
};
document.querySelector('.back-to-top').onclick = () => {
scrollTo(document.documentElement);
};
const backToTop = document.querySelector('.back-to-top')
if (backToTop) {
backToTop.onclick = () => {
scrollTo(document.documentElement);
};
}
window.addEventListener('scroll', navBarScollListener)
return () => {
window.removeEventListener('scroll', navBarScollListener)
}
})
}, [])
// 滚动监听
const throttleMs = 200
@@ -49,20 +51,17 @@ export const BackToTopButton = () => {
const scrollY = window.scrollY;
// 显示或隐藏返回顶部按钮
const backToTop = document.querySelector('.back-to-top');
backToTop.style.display = scrollY > 50 ? 'flex' : 'none';
if (backToTop) {
backToTop.style.display = scrollY > 50 ? 'flex' : 'none';
}
}, throttleMs)
)
return <>
{/* <!-- ====== Back To Top Start --> */}
<a
href="javascript:void(0)"
class="back-to-top fixed bottom-8 left-auto right-8 z-[999] hidden h-10 w-10 items-center justify-center rounded-md bg-primary text-white shadow-md transition duration-300 ease-in-out hover:bg-dark"
>
<span
class="mt-[6px] h-3 w-3 rotate-45 border-l border-t border-white"
></span>
</a>
<a className="back-to-top fixed bottom-8 left-auto right-8 z-[999] hidden h-10 w-10 items-center justify-center rounded-md bg-primary text-white shadow-md transition duration-300 ease-in-out hover:bg-dark">
<span className="mt-[6px] h-3 w-3 rotate-45 border-l border-t border-white" ></span>
</a>
{/* <!-- ====== Back To Top End --> */}
</>
}

View File

@@ -41,7 +41,7 @@ export const Blog = () => {
</span>
<h3>
<a
href="javascript:void(0)"
class="mb-4 inline-block text-xl font-semibold text-dark hover:text-primary dark:text-white dark:hover:text-primary sm:text-2xl lg:text-xl xl:text-2xl"
>
Meet AutoManage, the best AI management tools
@@ -75,7 +75,7 @@ export const Blog = () => {
</span>
<h3>
<a
href="javascript:void(0)"
class="mb-4 inline-block text-xl font-semibold text-dark hover:text-primary dark:text-white dark:hover:text-primary sm:text-2xl lg:text-xl xl:text-2xl"
>
How to earn more money as a wellness coach
@@ -109,7 +109,7 @@ export const Blog = () => {
</span>
<h3>
<a
href="javascript:void(0)"
class="mb-4 inline-block text-xl font-semibold text-dark hover:text-primary dark:text-white dark:hover:text-primary sm:text-2xl lg:text-xl xl:text-2xl"
>
The no-fuss guide to upselling and cross selling

View File

@@ -25,7 +25,7 @@ export const CTA = () => {
majority have suffered in some form.
</p>
<a
href="javascript:void(0)"
class="inline-block rounded-md border border-transparent bg-secondary px-7 py-3 text-base font-medium text-white transition hover:bg-[#0BB489]"
>
Start using Play

View File

@@ -6,7 +6,7 @@ export const DarkModeButton = () => {
const router = useRouter()
return <>
<label
for="themeSwitcher"
// for="themeSwitcher"
className="inline-flex cursor-pointer items-center"
aria-label="themeSwitcher"
name="themeSwitcher"
@@ -43,7 +43,7 @@ export const DarkModeButton = () => {
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#clip0_2172_3070)">
<g clipPath="url(#clip0_2172_3070)">
<path
d="M12 6.89999C9.18752 6.89999 6.90002 9.18749 6.90002 12C6.90002 14.8125 9.18752 17.1 12 17.1C14.8125 17.1 17.1 14.8125 17.1 12C17.1 9.18749 14.8125 6.89999 12 6.89999ZM12 15.4125C10.125 15.4125 8.58752 13.875 8.58752 12C8.58752 10.125 10.125 8.58749 12 8.58749C13.875 8.58749 15.4125 10.125 15.4125 12C15.4125 13.875 13.875 15.4125 12 15.4125Z"
/>

View File

@@ -50,7 +50,7 @@ export const Features = () => {
Lorem Ipsum is simply dummy text of the printing and industry.
</p>
<a
href="javascript:void(0)"
class="text-base font-medium text-dark hover:text-primary dark:text-white dark:hover:text-primary"
>
Learn More
@@ -85,7 +85,7 @@ export const Features = () => {
Lorem Ipsum is simply dummy text of the printing and industry.
</p>
<a
href="javascript:void(0)"
class="text-base font-medium text-dark hover:text-primary dark:text-white dark:hover:text-primary"
>
Learn More
@@ -152,7 +152,7 @@ export const Features = () => {
Lorem Ipsum is simply dummy text of the printing and industry.
</p>
<a
href="javascript:void(0)"
class="text-base font-medium text-dark hover:text-primary dark:text-white dark:hover:text-primary"
>
Learn More
@@ -199,7 +199,7 @@ export const Features = () => {
Lorem Ipsum is simply dummy text of the printing and industry.
</p>
<a
href="javascript:void(0)"
class="text-base font-medium text-dark hover:text-primary dark:text-white dark:hover:text-primary"
>
Learn More

View File

@@ -10,7 +10,7 @@ export const Footer = () => {
<div class="w-full px-4 sm:w-1/2 md:w-1/2 lg:w-4/12 xl:w-3/12">
<div class="mb-10 w-full">
<a
href="javascript:void(0)"
class="mb-6 inline-block max-w-[160px]"
>
<img
@@ -25,7 +25,7 @@ export const Footer = () => {
</p>
<div class="-mx-3 flex items-center">
<a
href="javascript:void(0)"
class="px-3 text-gray-7 hover:text-white"
>
<svg
@@ -42,7 +42,7 @@ export const Footer = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="px-3 text-gray-7 hover:text-white"
>
<svg
@@ -59,7 +59,7 @@ export const Footer = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="px-3 text-gray-7 hover:text-white"
>
<svg
@@ -82,7 +82,7 @@ export const Footer = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="px-3 text-gray-7 hover:text-white"
>
<svg
@@ -107,7 +107,7 @@ export const Footer = () => {
<ul>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
Home
@@ -115,7 +115,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
Features
@@ -123,7 +123,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
About
@@ -131,7 +131,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
Testimonial
@@ -146,7 +146,7 @@ export const Footer = () => {
<ul>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
How it works
@@ -154,7 +154,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
Privacy policy
@@ -162,7 +162,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
Terms of Service
@@ -170,7 +170,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
Refund policy
@@ -187,7 +187,7 @@ export const Footer = () => {
<ul>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
LineIcons
@@ -195,7 +195,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
Ecommerce HTML
@@ -203,7 +203,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
TailAdmin
@@ -211,7 +211,7 @@ export const Footer = () => {
</li>
<li>
<a
href="javascript:void(0)"
class="mb-3 inline-block text-base text-gray-7 hover:text-primary"
>
PlainAdmin
@@ -273,19 +273,19 @@ export const Footer = () => {
class="-mx-3 flex items-center justify-center md:justify-start"
>
<a
href="javascript:void(0)"
class="px-3 text-base text-gray-7 hover:text-white hover:underline"
>
Privacy policy
</a>
<a
href="javascript:void(0)"
class="px-3 text-base text-gray-7 hover:text-white hover:underline"
>
Legal notice
</a>
<a
href="javascript:void(0)"
class="px-3 text-base text-gray-7 hover:text-white hover:underline"
>
Terms of service

View File

@@ -3,33 +3,33 @@ export const Hero = () => {
{/* <!-- ====== Hero Section Start --> */}
<div
id="home"
class="relative overflow-hidden bg-primary pt-[120px] md:pt-[130px] lg:pt-[160px]"
className="relative overflow-hidden bg-primary pt-[120px] md:pt-[130px] lg:pt-[160px]"
>
<div class="container">
<div class="-mx-4 flex flex-wrap items-center">
<div class="w-full px-4">
<div className="container">
<div className="-mx-4 flex flex-wrap items-center">
<div className="w-full px-4">
<div
class="hero-content wow fadeInUp mx-auto max-w-[780px] text-center"
className="hero-content wow fadeInUp mx-auto max-w-[780px] text-center"
data-wow-delay=".2s"
>
<h1
class="mb-6 text-3xl font-bold leading-snug text-white sm:text-4xl sm:leading-snug lg:text-5xl lg:leading-[1.2]"
className="mb-6 text-3xl font-bold leading-snug text-white sm:text-4xl sm:leading-snug lg:text-5xl lg:leading-[1.2]"
>
Open-Source Web Template for SaaS, Startup, Apps, and More
</h1>
<p
class="mx-auto mb-9 max-w-[600px] text-base font-medium text-white sm:text-lg sm:leading-[1.44]"
className="mx-auto mb-9 max-w-[600px] text-base font-medium text-white sm:text-lg sm:leading-[1.44]"
>
Multidisciplinary Web Template Built with Your Favourite
Technology - HTML Bootstrap, Tailwind and React NextJS.
</p>
<ul
class="mb-10 flex flex-wrap items-center justify-center gap-5"
className="mb-10 flex flex-wrap items-center justify-center gap-5"
>
<li>
<a
href="https://links.tailgrids.com/play-download"
class="inline-flex items-center justify-center rounded-md bg-white px-7 py-[14px] text-center text-base font-medium text-dark shadow-1 transition duration-300 ease-in-out hover:bg-gray-2 hover:text-body-color"
className="inline-flex items-center justify-center rounded-md bg-white px-7 py-[14px] text-center text-base font-medium text-dark shadow-1 transition duration-300 ease-in-out hover:bg-gray-2 hover:text-body-color"
>
Download Now
</a>
@@ -38,17 +38,17 @@ export const Hero = () => {
<a
href="https://github.com/tailgrids/play-tailwind"
target="_blank"
class="flex items-center gap-4 rounded-md bg-white/[0.12] px-6 py-[14px] text-base font-medium text-white transition duration-300 ease-in-out hover:bg-white hover:text-dark" rel="noreferrer"
className="flex items-center gap-4 rounded-md bg-white/[0.12] px-6 py-[14px] text-base font-medium text-white transition duration-300 ease-in-out hover:bg-white hover:text-dark" rel="noreferrer"
>
<svg
class="fill-current"
className="fill-current"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#clip0_2005_10818)">
<g clipPath="url(#clip0_2005_10818)">
<path
d="M12 0.674805C5.625 0.674805 0.375 5.8498 0.375 12.2998C0.375 17.3998 3.7125 21.7498 8.3625 23.3248C8.9625 23.4373 9.15 23.0623 9.15 22.7998C9.15 22.5373 9.15 21.7873 9.1125 20.7748C5.8875 21.5248 5.2125 19.1998 5.2125 19.1998C4.6875 17.8873 3.9 17.5123 3.9 17.5123C2.85 16.7623 3.9375 16.7623 3.9375 16.7623C5.1 16.7998 5.7375 17.9623 5.7375 17.9623C6.75 19.7623 8.475 19.2373 9.1125 18.8998C9.225 18.1498 9.525 17.6248 9.8625 17.3248C7.3125 17.0623 4.575 16.0498 4.575 11.6248C4.575 10.3498 5.0625 9.3373 5.775 8.5498C5.6625 8.2873 5.25 7.0873 5.8875 5.4748C5.8875 5.4748 6.9 5.1748 9.1125 6.6748C10.05 6.4123 11.025 6.2623 12.0375 6.2623C13.05 6.2623 14.0625 6.3748 14.9625 6.6748C17.175 5.2123 18.15 5.4748 18.15 5.4748C18.7875 7.0498 18.4125 8.2873 18.2625 8.5498C19.0125 9.3373 19.4625 10.3873 19.4625 11.6248C19.4625 16.0498 16.725 17.0623 14.175 17.3248C14.5875 17.6998 14.9625 18.4498 14.9625 19.4998C14.9625 21.0748 14.925 22.3123 14.925 22.6873C14.925 22.9873 15.15 23.3248 15.7125 23.2123C20.2875 21.6748 23.625 17.3623 23.625 12.2248C23.5875 5.8498 18.375 0.674805 12 0.674805Z"
/>
@@ -64,20 +64,20 @@ export const Hero = () => {
</li>
</ul>
<div>
<p class="mb-4 text-center text-base font-medium text-white">
<p className="mb-4 text-center text-base font-medium text-white">
Built with latest technology
</p>
<div
class="wow fadeInUp flex items-center justify-center gap-4 text-center"
className="wow fadeInUp flex items-center justify-center gap-4 text-center"
data-wow-delay=".3s"
>
<a
href="https://github.com/uideck/play-bootstrap/"
class="text-white/60 duration-300 ease-in-out hover:text-white"
className="text-white/60 duration-300 ease-in-out hover:text-white"
target="_blank" rel="noreferrer"
>
<svg
class="fill-current"
className="fill-current"
width="41"
height="32"
viewBox="0 0 41 32"
@@ -99,8 +99,8 @@ export const Hero = () => {
</mask>
<g mask="url(#mask0_2005_10788)">
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M8.82951 0.048584C6.54719 0.048584 4.85835 2.04626 4.93395 4.21266C5.00655 6.29398 4.91223 8.98962 4.23366 11.1879C3.55264 13.3923 2.4017 14.7893 0.521393 14.9686V16.993C2.4017 17.1727 3.55264 18.5689 4.23358 20.7737C4.91223 22.9719 5.00647 25.6676 4.93387 27.7489C4.85827 29.915 6.54711 31.913 8.82983 31.913H32.2163C34.4987 31.913 36.1872 29.9153 36.1116 27.7489C36.039 25.6676 36.1333 22.9719 36.8119 20.7737C37.4929 18.5689 38.641 17.1721 40.5214 16.993V14.9686C38.6411 14.7889 37.493 13.3927 36.8119 11.1879C36.1332 8.9899 36.039 6.29398 36.1116 4.21266C36.1872 2.04654 34.4987 0.048584 32.2163 0.048584H8.82951ZM27.6401 19.6632C27.6401 22.6463 25.415 24.4554 21.7224 24.4554H15.4366C15.2568 24.4554 15.0844 24.3839 14.9572 24.2568C14.8301 24.1297 14.7587 23.9572 14.7587 23.7774V8.18422C14.7587 8.00442 14.8301 7.83194 14.9572 7.70482C15.0844 7.57766 15.2568 7.50626 15.4366 7.50626H21.6866C24.7656 7.50626 26.7863 9.17406 26.7863 11.7347C26.7863 13.5319 25.427 15.1409 23.6952 15.4228V15.5165C26.0526 15.7751 27.6401 17.408 27.6401 19.6632ZM21.037 9.65538H17.453V14.7179H20.4716C22.8052 14.7179 24.092 13.7782 24.092 12.0986C24.0917 10.5245 22.9855 9.65538 21.037 9.65538ZM17.453 16.7265V22.3055H21.1689C23.5986 22.3055 24.8856 21.3306 24.8856 19.4984C24.8856 17.6663 23.5625 16.7263 21.0126 16.7263L17.453 16.7265Z"
/>
</g>
@@ -109,11 +109,11 @@ export const Hero = () => {
<a
href="https://github.com/TailGrids/play-tailwind/"
class="text-white/60 duration-300 ease-in-out hover:text-white"
className="text-white/60 duration-300 ease-in-out hover:text-white"
target="_blank" rel="noreferrer"
>
<svg
class="fill-current"
className="fill-current"
width="41"
height="26"
viewBox="0 0 41 26"
@@ -143,11 +143,11 @@ export const Hero = () => {
<a
href="https://github.com/NextJSTemplates/play-nextjs"
class="text-white/60 duration-300 ease-in-out hover:text-white"
className="text-white/60 duration-300 ease-in-out hover:text-white"
target="_blank" rel="noreferrer"
>
<svg
class="fill-current"
className="fill-current"
width="41"
height="36"
viewBox="0 0 41 36"
@@ -165,18 +165,18 @@ export const Hero = () => {
<a
href="https://github.com/TailGrids/play-astro/"
class="text-white/60 duration-300 ease-in-out hover:text-white"
className="text-white/60 duration-300 ease-in-out hover:text-white"
target="_blank" rel="noreferrer"
>
<svg
class="mt-0.5 fill-current"
className="mt-0.5 fill-current"
width="30"
height="38"
viewBox="0 0 30 38"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#clip0_2412_2096)">
<g clipPath="url(#clip0_2412_2096)">
<path
d="M9.54022 32.0145C7.86872 30.4866 7.38074 27.2761 8.07717 24.9502C9.28468 26.4166 10.9578 26.8812 12.6908 27.1434C15.3662 27.548 17.9937 27.3967 20.479 26.1739C20.7633 26.0338 21.0261 25.8477 21.3368 25.6591C21.57 26.3357 21.6306 27.0187 21.5492 27.7139C21.3511 29.407 20.5086 30.7148 19.1685 31.7062C18.6326 32.1027 18.0656 32.4572 17.5121 32.8311C15.8119 33.9803 15.3519 35.3278 15.9907 37.2877C16.0059 37.3358 16.0195 37.3835 16.0538 37.5C15.1857 37.1114 14.5516 36.5456 14.0684 35.8018C13.5581 35.017 13.3153 34.1486 13.3026 33.209C13.2962 32.7518 13.2962 32.2905 13.2347 31.8397C13.0845 30.7407 12.5686 30.2486 11.5967 30.2203C10.5992 30.1912 9.81018 30.8078 9.60094 31.779C9.58497 31.8535 9.5618 31.9271 9.53863 32.0137L9.54022 32.0145Z"
/>
@@ -198,11 +198,11 @@ export const Hero = () => {
<a
href="https://github.com/NextJSTemplates/play-nextjs"
class="text-white/60 duration-300 ease-in-out hover:text-white"
className="text-white/60 duration-300 ease-in-out hover:text-white"
target="_blank" rel="noreferrer"
>
<svg
class="fill-current"
className="fill-current"
width="41"
height="40"
viewBox="0 0 41 40"
@@ -219,19 +219,19 @@ export const Hero = () => {
</div>
</div>
<div class="w-full px-4">
<div className="w-full px-4">
<div
class="wow fadeInUp relative z-10 mx-auto max-w-[845px]"
className="wow fadeInUp relative z-10 mx-auto max-w-[845px]"
data-wow-delay=".25s"
>
<div class="mt-16">
<div className="mt-16">
<img
src="/images/landing-2/hero/hero-image.jpg"
alt="hero"
class="mx-auto max-w-full rounded-t-xl rounded-tr-xl"
className="mx-auto max-w-full rounded-t-xl rounded-tr-xl"
/>
</div>
<div class="absolute -left-9 bottom-0 z-[-1]">
<div className="absolute -left-9 bottom-0 z-[-1]">
<svg
width="134"
height="106"
@@ -801,7 +801,7 @@ export const Hero = () => {
/>
</svg>
</div>
<div class="absolute -right-6 -top-6 z-[-1]">
<div className="absolute -right-6 -top-6 z-[-1]">
<svg
width="134"
height="106"

View File

@@ -1,3 +1,4 @@
import Link from 'next/link';
import { useRouter } from 'next/router';
import { useEffect } from 'react';
/**
@@ -50,19 +51,15 @@ export const MenuList = () => {
<ul className="blcok lg:flex 2xl:ml-20">
{/* MenuItem */}
<li className="group relative">
<a
href="#home"
<Link href="/"
className={`ud-menu-scroll mx-8 flex py-2 text-base font-medium text-dark group-hover:text-primary dark:text-white lg:mr-0 lg:inline-flex lg:px-0 lg:py-6 ${router.route === '/' ? 'lg:text-white lg:group-hover:text-white' : ''} lg:group-hover:opacity-70`}
>
Home1
</a>
</Link>
</li>
{/* 有子菜单的MenuItem */}
<li className="submenu-item group relative">
<a
href="javascript:void(0)"
className={`relative mx-8 flex items-center justify-between py-2 text-base font-medium text-dark group-hover:text-primary dark:text-white lg:ml-8 lg:mr-0 lg:inline-flex lg:py-6 lg:pl-0 lg:pr-4 ${router.route === '/' ? 'lg:text-white lg:group-hover:text-white' : ''} lg:group-hover:opacity-70 xl:ml-10`}
>
<a className={`relative mx-8 flex items-center justify-between py-2 text-base font-medium text-dark group-hover:text-primary dark:text-white lg:ml-8 lg:mr-0 lg:inline-flex lg:py-6 lg:pl-0 lg:pr-4 ${router.route === '/' ? 'lg:text-white lg:group-hover:text-white' : ''} lg:group-hover:opacity-70 xl:ml-10`}>
Pages
<svg
@@ -82,12 +79,12 @@ export const MenuList = () => {
className="submenu relative left-0 top-full hidden w-[250px] rounded-sm bg-white p-4 transition-[top] duration-300 group-hover:opacity-100 dark:bg-dark-2 lg:invisible lg:absolute lg:top-[110%] lg:block lg:opacity-0 lg:shadow-lg lg:group-hover:visible lg:group-hover:top-full"
>
{/* 子菜单SubMenuItem */}
<a
href="about.html"
<Link
href="/about"
className="block rounded px-4 py-[10px] text-sm text-body-color hover:text-primary dark:text-dark-6 dark:hover:text-primary"
>
About Page
</a>
</Link>
</div>
</li>
</ul>

View File

@@ -65,7 +65,7 @@ export const Pricing = () => {
</div>
</div>
<a
href="javascript:void(0)"
class="inline-block rounded-md bg-primary px-7 py-3 text-center text-base font-medium text-white transition hover:bg-blue-dark"
>
Purchase Now
@@ -117,7 +117,7 @@ export const Pricing = () => {
</div>
</div>
<a
href="javascript:void(0)"
class="inline-block rounded-md bg-primary px-7 py-3 text-center text-base font-medium text-white transition hover:bg-blue-dark"
>
Purchase Now
@@ -164,7 +164,7 @@ export const Pricing = () => {
</div>
</div>
<a
href="javascript:void(0)"
class="inline-block rounded-md bg-primary px-7 py-3 text-center text-base font-medium text-white transition hover:bg-blue-dark"
>
Purchase Now

View File

@@ -49,212 +49,212 @@ export const Team = () => {
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5118 3.1009C13.3681 3.1009 14.0622 2.40674 14.0622 1.55045C14.0622 0.69416 13.3681 0 12.5118 0C11.6555 0 10.9613 0.69416 10.9613 1.55045C10.9613 2.40674 11.6555 3.1009 12.5118 3.1009Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.5038 3.1009C23.3601 3.1009 24.0543 2.40674 24.0543 1.55045C24.0543 0.69416 23.3601 0 22.5038 0C21.6475 0 20.9534 0.69416 20.9534 1.55045C20.9534 2.40674 21.6475 3.1009 22.5038 3.1009Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.4958 3.1009C33.3521 3.1009 34.0463 2.40674 34.0463 1.55045C34.0463 0.69416 33.3521 0 32.4958 0C31.6395 0 30.9454 0.69416 30.9454 1.55045C30.9454 2.40674 31.6395 3.1009 32.4958 3.1009Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.4875 3.1009C43.3438 3.1009 44.038 2.40674 44.038 1.55045C44.038 0.69416 43.3438 0 42.4875 0C41.6312 0 40.9371 0.69416 40.9371 1.55045C40.9371 2.40674 41.6312 3.1009 42.4875 3.1009Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M52.4795 3.1009C53.3358 3.1009 54.03 2.40674 54.03 1.55045C54.03 0.69416 53.3358 0 52.4795 0C51.6233 0 50.9291 0.69416 50.9291 1.55045C50.9291 2.40674 51.6233 3.1009 52.4795 3.1009Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.52045 13.0804C3.37674 13.0804 4.0709 12.3862 4.0709 11.5299C4.0709 10.6737 3.37674 9.97949 2.52045 9.97949C1.66416 9.97949 0.970001 10.6737 0.970001 11.5299C0.970001 12.3862 1.66416 13.0804 2.52045 13.0804Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5118 13.0804C13.3681 13.0804 14.0622 12.3862 14.0622 11.5299C14.0622 10.6737 13.3681 9.97949 12.5118 9.97949C11.6555 9.97949 10.9613 10.6737 10.9613 11.5299C10.9613 12.3862 11.6555 13.0804 12.5118 13.0804Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.5038 13.0804C23.3601 13.0804 24.0543 12.3862 24.0543 11.5299C24.0543 10.6737 23.3601 9.97949 22.5038 9.97949C21.6475 9.97949 20.9534 10.6737 20.9534 11.5299C20.9534 12.3862 21.6475 13.0804 22.5038 13.0804Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.4958 13.0804C33.3521 13.0804 34.0463 12.3862 34.0463 11.5299C34.0463 10.6737 33.3521 9.97949 32.4958 9.97949C31.6395 9.97949 30.9454 10.6737 30.9454 11.5299C30.9454 12.3862 31.6395 13.0804 32.4958 13.0804Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.4875 13.0804C43.3438 13.0804 44.038 12.3862 44.038 11.5299C44.038 10.6737 43.3438 9.97949 42.4875 9.97949C41.6312 9.97949 40.9371 10.6737 40.9371 11.5299C40.9371 12.3862 41.6312 13.0804 42.4875 13.0804Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M52.4795 13.0804C53.3358 13.0804 54.03 12.3862 54.03 11.5299C54.03 10.6737 53.3358 9.97949 52.4795 9.97949C51.6233 9.97949 50.9291 10.6737 50.9291 11.5299C50.9291 12.3862 51.6233 13.0804 52.4795 13.0804Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.52045 23.0604C3.37674 23.0604 4.0709 22.3662 4.0709 21.5099C4.0709 20.6536 3.37674 19.9595 2.52045 19.9595C1.66416 19.9595 0.970001 20.6536 0.970001 21.5099C0.970001 22.3662 1.66416 23.0604 2.52045 23.0604Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5118 23.0604C13.3681 23.0604 14.0622 22.3662 14.0622 21.5099C14.0622 20.6536 13.3681 19.9595 12.5118 19.9595C11.6555 19.9595 10.9613 20.6536 10.9613 21.5099C10.9613 22.3662 11.6555 23.0604 12.5118 23.0604Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.5038 23.0604C23.3601 23.0604 24.0543 22.3662 24.0543 21.5099C24.0543 20.6536 23.3601 19.9595 22.5038 19.9595C21.6475 19.9595 20.9534 20.6536 20.9534 21.5099C20.9534 22.3662 21.6475 23.0604 22.5038 23.0604Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.4958 23.0604C33.3521 23.0604 34.0463 22.3662 34.0463 21.5099C34.0463 20.6536 33.3521 19.9595 32.4958 19.9595C31.6395 19.9595 30.9454 20.6536 30.9454 21.5099C30.9454 22.3662 31.6395 23.0604 32.4958 23.0604Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.4875 23.0604C43.3438 23.0604 44.038 22.3662 44.038 21.5099C44.038 20.6536 43.3438 19.9595 42.4875 19.9595C41.6312 19.9595 40.9371 20.6536 40.9371 21.5099C40.9371 22.3662 41.6312 23.0604 42.4875 23.0604Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M52.4795 23.0604C53.3358 23.0604 54.03 22.3662 54.03 21.5099C54.03 20.6536 53.3358 19.9595 52.4795 19.9595C51.6233 19.9595 50.9291 20.6536 50.9291 21.5099C50.9291 22.3662 51.6233 23.0604 52.4795 23.0604Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.52045 33.0404C3.37674 33.0404 4.0709 32.3462 4.0709 31.4899C4.0709 30.6336 3.37674 29.9395 2.52045 29.9395C1.66416 29.9395 0.970001 30.6336 0.970001 31.4899C0.970001 32.3462 1.66416 33.0404 2.52045 33.0404Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5118 33.0404C13.3681 33.0404 14.0622 32.3462 14.0622 31.4899C14.0622 30.6336 13.3681 29.9395 12.5118 29.9395C11.6555 29.9395 10.9613 30.6336 10.9613 31.4899C10.9613 32.3462 11.6555 33.0404 12.5118 33.0404Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.5038 33.0404C23.3601 33.0404 24.0543 32.3462 24.0543 31.4899C24.0543 30.6336 23.3601 29.9395 22.5038 29.9395C21.6475 29.9395 20.9534 30.6336 20.9534 31.4899C20.9534 32.3462 21.6475 33.0404 22.5038 33.0404Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.4958 33.0404C33.3521 33.0404 34.0463 32.3462 34.0463 31.4899C34.0463 30.6336 33.3521 29.9395 32.4958 29.9395C31.6395 29.9395 30.9454 30.6336 30.9454 31.4899C30.9454 32.3462 31.6395 33.0404 32.4958 33.0404Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.4875 33.0404C43.3438 33.0404 44.038 32.3462 44.038 31.4899C44.038 30.6336 43.3438 29.9395 42.4875 29.9395C41.6312 29.9395 40.9371 30.6336 40.9371 31.4899C40.9371 32.3462 41.6312 33.0404 42.4875 33.0404Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M52.4795 33.0404C53.3358 33.0404 54.03 32.3462 54.03 31.4899C54.03 30.6336 53.3358 29.9395 52.4795 29.9395C51.6233 29.9395 50.9291 30.6336 50.9291 31.4899C50.9291 32.3462 51.6233 33.0404 52.4795 33.0404Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.52045 43.0203C3.37674 43.0203 4.0709 42.3262 4.0709 41.4699C4.0709 40.6136 3.37674 39.9194 2.52045 39.9194C1.66416 39.9194 0.970001 40.6136 0.970001 41.4699C0.970001 42.3262 1.66416 43.0203 2.52045 43.0203Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5118 43.0203C13.3681 43.0203 14.0622 42.3262 14.0622 41.4699C14.0622 40.6136 13.3681 39.9194 12.5118 39.9194C11.6555 39.9194 10.9613 40.6136 10.9613 41.4699C10.9613 42.3262 11.6555 43.0203 12.5118 43.0203Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.5038 43.0203C23.3601 43.0203 24.0543 42.3262 24.0543 41.4699C24.0543 40.6136 23.3601 39.9194 22.5038 39.9194C21.6475 39.9194 20.9534 40.6136 20.9534 41.4699C20.9534 42.3262 21.6475 43.0203 22.5038 43.0203Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.4958 43.0203C33.3521 43.0203 34.0463 42.3262 34.0463 41.4699C34.0463 40.6136 33.3521 39.9194 32.4958 39.9194C31.6395 39.9194 30.9454 40.6136 30.9454 41.4699C30.9454 42.3262 31.6395 43.0203 32.4958 43.0203Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.4875 43.0203C43.3438 43.0203 44.038 42.3262 44.038 41.4699C44.038 40.6136 43.3438 39.9194 42.4875 39.9194C41.6312 39.9194 40.9371 40.6136 40.9371 41.4699C40.9371 42.3262 41.6312 43.0203 42.4875 43.0203Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M52.4795 43.0203C53.3358 43.0203 54.03 42.3262 54.03 41.4699C54.03 40.6136 53.3358 39.9194 52.4795 39.9194C51.6233 39.9194 50.9291 40.6136 50.9291 41.4699C50.9291 42.3262 51.6233 43.0203 52.4795 43.0203Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.52045 53.0001C3.37674 53.0001 4.0709 52.3059 4.0709 51.4496C4.0709 50.5933 3.37674 49.8992 2.52045 49.8992C1.66416 49.8992 0.970001 50.5933 0.970001 51.4496C0.970001 52.3059 1.66416 53.0001 2.52045 53.0001Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5118 53.0001C13.3681 53.0001 14.0622 52.3059 14.0622 51.4496C14.0622 50.5933 13.3681 49.8992 12.5118 49.8992C11.6555 49.8992 10.9613 50.5933 10.9613 51.4496C10.9613 52.3059 11.6555 53.0001 12.5118 53.0001Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.5038 53.0001C23.3601 53.0001 24.0543 52.3059 24.0543 51.4496C24.0543 50.5933 23.3601 49.8992 22.5038 49.8992C21.6475 49.8992 20.9534 50.5933 20.9534 51.4496C20.9534 52.3059 21.6475 53.0001 22.5038 53.0001Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.4958 53.0001C33.3521 53.0001 34.0463 52.3059 34.0463 51.4496C34.0463 50.5933 33.3521 49.8992 32.4958 49.8992C31.6395 49.8992 30.9454 50.5933 30.9454 51.4496C30.9454 52.3059 31.6395 53.0001 32.4958 53.0001Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.4875 53.0001C43.3438 53.0001 44.038 52.3059 44.038 51.4496C44.038 50.5933 43.3438 49.8992 42.4875 49.8992C41.6312 49.8992 40.9371 50.5933 40.9371 51.4496C40.9371 52.3059 41.6312 53.0001 42.4875 53.0001Z"
fill="#3758F9"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M52.4795 53.0001C53.3358 53.0001 54.03 52.3059 54.03 51.4496C54.03 50.5933 53.3358 49.8992 52.4795 49.8992C51.6233 49.8992 50.9291 50.5933 50.9291 51.4496C50.9291 52.3059 51.6233 53.0001 52.4795 53.0001Z"
fill="#3758F9"
/>
@@ -272,7 +272,7 @@ export const Team = () => {
</p>
<div class="flex items-center justify-center gap-5">
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -290,7 +290,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -308,7 +308,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -361,104 +361,104 @@ export const Team = () => {
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.54166 3.1009C3.39795 3.1009 4.09211 2.40674 4.09211 1.55045C4.09211 0.69416 3.39795 0 2.54166 0C1.68537 0 0.991211 0.69416 0.991211 1.55045C0.991211 2.40674 1.68537 3.1009 2.54166 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5338 3.1009C13.3901 3.1009 14.0843 2.40674 14.0843 1.55045C14.0843 0.69416 13.3901 0 12.5338 0C11.6776 0 10.9834 0.69416 10.9834 1.55045C10.9834 2.40674 11.6776 3.1009 12.5338 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 3.1009C23.3823 3.1009 24.0765 2.40674 24.0765 1.55045C24.0765 0.69416 23.3823 0 22.526 0C21.6697 0 20.9756 0.69416 20.9756 1.55045C20.9756 2.40674 21.6697 3.1009 22.526 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 3.1009C33.374 3.1009 34.0682 2.40674 34.0682 1.55045C34.0682 0.69416 33.374 0 32.5177 0C31.6614 0 30.9673 0.69416 30.9673 1.55045C30.9673 2.40674 31.6614 3.1009 32.5177 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 3.1009C43.3657 3.1009 44.0599 2.40674 44.0599 1.55045C44.0599 0.69416 43.3657 0 42.5094 0C41.6531 0 40.959 0.69416 40.959 1.55045C40.959 2.40674 41.6531 3.1009 42.5094 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5338 13.0804C13.3901 13.0804 14.0843 12.3862 14.0843 11.5299C14.0843 10.6737 13.3901 9.97949 12.5338 9.97949C11.6776 9.97949 10.9834 10.6737 10.9834 11.5299C10.9834 12.3862 11.6776 13.0804 12.5338 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 13.0804C23.3823 13.0804 24.0765 12.3862 24.0765 11.5299C24.0765 10.6737 23.3823 9.97949 22.526 9.97949C21.6697 9.97949 20.9756 10.6737 20.9756 11.5299C20.9756 12.3862 21.6697 13.0804 22.526 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 13.0804C33.374 13.0804 34.0682 12.3862 34.0682 11.5299C34.0682 10.6737 33.374 9.97949 32.5177 9.97949C31.6614 9.97949 30.9673 10.6737 30.9673 11.5299C30.9673 12.3862 31.6614 13.0804 32.5177 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 13.0804C43.3657 13.0804 44.0599 12.3862 44.0599 11.5299C44.0599 10.6737 43.3657 9.97949 42.5094 9.97949C41.6531 9.97949 40.959 10.6737 40.959 11.5299C40.959 12.3862 41.6531 13.0804 42.5094 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 23.0604C23.3823 23.0604 24.0765 22.3662 24.0765 21.5099C24.0765 20.6536 23.3823 19.9595 22.526 19.9595C21.6697 19.9595 20.9756 20.6536 20.9756 21.5099C20.9756 22.3662 21.6697 23.0604 22.526 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 23.0604C33.374 23.0604 34.0682 22.3662 34.0682 21.5099C34.0682 20.6536 33.374 19.9595 32.5177 19.9595C31.6614 19.9595 30.9673 20.6536 30.9673 21.5099C30.9673 22.3662 31.6614 23.0604 32.5177 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 23.0604C43.3657 23.0604 44.0599 22.3662 44.0599 21.5099C44.0599 20.6536 43.3657 19.9595 42.5094 19.9595C41.6531 19.9595 40.959 20.6536 40.959 21.5099C40.959 22.3662 41.6531 23.0604 42.5094 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 33.0404C33.374 33.0404 34.0682 32.3462 34.0682 31.4899C34.0682 30.6336 33.374 29.9395 32.5177 29.9395C31.6614 29.9395 30.9673 30.6336 30.9673 31.4899C30.9673 32.3462 31.6614 33.0404 32.5177 33.0404Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 33.0404C43.3657 33.0404 44.0599 32.3462 44.0599 31.4899C44.0599 30.6336 43.3657 29.9395 42.5094 29.9395C41.6531 29.9395 40.959 30.6336 40.959 31.4899C40.959 32.3462 41.6531 33.0404 42.5094 33.0404Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 43.0203C33.374 43.0203 34.0682 42.3262 34.0682 41.4699C34.0682 40.6136 33.374 39.9194 32.5177 39.9194C31.6614 39.9194 30.9673 40.6136 30.9673 41.4699C30.9673 42.3262 31.6614 43.0203 32.5177 43.0203Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 43.0203C43.3657 43.0203 44.0599 42.3262 44.0599 41.4699C44.0599 40.6136 43.3657 39.9194 42.5094 39.9194C41.6531 39.9194 40.959 40.6136 40.959 41.4699C40.959 42.3262 41.6531 43.0203 42.5094 43.0203Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 52.9998C43.3657 52.9998 44.0599 52.3057 44.0599 51.4494C44.0599 50.5931 43.3657 49.8989 42.5094 49.8989C41.6531 49.8989 40.959 50.5931 40.959 51.4494C40.959 52.3057 41.6531 52.9998 42.5094 52.9998Z"
fill="#3056D3"
/>
@@ -476,7 +476,7 @@ export const Team = () => {
</p>
<div class="flex items-center justify-center gap-5">
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -494,7 +494,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -512,7 +512,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -565,104 +565,104 @@ export const Team = () => {
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.54166 3.1009C3.39795 3.1009 4.09211 2.40674 4.09211 1.55045C4.09211 0.69416 3.39795 0 2.54166 0C1.68537 0 0.991211 0.69416 0.991211 1.55045C0.991211 2.40674 1.68537 3.1009 2.54166 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5338 3.1009C13.3901 3.1009 14.0843 2.40674 14.0843 1.55045C14.0843 0.69416 13.3901 0 12.5338 0C11.6776 0 10.9834 0.69416 10.9834 1.55045C10.9834 2.40674 11.6776 3.1009 12.5338 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 3.1009C23.3823 3.1009 24.0765 2.40674 24.0765 1.55045C24.0765 0.69416 23.3823 0 22.526 0C21.6697 0 20.9756 0.69416 20.9756 1.55045C20.9756 2.40674 21.6697 3.1009 22.526 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 3.1009C33.374 3.1009 34.0682 2.40674 34.0682 1.55045C34.0682 0.69416 33.374 0 32.5177 0C31.6614 0 30.9673 0.69416 30.9673 1.55045C30.9673 2.40674 31.6614 3.1009 32.5177 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 3.1009C43.3657 3.1009 44.0599 2.40674 44.0599 1.55045C44.0599 0.69416 43.3657 0 42.5094 0C41.6531 0 40.959 0.69416 40.959 1.55045C40.959 2.40674 41.6531 3.1009 42.5094 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5338 13.0804C13.3901 13.0804 14.0843 12.3862 14.0843 11.5299C14.0843 10.6737 13.3901 9.97949 12.5338 9.97949C11.6776 9.97949 10.9834 10.6737 10.9834 11.5299C10.9834 12.3862 11.6776 13.0804 12.5338 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 13.0804C23.3823 13.0804 24.0765 12.3862 24.0765 11.5299C24.0765 10.6737 23.3823 9.97949 22.526 9.97949C21.6697 9.97949 20.9756 10.6737 20.9756 11.5299C20.9756 12.3862 21.6697 13.0804 22.526 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 13.0804C33.374 13.0804 34.0682 12.3862 34.0682 11.5299C34.0682 10.6737 33.374 9.97949 32.5177 9.97949C31.6614 9.97949 30.9673 10.6737 30.9673 11.5299C30.9673 12.3862 31.6614 13.0804 32.5177 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 13.0804C43.3657 13.0804 44.0599 12.3862 44.0599 11.5299C44.0599 10.6737 43.3657 9.97949 42.5094 9.97949C41.6531 9.97949 40.959 10.6737 40.959 11.5299C40.959 12.3862 41.6531 13.0804 42.5094 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 23.0604C23.3823 23.0604 24.0765 22.3662 24.0765 21.5099C24.0765 20.6536 23.3823 19.9595 22.526 19.9595C21.6697 19.9595 20.9756 20.6536 20.9756 21.5099C20.9756 22.3662 21.6697 23.0604 22.526 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 23.0604C33.374 23.0604 34.0682 22.3662 34.0682 21.5099C34.0682 20.6536 33.374 19.9595 32.5177 19.9595C31.6614 19.9595 30.9673 20.6536 30.9673 21.5099C30.9673 22.3662 31.6614 23.0604 32.5177 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 23.0604C43.3657 23.0604 44.0599 22.3662 44.0599 21.5099C44.0599 20.6536 43.3657 19.9595 42.5094 19.9595C41.6531 19.9595 40.959 20.6536 40.959 21.5099C40.959 22.3662 41.6531 23.0604 42.5094 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 33.0404C33.374 33.0404 34.0682 32.3462 34.0682 31.4899C34.0682 30.6336 33.374 29.9395 32.5177 29.9395C31.6614 29.9395 30.9673 30.6336 30.9673 31.4899C30.9673 32.3462 31.6614 33.0404 32.5177 33.0404Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 33.0404C43.3657 33.0404 44.0599 32.3462 44.0599 31.4899C44.0599 30.6336 43.3657 29.9395 42.5094 29.9395C41.6531 29.9395 40.959 30.6336 40.959 31.4899C40.959 32.3462 41.6531 33.0404 42.5094 33.0404Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 43.0203C33.374 43.0203 34.0682 42.3262 34.0682 41.4699C34.0682 40.6136 33.374 39.9194 32.5177 39.9194C31.6614 39.9194 30.9673 40.6136 30.9673 41.4699C30.9673 42.3262 31.6614 43.0203 32.5177 43.0203Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 43.0203C43.3657 43.0203 44.0599 42.3262 44.0599 41.4699C44.0599 40.6136 43.3657 39.9194 42.5094 39.9194C41.6531 39.9194 40.959 40.6136 40.959 41.4699C40.959 42.3262 41.6531 43.0203 42.5094 43.0203Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 52.9998C43.3657 52.9998 44.0599 52.3057 44.0599 51.4494C44.0599 50.5931 43.3657 49.8989 42.5094 49.8989C41.6531 49.8989 40.959 50.5931 40.959 51.4494C40.959 52.3057 41.6531 52.9998 42.5094 52.9998Z"
fill="#3056D3"
/>
@@ -680,7 +680,7 @@ export const Team = () => {
</p>
<div class="flex items-center justify-center gap-5">
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -698,7 +698,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -716,7 +716,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -769,104 +769,104 @@ export const Team = () => {
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M2.54166 3.1009C3.39795 3.1009 4.09211 2.40674 4.09211 1.55045C4.09211 0.69416 3.39795 0 2.54166 0C1.68537 0 0.991211 0.69416 0.991211 1.55045C0.991211 2.40674 1.68537 3.1009 2.54166 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5338 3.1009C13.3901 3.1009 14.0843 2.40674 14.0843 1.55045C14.0843 0.69416 13.3901 0 12.5338 0C11.6776 0 10.9834 0.69416 10.9834 1.55045C10.9834 2.40674 11.6776 3.1009 12.5338 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 3.1009C23.3823 3.1009 24.0765 2.40674 24.0765 1.55045C24.0765 0.69416 23.3823 0 22.526 0C21.6697 0 20.9756 0.69416 20.9756 1.55045C20.9756 2.40674 21.6697 3.1009 22.526 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 3.1009C33.374 3.1009 34.0682 2.40674 34.0682 1.55045C34.0682 0.69416 33.374 0 32.5177 0C31.6614 0 30.9673 0.69416 30.9673 1.55045C30.9673 2.40674 31.6614 3.1009 32.5177 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 3.1009C43.3657 3.1009 44.0599 2.40674 44.0599 1.55045C44.0599 0.69416 43.3657 0 42.5094 0C41.6531 0 40.959 0.69416 40.959 1.55045C40.959 2.40674 41.6531 3.1009 42.5094 3.1009Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M12.5338 13.0804C13.3901 13.0804 14.0843 12.3862 14.0843 11.5299C14.0843 10.6737 13.3901 9.97949 12.5338 9.97949C11.6776 9.97949 10.9834 10.6737 10.9834 11.5299C10.9834 12.3862 11.6776 13.0804 12.5338 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 13.0804C23.3823 13.0804 24.0765 12.3862 24.0765 11.5299C24.0765 10.6737 23.3823 9.97949 22.526 9.97949C21.6697 9.97949 20.9756 10.6737 20.9756 11.5299C20.9756 12.3862 21.6697 13.0804 22.526 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 13.0804C33.374 13.0804 34.0682 12.3862 34.0682 11.5299C34.0682 10.6737 33.374 9.97949 32.5177 9.97949C31.6614 9.97949 30.9673 10.6737 30.9673 11.5299C30.9673 12.3862 31.6614 13.0804 32.5177 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 13.0804C43.3657 13.0804 44.0599 12.3862 44.0599 11.5299C44.0599 10.6737 43.3657 9.97949 42.5094 9.97949C41.6531 9.97949 40.959 10.6737 40.959 11.5299C40.959 12.3862 41.6531 13.0804 42.5094 13.0804Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M22.526 23.0604C23.3823 23.0604 24.0765 22.3662 24.0765 21.5099C24.0765 20.6536 23.3823 19.9595 22.526 19.9595C21.6697 19.9595 20.9756 20.6536 20.9756 21.5099C20.9756 22.3662 21.6697 23.0604 22.526 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 23.0604C33.374 23.0604 34.0682 22.3662 34.0682 21.5099C34.0682 20.6536 33.374 19.9595 32.5177 19.9595C31.6614 19.9595 30.9673 20.6536 30.9673 21.5099C30.9673 22.3662 31.6614 23.0604 32.5177 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 23.0604C43.3657 23.0604 44.0599 22.3662 44.0599 21.5099C44.0599 20.6536 43.3657 19.9595 42.5094 19.9595C41.6531 19.9595 40.959 20.6536 40.959 21.5099C40.959 22.3662 41.6531 23.0604 42.5094 23.0604Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 33.0404C33.374 33.0404 34.0682 32.3462 34.0682 31.4899C34.0682 30.6336 33.374 29.9395 32.5177 29.9395C31.6614 29.9395 30.9673 30.6336 30.9673 31.4899C30.9673 32.3462 31.6614 33.0404 32.5177 33.0404Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 33.0404C43.3657 33.0404 44.0599 32.3462 44.0599 31.4899C44.0599 30.6336 43.3657 29.9395 42.5094 29.9395C41.6531 29.9395 40.959 30.6336 40.959 31.4899C40.959 32.3462 41.6531 33.0404 42.5094 33.0404Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M32.5177 43.0203C33.374 43.0203 34.0682 42.3262 34.0682 41.4699C34.0682 40.6136 33.374 39.9194 32.5177 39.9194C31.6614 39.9194 30.9673 40.6136 30.9673 41.4699C30.9673 42.3262 31.6614 43.0203 32.5177 43.0203Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 43.0203C43.3657 43.0203 44.0599 42.3262 44.0599 41.4699C44.0599 40.6136 43.3657 39.9194 42.5094 39.9194C41.6531 39.9194 40.959 40.6136 40.959 41.4699C40.959 42.3262 41.6531 43.0203 42.5094 43.0203Z"
fill="#3056D3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M42.5094 52.9998C43.3657 52.9998 44.0599 52.3057 44.0599 51.4494C44.0599 50.5931 43.3657 49.8989 42.5094 49.8989C41.6531 49.8989 40.959 50.5931 40.959 51.4494C40.959 52.3057 41.6531 52.9998 42.5094 52.9998Z"
fill="#3056D3"
/>
@@ -884,7 +884,7 @@ export const Team = () => {
</p>
<div class="flex items-center justify-center gap-5">
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -902,7 +902,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg
@@ -920,7 +920,7 @@ export const Team = () => {
</svg>
</a>
<a
href="javascript:void(0)"
class="text-dark-6 hover:text-primary"
>
<svg

View File

@@ -1,6 +1,54 @@
/* eslint-disable react/no-unescaped-entities */
/* eslint-disable @next/next/no-img-element */
import { loadExternalResource } from '@/lib/utils';
import { useEffect } from 'react';
/**
* 一些外部js
*/
const loadExternal = async () => {
console.log('加载swiper')
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.css', 'css');
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.min.js', 'js');
const Swiper = window.Swiper
if (!Swiper) {
return
}
// Testimonial
const testimonialSwiper = new Swiper('.testimonial-carousel', {
slidesPerView: 1,
spaceBetween: 30,
// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev'
},
breakpoints: {
640: {
slidesPerView: 2,
spaceBetween: 30
},
1024: {
slidesPerView: 3,
spaceBetween: 30
},
1280: {
slidesPerView: 3,
spaceBetween: 30
}
}
});
console.log('swiper', testimonialSwiper)
};
export const Testimonials = () => {
useEffect(() => {
loadExternal()
}, [])
return <>
{/* <!-- ====== Testimonial Section Start --> */}
<section

View File

@@ -38,8 +38,6 @@ import { SVG404 } from './components/SVG404'
* 一些外部js
*/
const loadExternal = async () => {
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.min.js', 'js');
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.css', 'css');
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js', 'js');
// 配合animatecss 实现延时滚动动画和AOS动画相似
const WOW = window.WOW;
@@ -63,10 +61,8 @@ const LayoutBase = (props) => {
loadExternal()
}, [])
return <>
<Style/>
<div id='theme-landing-2'>
return <div id='theme-starter'>
<Style/>
<NavBar/>
{children}
@@ -77,7 +73,6 @@ const LayoutBase = (props) => {
<BackToTopButton/>
<MadeWithButton/>
</div>
</>
}
/**
@@ -128,33 +123,32 @@ const LayoutArchive = (props) => <></>
const Layout404 = (props) => {
return <>
{/* <!-- ====== 404 Section Start --> */}
<section class="bg-white py-20 dark:bg-dark-2 lg:py-[110px]">
<div class="container mx-auto">
<div class="flex flex-wrap items-center -mx-4">
<div class="w-full px-4 md:w-5/12 lg:w-6/12">
<div class="text-center">
<section className="bg-white py-20 dark:bg-dark-2 lg:py-[110px]">
<div className="container mx-auto">
<div className="flex flex-wrap items-center -mx-4">
<div className="w-full px-4 md:w-5/12 lg:w-6/12">
<div className="text-center">
<img
src="/images/landing-2/404.svg"
alt="image"
class="max-w-full mx-auto"
className="max-w-full mx-auto"
/>
</div>
</div>
<div class="w-full px-4 md:w-7/12 lg:w-6/12 xl:w-5/12">
<div className="w-full px-4 md:w-7/12 lg:w-6/12 xl:w-5/12">
<div>
<div class="mb-8">
<div className="mb-8">
<SVG404/>
</div>
<h3 class="mb-5 text-2xl font-semibold text-dark dark:text-white">
<h3 className="mb-5 text-2xl font-semibold text-dark dark:text-white">
We Can't Seem to Find The Page You're Looking For.
</h3>
<p class="mb-8 text-base text-body-color dark:text-dark-6">
<p className="mb-8 text-base text-body-color dark:text-dark-6">
Oops! The page you are looking for does not exist. It might have
been moved or deleted.
</p>
<a
href="javascript:void(0)"
class="py-3 text-base font-medium text-white transition rounded-md bg-dark px-7 hover:bg-primary"
className="py-3 text-base font-medium text-white transition rounded-md bg-dark px-7 hover:bg-primary"
>
Go To Home
</a>

View File

@@ -7,7 +7,7 @@
*/
const Style = () => {
return <style jsx global>{`
.sticky{
position: fixed;
z-index: 9999;
@@ -146,6 +146,54 @@ const Style = () => {
color: rgb(136 153 168 / var(--tw-text-opacity));
}
.common-carousel .swiper-button-next:after,
.common-carousel .swiper-button-prev:after{
display: none;
}
.common-carousel .swiper-button-next,
.common-carousel .swiper-button-prev{
position: static !important;
margin: 0px;
height: 3rem;
width: 3rem;
border-radius: 0.5rem;
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: rgb(17 25 40 / var(--tw-text-opacity));
--tw-shadow: 0px 8px 15px 0px rgba(72, 72, 138, 0.08);
--tw-shadow-colored: 0px 8px 15px 0px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
transition-duration: 200ms;
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.common-carousel .swiper-button-next:hover,
.common-carousel .swiper-button-prev:hover{
--tw-bg-opacity: 1;
background-color: rgb(55 88 249 / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
:is(.dark .common-carousel .swiper-button-next),:is(.dark
.common-carousel .swiper-button-prev){
--tw-bg-opacity: 1;
background-color: rgb(17 25 40 / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.common-carousel .swiper-button-next svg,
.common-carousel .swiper-button-prev svg{
height: auto;
width: auto;
}
`}</style>
}

View File

@@ -8,7 +8,6 @@ export const { THEMES = [] } = getConfig().publicRuntimeConfig
/**
* 加载全局布局
* 如果是
* @param {*} themeQuery
* @returns
*/
@@ -39,7 +38,7 @@ export const getLayoutByTheme = ({ router, theme }) => {
setTimeout(() => {
checkThemeDOM()
}, 100);
return ThemeComponents[ThemeComponents.getLayoutNameByPath('-1')]
return ThemeComponents[ThemeComponents.getLayoutNameByPath(router.pathname)]
}
}