create-dubhe 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +11 -3
- package/template/101/aptos-template/.prettierignore +1 -0
- package/template/101/aptos-template/.prettierrc +7 -7
- package/template/101/aptos-template/.prettierrc.json +8 -0
- package/template/101/aptos-template/README.md +3 -2
- package/template/101/aptos-template/jest.config.ts +3 -3
- package/template/101/aptos-template/next-i18next.config.js +4 -4
- package/template/101/aptos-template/next.config.js +11 -12
- package/template/101/aptos-template/package.json +10 -5
- package/template/101/aptos-template/postcss.config.js +1 -1
- package/template/101/aptos-template/public/locales/de/common.json +1 -1
- package/template/101/aptos-template/public/locales/de/footer.json +1 -1
- package/template/101/aptos-template/public/locales/de/second-page.json +1 -1
- package/template/101/aptos-template/public/locales/en/footer.json +1 -1
- package/template/101/aptos-template/public/locales/en/second-page.json +1 -1
- package/template/101/aptos-template/public/locales/zn/common.json +1 -1
- package/template/101/aptos-template/public/locales/zn/footer.json +1 -1
- package/template/101/aptos-template/public/locales/zn/second-page.json +1 -1
- package/template/101/aptos-template/scripts/checkBalance.ts +1 -1
- package/template/101/aptos-template/src/css/font-awesome.css +692 -687
- package/template/101/aptos-template/src/css/font-awesome.min.css +2333 -1
- package/template/101/aptos-template/tailwind.config.js +40 -52
- package/template/101/initia-template/.prettierignore +1 -0
- package/template/101/initia-template/.prettierrc +7 -7
- package/template/101/initia-template/.prettierrc.json +8 -0
- package/template/101/initia-template/README.md +3 -2
- package/template/101/initia-template/jest.config.ts +3 -3
- package/template/101/initia-template/next-i18next.config.js +4 -4
- package/template/101/initia-template/next.config.js +11 -12
- package/template/101/initia-template/package.json +8 -3
- package/template/101/initia-template/postcss.config.js +1 -1
- package/template/101/initia-template/public/locales/de/common.json +1 -1
- package/template/101/initia-template/public/locales/de/footer.json +1 -1
- package/template/101/initia-template/public/locales/de/second-page.json +1 -1
- package/template/101/initia-template/public/locales/en/footer.json +1 -1
- package/template/101/initia-template/public/locales/en/second-page.json +1 -1
- package/template/101/initia-template/public/locales/zn/common.json +1 -1
- package/template/101/initia-template/public/locales/zn/footer.json +1 -1
- package/template/101/initia-template/public/locales/zn/second-page.json +1 -1
- package/template/101/initia-template/src/chain/config.ts +1 -1
- package/template/101/initia-template/src/css/font-awesome.css +692 -687
- package/template/101/initia-template/src/css/font-awesome.min.css +2333 -1
- package/template/101/initia-template/src/pages/index.tsx +7 -9
- package/template/101/initia-template/tailwind.config.js +40 -52
- package/template/101/movement-template/.prettierignore +1 -0
- package/template/101/movement-template/.prettierrc +7 -7
- package/template/101/movement-template/.prettierrc.json +8 -0
- package/template/101/movement-template/README.md +3 -2
- package/template/101/movement-template/jest.config.ts +3 -3
- package/template/101/movement-template/next-i18next.config.js +4 -4
- package/template/101/movement-template/next.config.js +11 -12
- package/template/101/movement-template/package.json +10 -5
- package/template/101/movement-template/postcss.config.js +1 -1
- package/template/101/movement-template/public/locales/de/common.json +1 -1
- package/template/101/movement-template/public/locales/de/footer.json +1 -1
- package/template/101/movement-template/public/locales/de/second-page.json +1 -1
- package/template/101/movement-template/public/locales/en/footer.json +1 -1
- package/template/101/movement-template/public/locales/en/second-page.json +1 -1
- package/template/101/movement-template/public/locales/zn/common.json +1 -1
- package/template/101/movement-template/public/locales/zn/footer.json +1 -1
- package/template/101/movement-template/public/locales/zn/second-page.json +1 -1
- package/template/101/movement-template/src/css/font-awesome.css +692 -687
- package/template/101/movement-template/src/css/font-awesome.min.css +2333 -1
- package/template/101/movement-template/tailwind.config.js +40 -52
- package/template/101/rooch-template/.prettierignore +1 -0
- package/template/101/rooch-template/.prettierrc +7 -7
- package/template/101/rooch-template/.prettierrc.json +8 -0
- package/template/101/rooch-template/README.md +3 -2
- package/template/101/rooch-template/jest.config.ts +3 -3
- package/template/101/rooch-template/next-i18next.config.js +4 -4
- package/template/101/rooch-template/next.config.js +11 -12
- package/template/101/rooch-template/package.json +8 -3
- package/template/101/rooch-template/postcss.config.js +1 -1
- package/template/101/rooch-template/public/locales/de/common.json +1 -1
- package/template/101/rooch-template/public/locales/de/footer.json +1 -1
- package/template/101/rooch-template/public/locales/de/second-page.json +1 -1
- package/template/101/rooch-template/public/locales/en/footer.json +1 -1
- package/template/101/rooch-template/public/locales/en/second-page.json +1 -1
- package/template/101/rooch-template/public/locales/zn/common.json +1 -1
- package/template/101/rooch-template/public/locales/zn/footer.json +1 -1
- package/template/101/rooch-template/public/locales/zn/second-page.json +1 -1
- package/template/101/rooch-template/src/chain/config.ts +1 -1
- package/template/101/rooch-template/src/css/font-awesome.css +692 -687
- package/template/101/rooch-template/src/css/font-awesome.min.css +2333 -1
- package/template/101/rooch-template/src/pages/index.tsx +7 -9
- package/template/101/rooch-template/tailwind.config.js +40 -52
- package/template/101/sui-template/.prettierignore +1 -0
- package/template/101/sui-template/.prettierrc.json +8 -0
- package/template/101/sui-template/README.md +4 -2
- package/template/101/sui-template/contracts/counter/sources/codegen/dapp/metadata.move +1 -1
- package/template/101/sui-template/contracts/counter/sources/codegen/dapp/schema.move +2 -2
- package/template/101/sui-template/contracts/counter/sources/codegen/dapp/system.move +7 -7
- package/template/101/sui-template/contracts/counter/sources/codegen/data/increment_event.move +1 -1
- package/template/101/sui-template/contracts/counter/sources/codegen/errors.move +3 -3
- package/template/101/sui-template/contracts/counter/sources/codegen/events.move +4 -4
- package/template/101/sui-template/contracts/counter/sources/codegen/genesis.move +5 -5
- package/template/101/sui-template/contracts/counter/sources/codegen/schema.move +9 -1
- package/template/101/sui-template/contracts/counter/sources/scripts/deploy_hook.move +2 -2
- package/template/101/sui-template/contracts/counter/sources/scripts/migrate.move +1 -1
- package/template/101/sui-template/contracts/counter/sources/systems/counter.move +3 -3
- package/template/101/sui-template/contracts/counter/sources/tests/counter.move +3 -3
- package/template/101/sui-template/contracts/counter/sources/tests/init.move +3 -3
- package/template/101/sui-template/dubhe.config.ts +4 -4
- package/template/101/sui-template/package.json +8 -7
- package/template/cocos/aptos-template/README.md +2 -1
- package/template/cocos/aptos-template/assets/Scripts/aptos.ts +15 -15
- package/template/cocos/aptos-template/assets/Scripts/chain/config.ts +5 -5
- package/template/cocos/aptos-template/assets/Scripts/dubhe.config.ts +8 -8
- package/template/cocos/aptos-template/assets/lib/obelisk.js +23107 -19762
- package/template/cocos/aptos-template/package.json +37 -37
- package/template/cocos/aptos-template/scripts/formatAccount.ts +18 -18
- package/template/cocos/aptos-template/scripts/generateAccount.ts +2 -2
- package/template/cocos/aptos-template/scripts/storeConfig.ts +37 -37
- package/template/cocos/aptos-template/tsconfig.json +2 -2
- package/template/cocos/sui-template/README.md +2 -1
- package/template/cocos/sui-template/assets/Scripts/chain/config.ts +3 -7
- package/template/cocos/sui-template/assets/Scripts/dubhe.config.ts +9 -9
- package/template/cocos/sui-template/assets/Scripts/sui.ts +87 -103
- package/template/cocos/sui-template/docker-compose.yaml +10 -4
- package/template/cocos/sui-template/package.json +25 -25
- package/template/cocos/sui-template/scripts/generateAccount.ts +38 -38
- package/template/cocos/sui-template/scripts/storeConfig.ts +36 -41
- package/template/cocos/sui-template/tsconfig.json +3 -10
- package/template/contract/sui-template/dubhe.config.ts +3 -3
- package/template/contract/sui-template/package.json +28 -28
- package/template/contract/sui-template/tsconfig.json +3 -13
- package/template/nextjs/aptos-template/.prettierignore +1 -0
- package/template/nextjs/aptos-template/.prettierrc +7 -7
- package/template/nextjs/aptos-template/.prettierrc.json +8 -0
- package/template/nextjs/aptos-template/README.md +2 -1
- package/template/nextjs/aptos-template/jest.config.ts +3 -3
- package/template/nextjs/aptos-template/next-i18next.config.js +4 -4
- package/template/nextjs/aptos-template/next.config.js +11 -12
- package/template/nextjs/aptos-template/package.json +11 -8
- package/template/nextjs/aptos-template/postcss.config.js +1 -1
- package/template/nextjs/aptos-template/public/locales/de/common.json +1 -1
- package/template/nextjs/aptos-template/public/locales/de/footer.json +1 -1
- package/template/nextjs/aptos-template/public/locales/de/second-page.json +1 -1
- package/template/nextjs/aptos-template/public/locales/en/footer.json +1 -1
- package/template/nextjs/aptos-template/public/locales/en/second-page.json +1 -1
- package/template/nextjs/aptos-template/public/locales/zn/common.json +1 -1
- package/template/nextjs/aptos-template/public/locales/zn/footer.json +1 -1
- package/template/nextjs/aptos-template/public/locales/zn/second-page.json +1 -1
- package/template/nextjs/aptos-template/src/components/Animation.tsx +60 -70
- package/template/nextjs/aptos-template/src/components/Container.tsx +2 -8
- package/template/nextjs/aptos-template/src/components/footer/index.tsx +124 -135
- package/template/nextjs/aptos-template/src/components/head/index.tsx +14 -14
- package/template/nextjs/aptos-template/src/components/header/index.tsx +143 -157
- package/template/nextjs/aptos-template/src/components/pop_up_box/index.tsx +150 -138
- package/template/nextjs/aptos-template/src/css/font-awesome.css +692 -687
- package/template/nextjs/aptos-template/src/css/font-awesome.min.css +2333 -1
- package/template/nextjs/aptos-template/src/jotai/index.tsx +9 -10
- package/template/nextjs/aptos-template/src/pages/_app.tsx +16 -16
- package/template/nextjs/aptos-template/src/pages/index.tsx +7 -10
- package/template/nextjs/aptos-template/tailwind.config.js +44 -55
- package/template/nextjs/aptos-template/tsconfig.json +3 -13
- package/template/nextjs/sui-template/.prettierignore +1 -0
- package/template/nextjs/sui-template/.prettierrc.json +8 -0
- package/template/nextjs/sui-template/README.md +4 -2
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/dapp/metadata.move +1 -1
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/dapp/schema.move +2 -2
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/dapp/system.move +7 -7
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/data/increment_event.move +1 -1
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/errors.move +3 -3
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/events.move +4 -4
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/genesis.move +5 -5
- package/template/nextjs/sui-template/contracts/counter/sources/codegen/schema.move +9 -1
- package/template/nextjs/sui-template/contracts/counter/sources/scripts/deploy_hook.move +2 -2
- package/template/nextjs/sui-template/contracts/counter/sources/scripts/migrate.move +1 -1
- package/template/nextjs/sui-template/contracts/counter/sources/systems/counter.move +3 -3
- package/template/nextjs/sui-template/contracts/counter/sources/tests/counter.move +3 -3
- package/template/nextjs/sui-template/contracts/counter/sources/tests/init.move +3 -3
- package/template/nextjs/sui-template/dubhe.config.ts +4 -4
- package/template/nextjs/sui-template/next.config.mjs +1 -2
- package/template/nextjs/sui-template/package.json +9 -8
- package/template/nextjs/sui-template/src/chain/config.ts +2 -2
|
@@ -1,80 +1,70 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import {motion} from
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { motion } from 'framer-motion';
|
|
3
3
|
|
|
4
4
|
//滑动指定位置的动画效果
|
|
5
5
|
const visible = { opacity: 1, y: 0, transition: { duration: 0.5 } };
|
|
6
6
|
|
|
7
7
|
const itemVariants = {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
hidden: { opacity: 0, y: 40 },
|
|
9
|
+
visible,
|
|
10
10
|
};
|
|
11
11
|
const InertiaTitle = ({ children }: { children: React.ReactNode }) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
)
|
|
32
|
-
}
|
|
12
|
+
return (
|
|
13
|
+
<motion.div
|
|
14
|
+
initial={{ opacity: 0, y: 100 }}
|
|
15
|
+
whileInView={{ opacity: 1, y: 0 }}
|
|
16
|
+
exit={{ opacity: 0, transition: { duration: 1 } }}
|
|
17
|
+
variants={{
|
|
18
|
+
visible: {
|
|
19
|
+
opacity: 1,
|
|
20
|
+
transition: { duration: 2 },
|
|
21
|
+
},
|
|
22
|
+
}}
|
|
23
|
+
transition={{ type: 'inertia', velocity: 180 }}
|
|
24
|
+
viewport={{ once: true }}
|
|
25
|
+
>
|
|
26
|
+
<div className="w-full">{children}</div>
|
|
27
|
+
</motion.div>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
33
30
|
const TweenTitle = ({ children }: { children: React.ReactNode }) => {
|
|
31
|
+
return (
|
|
32
|
+
<motion.div
|
|
33
|
+
initial={{ opacity: 0, y: 100 }}
|
|
34
|
+
whileInView={{ opacity: 1, y: 0 }}
|
|
35
|
+
exit={{ opacity: 0, transition: { duration: 1 } }}
|
|
36
|
+
variants={{
|
|
37
|
+
visible: {
|
|
38
|
+
opacity: 1,
|
|
39
|
+
transition: { duration: 2 },
|
|
40
|
+
},
|
|
41
|
+
}}
|
|
42
|
+
transition={{ duration: 1, type: 'tween', delay: 0.01 }}
|
|
43
|
+
viewport={{ once: true }}
|
|
44
|
+
>
|
|
45
|
+
<div className="w-full">{children}</div>
|
|
46
|
+
</motion.div>
|
|
47
|
+
);
|
|
48
|
+
};
|
|
34
49
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
)
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const Animation = ({ children }: { children: React.ReactNode }) => {
|
|
58
|
-
|
|
59
|
-
return (
|
|
60
|
-
<motion.div
|
|
61
|
-
initial={{ opacity: 0 ,y:100}}
|
|
62
|
-
whileInView={{ opacity: 1 ,y:0 }}
|
|
63
|
-
exit={{ opacity: 0, transition: { duration: 1 } }}
|
|
64
|
-
variants={{ visible: {
|
|
65
|
-
opacity: 1,
|
|
66
|
-
transition: { duration: 2 }
|
|
67
|
-
} }}
|
|
68
|
-
transition={{ type: "spring", stiffness: 300 ,delay: 0.01}}
|
|
69
|
-
viewport={{ once: true }}
|
|
70
|
-
>
|
|
71
|
-
<div className="w-full">
|
|
72
|
-
{children}
|
|
73
|
-
</div>
|
|
74
|
-
</motion.div>
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
)
|
|
78
|
-
}
|
|
50
|
+
const Animation = ({ children }: { children: React.ReactNode }) => {
|
|
51
|
+
return (
|
|
52
|
+
<motion.div
|
|
53
|
+
initial={{ opacity: 0, y: 100 }}
|
|
54
|
+
whileInView={{ opacity: 1, y: 0 }}
|
|
55
|
+
exit={{ opacity: 0, transition: { duration: 1 } }}
|
|
56
|
+
variants={{
|
|
57
|
+
visible: {
|
|
58
|
+
opacity: 1,
|
|
59
|
+
transition: { duration: 2 },
|
|
60
|
+
},
|
|
61
|
+
}}
|
|
62
|
+
transition={{ type: 'spring', stiffness: 300, delay: 0.01 }}
|
|
63
|
+
viewport={{ once: true }}
|
|
64
|
+
>
|
|
65
|
+
<div className="w-full">{children}</div>
|
|
66
|
+
</motion.div>
|
|
67
|
+
);
|
|
68
|
+
};
|
|
79
69
|
|
|
80
|
-
export {InertiaTitle,Animation,TweenTitle}
|
|
70
|
+
export { InertiaTitle, Animation, TweenTitle };
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import clsx from 'clsx'
|
|
1
|
+
import clsx from 'clsx';
|
|
2
2
|
|
|
3
|
-
//组件公共样式
|
|
4
3
|
export function Container({ className, ...props }) {
|
|
5
|
-
return (
|
|
6
|
-
<div
|
|
7
|
-
className={clsx('mx-auto max-w-7xl px-4 sm:px-6 lg:px-8', className)}
|
|
8
|
-
{...props}
|
|
9
|
-
/>
|
|
10
|
-
)
|
|
4
|
+
return <div className={clsx('mx-auto max-w-7xl px-4 sm:px-6 lg:px-8', className)} {...props} />;
|
|
11
5
|
}
|
|
@@ -1,138 +1,127 @@
|
|
|
1
|
-
import Link from
|
|
2
|
-
import {Container} from
|
|
1
|
+
import Link from 'next/link';
|
|
2
|
+
import { Container } from '../Container';
|
|
3
3
|
|
|
4
|
+
const ends = [
|
|
5
|
+
{
|
|
6
|
+
title: 'Product',
|
|
7
|
+
content: [
|
|
8
|
+
{
|
|
9
|
+
h1: 'Overview',
|
|
10
|
+
href: '',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
h1: 'Download',
|
|
14
|
+
href: '',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
h1: 'Docs',
|
|
18
|
+
href: '',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
title: 'Resources',
|
|
24
|
+
content: [
|
|
25
|
+
{
|
|
26
|
+
h1: 'About Us',
|
|
27
|
+
href: '',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
h1: 'Download',
|
|
31
|
+
href: '',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
h1: 'Docs',
|
|
35
|
+
href: '',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
title: 'Follow Us',
|
|
41
|
+
content: [
|
|
42
|
+
{
|
|
43
|
+
h1: 'Discord',
|
|
44
|
+
href: '',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
h1: 'Twitter',
|
|
48
|
+
href: '',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
h1: 'Telegram',
|
|
52
|
+
href: '',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
h1: 'Github',
|
|
56
|
+
href: '',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
];
|
|
61
|
+
const participate = [
|
|
62
|
+
{
|
|
63
|
+
href: '',
|
|
64
|
+
img: '/telegram.svg',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
href: '',
|
|
68
|
+
img: '/twitter.svg',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
href: '',
|
|
72
|
+
img: '/discord.svg',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
href: '',
|
|
76
|
+
img: '/medium.svg',
|
|
77
|
+
},
|
|
78
|
+
];
|
|
79
|
+
const Footer = () => {
|
|
80
|
+
return (
|
|
81
|
+
<>
|
|
82
|
+
<Container className="pt-10">
|
|
83
|
+
<div className="md:flex justify-between pt-12 items-center">
|
|
84
|
+
<div className="text-center md:flex justify-between mb-10 mt-10 md:mt-0 ">
|
|
85
|
+
{ends.map(end => (
|
|
86
|
+
<div key={end.title} className="md:mr-10">
|
|
87
|
+
<div className="text-white font-semibold text-base ">{end.title}</div>
|
|
88
|
+
{end.content.map(item => (
|
|
89
|
+
<div
|
|
90
|
+
key={item.h1}
|
|
91
|
+
className="my-3 text-sm transition duration-300 transform hover:translate-x-2 md:text-left text-white"
|
|
92
|
+
>
|
|
93
|
+
<Link legacyBehavior href={item.href}>
|
|
94
|
+
<a>{item.h1}</a>
|
|
95
|
+
</Link>
|
|
96
|
+
</div>
|
|
97
|
+
))}
|
|
98
|
+
</div>
|
|
99
|
+
))}
|
|
100
|
+
</div>
|
|
4
101
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
h1:"Docs",
|
|
19
|
-
href:"",
|
|
20
|
-
},
|
|
21
|
-
]
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
title:"Resources",
|
|
26
|
-
content:[
|
|
27
|
-
{
|
|
28
|
-
h1:"About Us",
|
|
29
|
-
href:"",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
h1:"Download",
|
|
33
|
-
href:"",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
h1:"Docs",
|
|
37
|
-
href:"",
|
|
38
|
-
},
|
|
39
|
-
]
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
title:"Follow Us",
|
|
44
|
-
content:[
|
|
45
|
-
{
|
|
46
|
-
h1:"Discord",
|
|
47
|
-
href:"",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
h1:"Twitter",
|
|
51
|
-
href:"",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
h1:"Telegram",
|
|
55
|
-
href:"",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
h1:"Github",
|
|
59
|
-
href:"",
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
const participate=[
|
|
66
|
-
{
|
|
67
|
-
href:"",
|
|
68
|
-
img:"/telegram.svg"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
href:"",
|
|
72
|
-
img:"/twitter.svg",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
href:"",
|
|
76
|
-
img:"/discord.svg",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
href:"",
|
|
80
|
-
img:"/medium.svg",
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
]
|
|
84
|
-
const Footer=()=>{
|
|
85
|
-
return(
|
|
86
|
-
<>
|
|
87
|
-
<Container className="pt-10">
|
|
88
|
-
<div className="md:flex justify-between pt-12 items-center">
|
|
89
|
-
|
|
90
|
-
<div className="text-center md:flex justify-between mb-10 mt-10 md:mt-0 ">
|
|
91
|
-
{ends.map(end=>(
|
|
92
|
-
<div key={end.title} className="md:mr-10" >
|
|
93
|
-
<div className="text-white font-semibold text-base ">
|
|
94
|
-
{end.title}
|
|
95
|
-
</div>
|
|
96
|
-
{end.content.map(item=>(
|
|
97
|
-
<div key={item.h1} className="my-3 text-sm transition duration-300 transform hover:translate-x-2 md:text-left text-white">
|
|
98
|
-
|
|
99
|
-
<Link legacyBehavior href={item.href}>
|
|
100
|
-
<a>
|
|
101
|
-
{item.h1}
|
|
102
|
-
</a>
|
|
103
|
-
</Link>
|
|
104
|
-
</div>))}
|
|
105
|
-
</div>
|
|
106
|
-
))}
|
|
107
|
-
</div>
|
|
108
|
-
|
|
109
|
-
<div>
|
|
110
|
-
<div className="flex justify-center md:justify-start " >
|
|
111
|
-
<img className="w-18" src="/logo.svg" alt=""/>
|
|
112
|
-
</div>
|
|
113
|
-
<div className="my-5 text-[#4F5568] text-sm text-center ">
|
|
114
|
-
Aura Wallet is the safest wallet
|
|
115
|
-
</div>
|
|
116
|
-
<div className="flex justify-center items-center md:justify-start ">
|
|
117
|
-
{participate.map(item=>(
|
|
118
|
-
<div key={item.img} className="mr-5 ">
|
|
119
|
-
<Link legacyBehavior href={item.href}>
|
|
120
|
-
<a className="">
|
|
121
|
-
<img className="w-6" src={item.img} alt=""/>
|
|
122
|
-
</a></Link>
|
|
123
|
-
</div> ))}
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
<div className="border-t border-[#1A1A1A] py-3 mt-5 ">
|
|
128
|
-
<div className=" flex justify-center md:block text-[#969696] text-sm ">
|
|
129
|
-
© 2022 Aura Wallet</div>
|
|
102
|
+
<div>
|
|
103
|
+
<div className="flex justify-center md:justify-start ">
|
|
104
|
+
<img className="w-18" src="/logo.svg" alt="" />
|
|
105
|
+
</div>
|
|
106
|
+
<div className="my-5 text-[#4F5568] text-sm text-center ">Aura Wallet is the safest wallet</div>
|
|
107
|
+
<div className="flex justify-center items-center md:justify-start ">
|
|
108
|
+
{participate.map(item => (
|
|
109
|
+
<div key={item.img} className="mr-5 ">
|
|
110
|
+
<Link legacyBehavior href={item.href}>
|
|
111
|
+
<a className="">
|
|
112
|
+
<img className="w-6" src={item.img} alt="" />
|
|
113
|
+
</a>
|
|
114
|
+
</Link>
|
|
130
115
|
</div>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
116
|
+
))}
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
<div className="border-t border-[#1A1A1A] py-3 mt-5 ">
|
|
121
|
+
<div className=" flex justify-center md:block text-[#969696] text-sm ">© 2022 Aura Wallet</div>
|
|
122
|
+
</div>
|
|
123
|
+
</Container>
|
|
124
|
+
</>
|
|
125
|
+
);
|
|
126
|
+
};
|
|
127
|
+
export { Footer };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import Head from 'next/head'
|
|
2
|
-
const Heads = () =>{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
export default Heads
|
|
1
|
+
import Head from 'next/head';
|
|
2
|
+
const Heads = () => {
|
|
3
|
+
return (
|
|
4
|
+
<Head>
|
|
5
|
+
<title>Test Website</title>
|
|
6
|
+
{/*<meta*/}
|
|
7
|
+
{/* name="description"*/}
|
|
8
|
+
{/* content="Seamless Portal to Web3.0."*/}
|
|
9
|
+
{/*/>*/}
|
|
10
|
+
<link rel="icon" className="rounded-full" href="/favicon.ico" />
|
|
11
|
+
</Head>
|
|
12
|
+
);
|
|
13
|
+
};
|
|
14
|
+
export default Heads;
|