更新一些链接, cookie二级域名共享
This commit is contained in:
parent
655cf52768
commit
d3b566ce0a
@ -10,7 +10,7 @@
|
||||
"build:test": "vue-cli-service build --mode test",
|
||||
"deploy:prod": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games --exclude \"pubgv4/*\" --exclude \"release/*\"",
|
||||
"deploy:test": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://test-client.cebg.games",
|
||||
"refresh:prod": "aws cloudfront create-invalidation --distribution-id E34PEY4AGTMS0Y --paths \"/*\"",
|
||||
"refresh:prod": "aws cloudfront create-invalidation --distribution-id E3L3EZ5PQ5MDAU --paths \"/*\"",
|
||||
"refresh:test": "aws cloudfront create-invalidation --distribution-id EE4HC9OXEQC7Y --paths \"/*\"",
|
||||
"svg": "vsvg -s ./src/icons/svg -t ./src/icons/components --ext ts --es6",
|
||||
"sitemap": "vue-cli-service sitemap"
|
||||
|
@ -1,8 +1,8 @@
|
||||
diff --git a/node_modules/@walletconnect/browser-utils/dist/esm/local.js b/node_modules/@walletconnect/browser-utils/dist/esm/local.js
|
||||
index c7f4db3..66b8863 100644
|
||||
index c7f4db3..9e2d455 100644
|
||||
--- a/node_modules/@walletconnect/browser-utils/dist/esm/local.js
|
||||
+++ b/node_modules/@walletconnect/browser-utils/dist/esm/local.js
|
||||
@@ -1,26 +1,31 @@
|
||||
@@ -1,26 +1,29 @@
|
||||
import { safeJsonParse, safeJsonStringify } from "./json";
|
||||
import { getLocalStorage } from "./browser";
|
||||
+var Cookies = require('js-cookie')
|
||||
@ -12,9 +12,7 @@ index c7f4db3..66b8863 100644
|
||||
- if (local) {
|
||||
- local.setItem(key, raw);
|
||||
- }
|
||||
+ console.log('cookie save vale: ' + key + ' | ' + raw);
|
||||
+ console.log(Cookies);
|
||||
+ Cookies.set(key, raw);
|
||||
+ Cookies.set(key, raw, { domain: 'cebg.games'});
|
||||
+ // const local = getLocalStorage();
|
||||
+ // if (local) {
|
||||
+ // local.setItem(key, raw);
|
||||
|
BIN
src/assets/main/card/class_4.png
Normal file
BIN
src/assets/main/card/class_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
@ -19,11 +19,11 @@
|
||||
<div class="link-list">
|
||||
<div class="sub-list">
|
||||
<div class="title">Product</div>
|
||||
<a href="/">Home</a>
|
||||
<a href="/gameplay/index.html">Gameplay</a>
|
||||
<a href="/tokenomic/index.html">Tokenomic</a>
|
||||
<a href="/nft/index.html">NFT</a>
|
||||
<a href="/market">Marketplace</a>
|
||||
<a href="https://www.cebg.games/index.html">Home</a>
|
||||
<a href="https://www.cebg.games/gameplay.html">Gameplay</a>
|
||||
<a href="https://www.cebg.games/tokenomic.html">Tokenomic</a>
|
||||
<a href="https://www.cebg.games/nft.html">NFT</a>
|
||||
<a href="https://mall.cebg.games/index.html">Marketplace</a>
|
||||
</div>
|
||||
<div class="sub-list">
|
||||
<div class="title">Resources</div>
|
||||
@ -31,13 +31,13 @@
|
||||
</div>
|
||||
<div class="sub-list">
|
||||
<div class="title">About</div>
|
||||
<a href="/team/index.html">Team</a>
|
||||
<a href="/roadmap/index.html" >Roadmap</a>
|
||||
<a href="https://www.cebg.games/team.html">Team</a>
|
||||
<a href="https://www.cebg.games/roadmap.html" >Roadmap</a>
|
||||
</div>
|
||||
<div class="sub-list">
|
||||
<div class="title">Policies</div>
|
||||
<a href="/terms">Terms of use</a>
|
||||
<a href="/privacy">Privacy Policy</a>
|
||||
<a href="https://www.cebg.games/terms.html">Terms of use</a>
|
||||
<a href="https://www.cebg.games/privacy.html">Privacy Policy</a>
|
||||
</div>
|
||||
<div class="sub-list">
|
||||
<div class="title">Contact us</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-menu">
|
||||
<a class="menu-item" href="/">
|
||||
<a class="menu-item" href="https://www.cebg.games/index.html">
|
||||
<div class="item" >Home</div>
|
||||
</a>
|
||||
<a class="menu-item" href="/mall" >
|
||||
|
@ -20,11 +20,11 @@
|
||||
<div>Product</div>
|
||||
<img class="btn-plus" src="@/assets/mobile/index/icon-plus.png" alt="plus"/>
|
||||
</div>
|
||||
<a href="/">Home</a>
|
||||
<a href="/gameplay/index.html">Gameplay</a>
|
||||
<a href="/tokenomic/index.html">Tokenomic</a>
|
||||
<a href="/nft/index.html">NFT</a>
|
||||
<a href="/market" >Marketplace</a>
|
||||
<a href="https://www.cebg.games/index.html">Home</a>
|
||||
<a href="https://www.cebg.games/gameplay.html">Gameplay</a>
|
||||
<a href="https://www.cebg.games/tokenomic.html">Tokenomic</a>
|
||||
<a href="https://www.cebg.games/nft.html">NFT</a>
|
||||
<a href="https://mall.cebg.games/index.html">Marketplace</a>
|
||||
</div>
|
||||
<div class="sub-list" :class="{'close': status[1]}">
|
||||
<div class="title" @click="toggleSublist(1)">
|
||||
@ -38,16 +38,16 @@
|
||||
<div>About</div>
|
||||
<img class="btn-plus" src="@/assets/mobile/index/icon-plus.png" alt="plus"/>
|
||||
</div>
|
||||
<a href="/team/index.html">Team</a>
|
||||
<a href="/roadmap/index.html" >Roadmap</a>
|
||||
<a href="https://www.cebg.games/team.html">Team</a>
|
||||
<a href="https://www.cebg.games/roadmap.html" >Roadmap</a>
|
||||
</div>
|
||||
<div class="sub-list" :class="{'close': status[3]}">
|
||||
<div class="title" @click="toggleSublist(3)">
|
||||
<div>Policies</div>
|
||||
<img class="btn-plus" src="@/assets/mobile/index/icon-plus.png" alt="plus"/>
|
||||
</div>
|
||||
<a href="/terms">Terms of use</a>
|
||||
<a href="/privacy">Privacy Policy</a>
|
||||
<a href="https://www.cebg.games/terms.html">Terms of use</a>
|
||||
<a href="https://www.cebg.games/privacy.html">Privacy Policy</a>
|
||||
</div>
|
||||
<div class="sub-list" :class="{'close': status[4]}">
|
||||
<div class="title" @click="toggleSublist(4)">
|
||||
|
@ -12,27 +12,9 @@ console.log('AppModule.device: ', AppModule.device, mobile)
|
||||
const routes: Array<RouteConfig> = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Main',
|
||||
component: resolve => mobile ? require(['@/views/mobile/Index.vue'], resolve) : require(['@/views/desktop/Index.vue'], resolve),
|
||||
alias: '/index.html',
|
||||
meta: {
|
||||
title: 'CEBG: CRYPTO ELITE‘S BATTLEGROUNDS',
|
||||
metaTags: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'CEBG is the 1st Anime + Beauties + Mechas blockchain game that supports FREE TO PLAY and PLAY TO EARN. It\'s an online multiplayer battle royale game where up to 40 players parachute onto an island and scavenge for weapons and equipment to kill others. The last player or team standing wins the round.'
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
content: 'CEBG, CRYPTO ELITE‘S BATTLEGROUNDS, CEBG BATTLEGROUNDS, CE BATTLEGROUNDS, CRYPTO ELITE‘S, cebg Mobile, cebg official, free battle royale, cebg game, cec, ceg, cebg coin, cebg gold, cebg crypto, cebg p2e, play to earn, free to play, blockchain game'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/market',
|
||||
name: 'Market',
|
||||
component: resolve => require(['@/views/desktop/Market.vue'], resolve),
|
||||
alias: '/index.html',
|
||||
meta: {
|
||||
title: 'Market | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS'
|
||||
}
|
||||
@ -101,102 +83,6 @@ const routes: Array<RouteConfig> = [
|
||||
title: 'NFT Info | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/nft',
|
||||
name: 'Nft',
|
||||
// component: mobile ? MobileNft : NFT,
|
||||
component: resolve => mobile ? require(['@/views/mobile/NFT.vue'], resolve) : require(['@/views/desktop/NFT.vue'], resolve),
|
||||
alias: '/nft/index.html',
|
||||
meta: {
|
||||
title: 'NFT | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS',
|
||||
metaTags: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'CEBG is the 1st Anime + Beauties + Mechas blockchain game that supports FREE TO PLAY and PLAY TO EARN. It\'s an online multiplayer battle royale game where up to 40 players parachute onto an island and scavenge for weapons and equipment to kill others. The last player or team standing wins the round.'
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
content: 'nft, CEBG, CRYPTO ELITE‘S BATTLEGROUNDS, CEBG BATTLEGROUNDS, CE BATTLEGROUNDS, CRYPTO ELITE‘S, cebg Mobile, cebg official, free battle royale, cebg game, cec, ceg, cebg coin, cebg gold, cebg crypto, cebg p2e, play to earn, free to play, blockchain game'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/gameplay',
|
||||
name: 'Gameplay',
|
||||
component: resolve => mobile ? require(['@/views/mobile/Gameplay.vue'], resolve) : require(['@/views/desktop/Gameplay.vue'], resolve),
|
||||
alias: '/gameplay/index.html',
|
||||
meta: {
|
||||
title: 'Gameplay | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS',
|
||||
metaTags: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'CEBG is the 1st Anime + Beauties + Mechas blockchain game that supports FREE TO PLAY and PLAY TO EARN. It\'s an online multiplayer battle royale game where up to 40 players parachute onto an island and scavenge for weapons and equipment to kill others. The last player or team standing wins the round.'
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
content: 'gameplay, CEBG, CRYPTO ELITE‘S BATTLEGROUNDS, CEBG BATTLEGROUNDS, CE BATTLEGROUNDS, CRYPTO ELITE‘S, cebg Mobile, cebg official, free battle royale, cebg game, cec, ceg, cebg coin, cebg gold, cebg crypto, cebg p2e, play to earn, free to play, blockchain game'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/tokenomic',
|
||||
name: 'Tokenomic',
|
||||
component: resolve => mobile ? require(['@/views/mobile/Tokenomic.vue'], resolve) : require(['@/views/desktop/Tokenomic.vue'], resolve),
|
||||
alias: '/tokenomic/index.html',
|
||||
meta: {
|
||||
title: 'Tokenomic | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS',
|
||||
metaTags: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'CEBG is the 1st Anime + Beauties + Mechas blockchain game that supports FREE TO PLAY and PLAY TO EARN. It\'s an online multiplayer battle royale game where up to 40 players parachute onto an island and scavenge for weapons and equipment to kill others. The last player or team standing wins the round.'
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
content: 'tokenomic, CEBG, CRYPTO ELITE‘S BATTLEGROUNDS, CEBG BATTLEGROUNDS, CE BATTLEGROUNDS, CRYPTO ELITE‘S, cebg Mobile, cebg official, free battle royale, cebg game, cec, ceg, cebg coin, cebg gold, cebg crypto, cebg p2e, play to earn, free to play, blockchain game'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/team',
|
||||
name: 'Team',
|
||||
component: resolve => mobile ? require(['@/views/mobile/Team.vue'], resolve) : require(['@/views/desktop/Team.vue'], resolve),
|
||||
alias: '/team/index.html',
|
||||
meta: {
|
||||
title: 'Team | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS',
|
||||
metaTags: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'CEBG is the 1st Anime + Beauties + Mechas blockchain game that supports FREE TO PLAY and PLAY TO EARN. It\'s an online multiplayer battle royale game where up to 40 players parachute onto an island and scavenge for weapons and equipment to kill others. The last player or team standing wins the round.'
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
content: 'team, CEBG, CRYPTO ELITE‘S BATTLEGROUNDS, CEBG BATTLEGROUNDS, CE BATTLEGROUNDS, CRYPTO ELITE‘S, cebg Mobile, cebg official, free battle royale, cebg game, cec, ceg, cebg coin, cebg gold, cebg crypto, cebg p2e, play to earn, free to play, blockchain game'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/roadmap',
|
||||
name: 'Roadmap',
|
||||
component: resolve => mobile ? require(['@/views/mobile/Roadmap.vue'], resolve) : require(['@/views/desktop/Roadmap.vue'], resolve),
|
||||
alias: '/roadmap/index.html',
|
||||
meta: {
|
||||
title: 'Roadmap | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS',
|
||||
metaTags: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'CEBG is the 1st Anime + Beauties + Mechas blockchain game that supports FREE TO PLAY and PLAY TO EARN. It\'s an online multiplayer battle royale game where up to 40 players parachute onto an island and scavenge for weapons and equipment to kill others. The last player or team standing wins the round.'
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
content: 'roadmap, CEBG, CRYPTO ELITE‘S BATTLEGROUNDS, CEBG BATTLEGROUNDS, CE BATTLEGROUNDS, CRYPTO ELITE‘S, cebg Mobile, cebg official, free battle royale, cebg game, cec, ceg, cebg coin, cebg gold, cebg crypto, cebg p2e, play to earn, free to play, blockchain game'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/nativelogin',
|
||||
name: 'NativeLogin',
|
||||
@ -213,14 +99,6 @@ const routes: Array<RouteConfig> = [
|
||||
meta: {
|
||||
title: 'Privacy Policy of Crypto Elite\'s:BATTLEGROUNDS (CEBG)'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/terms',
|
||||
name: 'Terms',
|
||||
component: resolve => require(['@/views/desktop/Terms.vue'], resolve),
|
||||
meta: {
|
||||
title: 'Crypto Elite\'s: BATTLEGROUNDS(CEBG) Terms of Use'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
@ -24,9 +24,9 @@ const tokenKey = 'vue_typescript_access_token'
|
||||
// export const removeItem = (key: string) => localStorage.removeItem(key)
|
||||
|
||||
export const getToken = () => Cookies.get(tokenKey)
|
||||
export const setToken = (token: string) => Cookies.set(tokenKey, token)
|
||||
export const setToken = (token: string) => Cookies.set(tokenKey, token, { domain: 'cebg.games'})
|
||||
export const removeToken = () => Cookies.remove(tokenKey)
|
||||
|
||||
export const getItem = (key: string) => Cookies.get(key)
|
||||
export const setItem = (key: string, val: string) => Cookies.set(key, val)
|
||||
export const setItem = (key: string, val: string) => Cookies.set(key, val, { domain: 'cebg.games'})
|
||||
export const removeItem = (key: string) => Cookies.remove(key)
|
||||
|
@ -36,25 +36,25 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
configureWebpack(config) {
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
config.plugins.push(
|
||||
new PrerenderSPAPlugin({
|
||||
indexPath: path.resolve('dist/index.html'),
|
||||
staticDir: path.resolve('dist'),
|
||||
routes: ['/', '/nft', '/gameplay', '/tokenomic', '/roadmap', '/team'],
|
||||
renderer: new Renderer({
|
||||
headless: true,
|
||||
defaultViewport: {
|
||||
width: 1920,
|
||||
height: 1080
|
||||
}
|
||||
}),
|
||||
postProcess(renderedRoute) {
|
||||
renderedRoute.html = renderedRoute.html.replace(YOUTUBE_WIDGET_SCRIPT, '').replace(YOUTUBE_PLAYER_SCRIPT, '')
|
||||
return renderedRoute
|
||||
}
|
||||
})
|
||||
)
|
||||
}
|
||||
// if (process.env.NODE_ENV === 'production') {
|
||||
// config.plugins.push(
|
||||
// new PrerenderSPAPlugin({
|
||||
// indexPath: path.resolve('dist/index.html'),
|
||||
// staticDir: path.resolve('dist'),
|
||||
// routes: ['/', '/nft', '/gameplay', '/tokenomic', '/roadmap', '/team'],
|
||||
// renderer: new Renderer({
|
||||
// headless: true,
|
||||
// defaultViewport: {
|
||||
// width: 1920,
|
||||
// height: 1080
|
||||
// }
|
||||
// }),
|
||||
// postProcess(renderedRoute) {
|
||||
// renderedRoute.html = renderedRoute.html.replace(YOUTUBE_WIDGET_SCRIPT, '').replace(YOUTUBE_PLAYER_SCRIPT, '')
|
||||
// return renderedRoute
|
||||
// }
|
||||
// })
|
||||
// )
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user