Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/update-test-repo.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: update-test-repo
on:
push:
branches: [ develop ]
branches: [develop]

workflow_dispatch:

Expand All @@ -15,11 +15,11 @@ jobs:
fetch-depth: 0
- name: Git-version
run: git version

- name: Git-user
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"

- name: Git-remote-add
run: git remote add testrepo https://github.com/mgguild/test-gamevault-frontend.git
Expand Down
104 changes: 53 additions & 51 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,55 +1,57 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Links -->
<link rel="preconnect" href="%REACT_APP_NODE_1%" />
<link rel="preconnect" href="%REACT_APP_NODE_2%" />
<link rel="preconnect" href="%REACT_APP_NODE_3%" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@400;600&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Orbitron" rel="stylesheet" />
<link rel="shortcut icon" href="https://app.metagg.com/favicon.ico" />
<link rel="apple-touch-icon" href="https://app.metagg.com/MGG.png" />
<link rel="manifest" href="https://app.metagg.com/manifest.json" />
<!-- Meta -->
<title>MetaGaming Guild</title>
<meta name="description" content="🎮 MGG - Stake MGG and earn token rewards!" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, minimum-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="twitter:image" content="https://app.metagg.com/MGG.png" />
<meta name="twitter:description" content="🎮 MGG - Stake MGG and earn token rewards!" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="🎮 MGG - Stake MGG and earn token rewards!" />
<meta property="og:title" content="MGG" />
<meta property="og:site_name" content="MGG" />
<meta property="og:description" content="Stake MGG and earn tokens" />
<meta property="og:image" content="https://app.metagg.com/MGG.png" />
<!-- GTAG -->
<script>
;(function (w, d, s, l, i) {
w[l] = w[l] || []
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' })
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : ''
j.async = true
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl
f.parentNode.insertBefore(j, f)
})(window, document, 'script', 'dataLayer', '%REACT_APP_GTAG%')
</script>
</head>

<head>
<meta charset="utf-8" />
<!-- Links -->
<link rel="preconnect" href="%REACT_APP_NODE_1%" />
<link rel="preconnect" href="%REACT_APP_NODE_2%" />
<link rel="preconnect" href="%REACT_APP_NODE_3%" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@400;600&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Orbitron" rel="stylesheet">
<link rel="shortcut icon" href="https://app.metagg.com/favicon.ico" />
<link rel="apple-touch-icon" href="https://app.metagg.com/MGG.png" />
<link rel="manifest" href="https://app.metagg.com/manifest.json" />
<!-- Meta -->
<title>MetaGaming Guild</title>
<meta name="description" content="🎮 MGG - Stake MGG and earn token rewards!" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, minimum-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="twitter:image" content="https://app.metagg.com/MGG.png" />
<meta name="twitter:description" content="🎮 MGG - Stake MGG and earn token rewards!" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="🎮 MGG - Stake MGG and earn token rewards!" />
<meta property="og:title" content="MGG" />
<meta property="og:site_name" content="MGG"/>
<meta property="og:description" content="Stake MGG and earn tokens" />
<meta property="og:image" content="https://app.metagg.com/MGG.png" />
<!-- GTAG -->
<script>
; (function (w, d, s, l, i) {
w[l] = w[l] || []
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' })
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : ''
j.async = true
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl
f.parentNode.insertBefore(j, f)
})(window, document, 'script', 'dataLayer', '%REACT_APP_GTAG%')
</script>
</head>

<body>
<!-- GTAG (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=%REACT_APP_GTAG%" height="0" width="0"
style="display: none; visibility: hidden"></iframe>
</noscript>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<div id="portal-root"></div>
</body>

<body>
<!-- GTAG (noscript) -->
<noscript>
<iframe
src="https://www.googletagmanager.com/ns.html?id=%REACT_APP_GTAG%"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe>
</noscript>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<div id="portal-root"></div>
</body>
</html>
417 changes: 416 additions & 1 deletion src/Animation/data.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Farms = lazy(() => import('./views/Farms'))
const Pools = lazy(() => import('./views/Pools'))
const Gamefi = lazy(() => import('./views/Gamefi'))
const ComingSoon = lazy(() => import('./views/ComingSoon'))
const Marketplace = lazy(() => import('./views/Marketplace'))
// const Marketplace = lazy(() => import('./views/Marketplace'))
const NftMarket = lazy(() => import('./views/Marketplace/Market'))
const HistoryMarketplace = lazy(() => import('./views/Marketplace/History'))
const UserProfile = lazy(() => import('./views/Marketplace/User'))
Expand Down Expand Up @@ -72,7 +72,7 @@ const App: React.FC = () => {
pageTitle="Pools"
exact
/>
<NetworkRoute
{/* <NetworkRoute
path="/marketplace"
Component={Marketplace}
chainSupportConfig={{ title: 'MARKETPLACE', id: chainId }}
Expand Down Expand Up @@ -110,7 +110,7 @@ const App: React.FC = () => {
chainSupportConfig={{ title: 'MARKETPLACE', id: chainId }}
pageTitle="Marketplace User Profile"
exact
/>
/> */}
<NetworkRoute
path="/gamefi"
Component={Gamefi}
Expand Down
28 changes: 14 additions & 14 deletions src/components/Menu/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ const config: MenuEntry[] = [
icon: '',
href: '/launchpad',
},
{
label: 'Marketplace',
icon: '',
items: [
{
label: 'Home',
href: '/marketplace',
},
{
label: 'NFT Market',
href: '/marketplace/nft-market',
},
],
},
// {
// label: 'Marketplace',
// icon: '',
// items: [
// {
// label: 'Home',
// href: '/marketplace',
// },
// {
// label: 'NFT Market',
// href: '/marketplace/nft-market',
// },
// ],
// },
{
label: 'Bridge',
icon: '',
Expand Down
Loading