✨ feat: add new payment icons for Alipay and WeChat Pay, update asset paths
- Added SVG icons for Alipay and WeChat Pay in the payment assets directory. - Updated paths for Lottie animations in various components to use relative paths. - Changed QR code image sources in payment-related components to point to the new asset paths. - Adjusted i18n configuration to load translation files from the updated assets directory.
This commit is contained in:
@@ -45,7 +45,7 @@ export function GlobalMap() {
|
||||
autoplay
|
||||
className="w-full scale-150"
|
||||
loop
|
||||
src="/lotties/global-map.json"
|
||||
src="./assets/lotties/global-map.json"
|
||||
/>
|
||||
</motion.div>
|
||||
</motion.section>
|
||||
|
||||
@@ -52,7 +52,11 @@ export function Hero() {
|
||||
transition={{ type: "spring", stiffness: 80, damping: 15, delay: 0.5 }}
|
||||
viewport={{ once: true, amount: 0.3 }}
|
||||
>
|
||||
<DotLottieReact autoplay loop src="/lotties/network-security.json" />
|
||||
<DotLottieReact
|
||||
autoplay
|
||||
loop
|
||||
src="./assets/lotties/network-security.json"
|
||||
/>
|
||||
</motion.div>
|
||||
</motion.div>
|
||||
);
|
||||
|
||||
@@ -14,7 +14,7 @@ export function Stats() {
|
||||
autoplay
|
||||
className="size-24"
|
||||
loop
|
||||
src="/lotties/users.json"
|
||||
src="./assets/lotties/users.json"
|
||||
/>
|
||||
),
|
||||
},
|
||||
@@ -29,7 +29,7 @@ export function Stats() {
|
||||
autoplay
|
||||
className="size-24"
|
||||
loop
|
||||
src="/lotties/servers.json"
|
||||
src="./assets/lotties/servers.json"
|
||||
/>
|
||||
),
|
||||
},
|
||||
@@ -41,7 +41,7 @@ export function Stats() {
|
||||
autoplay
|
||||
className="size-24"
|
||||
loop
|
||||
src="/lotties/locations.json"
|
||||
src="./assets/lotties/locations.json"
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user