Skip to content

Commit

Permalink
deploy: c7c28eb
Browse files Browse the repository at this point in the history
  • Loading branch information
think-in-universe committed Jan 13, 2024
1 parent 62aaf9a commit 6ac4b70
Show file tree
Hide file tree
Showing 30 changed files with 1,726 additions and 630 deletions.
88 changes: 60 additions & 28 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
<html lang="en" class="sidebar-visible no-js light">
<html lang="en" class="light" dir="ltr">
<head>
<!-- Book generated using mdBook -->
<meta charset="UTF-8">
Expand All @@ -9,10 +9,9 @@

<!-- Custom HTML head -->

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff" />
<meta name="theme-color" content="#ffffff">

<link rel="icon" href="favicon.svg">
<link rel="shortcut icon" href="favicon.png">
Expand All @@ -33,15 +32,16 @@
<!-- Custom theme stylesheets -->

</head>
<body>
<body class="sidebar-visible no-js">
<div id="body-container">
<!-- Provide site root to javascript -->
<script type="text/javascript">
<script>
var path_to_root = "";
var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "light";
</script>

<!-- Work around some values being stored in localStorage wrapped in quotes -->
<script type="text/javascript">
<script>
try {
var theme = localStorage.getItem('mdbook-theme');
var sidebar = localStorage.getItem('mdbook-sidebar');
Expand All @@ -57,50 +57,81 @@
</script>

<!-- Set the theme before any content is loaded, prevents flash -->
<script type="text/javascript">
<script>
var theme;
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
if (theme === null || theme === undefined) { theme = default_theme; }
var html = document.querySelector('html');
html.classList.remove('no-js')
html.classList.remove('light')
html.classList.add(theme);
html.classList.add('js');
var body = document.querySelector('body');
body.classList.remove('no-js')
body.classList.add('js');
</script>

<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">

<!-- Hide / unhide sidebar before it is displayed -->
<script type="text/javascript">
var html = document.querySelector('html');
var sidebar = 'hidden';
<script>
var body = document.querySelector('body');
var sidebar = null;
var sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
} else {
sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
sidebar_toggle.checked = sidebar === 'visible';
body.classList.remove('sidebar-visible');
body.classList.add("sidebar-" + sidebar);
</script>

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded "><a href="eth_to_near.html"><strong aria-hidden="true">1.</strong> Ethereum to NEAR</a></li><li class="chapter-item expanded "><a href="rust_smart_contract.html"><strong aria-hidden="true">2.</strong> Rust Smart Contract</a></li><li class="chapter-item expanded "><a href="near_cli.html"><strong aria-hidden="true">3.</strong> Play with NEAR CLI</a></li><li class="chapter-item expanded "><a href="account.html"><strong aria-hidden="true">4.</strong> Powerful Account Model</a></li><li class="chapter-item expanded "><a href="hiding_blockchain.html"><strong aria-hidden="true">5.</strong> Hiding the Blockchain</a></li><li class="chapter-item expanded "><a href="storage.html"><strong aria-hidden="true">6.</strong> Storage</a></li><li class="chapter-item expanded "><a href="wallet.html"><strong aria-hidden="true">7.</strong> Wallet</a></li><li class="chapter-item expanded "><a href="ft.html"><strong aria-hidden="true">8.</strong> Fungible Token</a></li><li class="chapter-item expanded "><a href="nft.html"><strong aria-hidden="true">9.</strong> Non-Fungible Token</a></li><li class="chapter-item expanded "><a href="game.html"><strong aria-hidden="true">10.</strong> Game</a></li><li class="chapter-item expanded "><a href="indexer.html"><strong aria-hidden="true">11.</strong> Indexer</a></li><li class="chapter-item expanded "><a href="aurora.html"><strong aria-hidden="true">12.</strong> Aurora</a></li><li class="chapter-item expanded "><a href="localization.html"><strong aria-hidden="true">13.</strong> Localization</a></li><li class="chapter-item expanded "><a href="security.html"><strong aria-hidden="true">14.</strong> Security</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded "><a href="eth_to_near.html"><strong aria-hidden="true">1.</strong> Ethereum to NEAR</a></li><li class="chapter-item expanded "><a href="rust_smart_contract.html"><strong aria-hidden="true">2.</strong> Rust Smart Contract</a></li><li class="chapter-item expanded "><a href="near_cli.html"><strong aria-hidden="true">3.</strong> Play with NEAR CLI</a></li><li class="chapter-item expanded "><a href="account.html"><strong aria-hidden="true">4.</strong> Powerful Account Model</a></li><li class="chapter-item expanded "><a href="hiding_blockchain.html"><strong aria-hidden="true">5.</strong> Hiding the Blockchain</a></li><li class="chapter-item expanded "><a href="storage.html"><strong aria-hidden="true">6.</strong> Storage</a></li><li class="chapter-item expanded "><a href="wallet.html"><strong aria-hidden="true">7.</strong> Wallet</a></li><li class="chapter-item expanded "><a href="ft.html"><strong aria-hidden="true">8.</strong> Fungible Token</a></li><li class="chapter-item expanded "><a href="nft.html"><strong aria-hidden="true">9.</strong> Non-Fungible Token</a></li><li class="chapter-item expanded "><a href="game.html"><strong aria-hidden="true">10.</strong> Game</a></li><li class="chapter-item expanded "><a href="rpc.html"><strong aria-hidden="true">11.</strong> RPC</a></li><li class="chapter-item expanded "><a href="indexer.html"><strong aria-hidden="true">12.</strong> Indexer</a></li><li class="chapter-item expanded "><a href="aurora.html"><strong aria-hidden="true">13.</strong> Aurora</a></li><li class="chapter-item expanded "><a href="localization.html"><strong aria-hidden="true">14.</strong> Localization</a></li><li class="chapter-item expanded "><a href="security.html"><strong aria-hidden="true">15.</strong> Security</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
</nav>

<!-- Track and set sidebar scroll position -->
<script>
var sidebarScrollbox = document.querySelector('#sidebar .sidebar-scrollbox');
sidebarScrollbox.addEventListener('click', function(e) {
if (e.target.tagName === 'A') {
sessionStorage.setItem('sidebar-scroll', sidebarScrollbox.scrollTop);
}
}, { passive: true });
var sidebarScrollTop = sessionStorage.getItem('sidebar-scroll');
sessionStorage.removeItem('sidebar-scroll');
if (sidebarScrollTop) {
// preserve sidebar scroll position when navigating via links within sidebar
sidebarScrollbox.scrollTop = sidebarScrollTop;
} else {
// scroll sidebar to current active section when navigating via "next/previous chapter" buttons
var activeSection = document.querySelector('#sidebar .active');
if (activeSection) {
activeSection.scrollIntoView({ block: 'center' });
}
}
</script>

<div id="page-wrapper" class="page-wrapper">

<div class="page">
<div id="menu-bar-hover-placeholder"></div>
<div id="menu-bar" class="menu-bar sticky bordered">
<div id="menu-bar" class="menu-bar sticky">
<div class="left-buttons">
<button id="sidebar-toggle" class="icon-button" type="button" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
<label id="sidebar-toggle" class="icon-button" for="sidebar-toggle-anchor" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
<i class="fa fa-bars"></i>
</button>
</label>
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
<i class="fa fa-paint-brush"></i>
</button>
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
<li role="none"><button role="menuitem" class="theme" id="light">Light (default)</button></li>
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
Expand Down Expand Up @@ -133,7 +164,7 @@ <h1 class="menu-title">NEAR Cookbook</h1>
</div>

<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
<script type="text/javascript">
<script>
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
Expand Down Expand Up @@ -166,21 +197,22 @@ <h1 id="document-not-found-404"><a class="header" href="#document-not-found-404"



<script type="text/javascript">
<script>
window.playground_copyable = true;
</script>


<script src="elasticlunr.min.js" type="text/javascript" charset="utf-8"></script>
<script src="mark.min.js" type="text/javascript" charset="utf-8"></script>
<script src="searcher.js" type="text/javascript" charset="utf-8"></script>
<script src="elasticlunr.min.js"></script>
<script src="mark.min.js"></script>
<script src="searcher.js"></script>

<script src="clipboard.min.js" type="text/javascript" charset="utf-8"></script>
<script src="highlight.js" type="text/javascript" charset="utf-8"></script>
<script src="book.js" type="text/javascript" charset="utf-8"></script>
<script src="clipboard.min.js"></script>
<script src="highlight.js"></script>
<script src="book.js"></script>

<!-- Custom JS scripts -->


</div>
</body>
</html>
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

Loading

0 comments on commit 6ac4b70

Please sign in to comment.