Skip to content

Commit

Permalink
feat: updated unity
Browse files Browse the repository at this point in the history
  • Loading branch information
Loque18 committed Aug 4, 2023
1 parent 6ab5c43 commit 3041346
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 29 deletions.
Binary file modified public/unity/Build/BdaoTreasury WebGL - Copy.data.unityweb
Binary file not shown.
58 changes: 31 additions & 27 deletions public/unity/index.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unity WebGL Player | BDAO-Treasury</title>
<link rel="shortcut icon" href="TemplateData/favicon.ico" />
<link rel="stylesheet" href="TemplateData/style.css" />
<script src="TemplateData/UnityProgress.js"></script>
<script src="Build/UnityLoader.js"></script>
<script>
var unityInstance = UnityLoader.instantiate(
"unityContainer",
"Build/BdaoTreasury WebGL - Copy.json",
{ onProgress: UnityProgress }
);
</script>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unity WebGL Player | BDAO-Treasury</title>
<link rel="shortcut icon" href="TemplateData/favicon.ico" />
<link rel="stylesheet" href="TemplateData/style.css" />
<script src="TemplateData/UnityProgress.js"></script>
<script src="Build/UnityLoader.js"></script>
<script>
var unityInstance = UnityLoader.instantiate(
"unityContainer",
"Build/BdaoTreasury WebGL - Copy.json",
{ onProgress: UnityProgress }
);
</script>

<style>
html,
body {
padding: 0;
margin: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div id="unityContainer" class="w-full" style="aspect-ratio: 8/5; overflow: hidden"></div>
</body>
<style>
html,
body {
padding: 0;
margin: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div
id="unityContainer"
class="w-full"
style="aspect-ratio: 8/5; overflow: hidden"
></div>
</body>
</html>
5 changes: 4 additions & 1 deletion src/app/(header-footer)/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ export default function layout({ children }) {
return (
<>
<Header></Header>
{children}
<div className="main-bg">
<section className="pt-[81px]"></section>
{children}
</div>
<Footer></Footer>
</>
);
Expand Down
3 changes: 2 additions & 1 deletion src/app/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ export default function RootLayout({ children }) {
<body className={`${ibm.variable} ${ps2p.variable}`}>
<LoadingComponent />
{/* <Header /> */}
<div className="main-bg">
<div className="bg-[#FBBC99]">
<section className="pt-[81px]"></section>
{children}
</div>

{/* <Footer /> */}
</body>
</html>
Expand Down

0 comments on commit 3041346

Please sign in to comment.