Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Apr 20, 2021
1 parent faf3ca1 commit 025112d
Show file tree
Hide file tree
Showing 24 changed files with 663 additions and 619 deletions.
6 changes: 3 additions & 3 deletions docs/app-worker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const cacheName = "app-" + "72125567670e24d3875920cca9009f825a6b9fdf";
const cacheName = "app-" + "e9ad2abab9339e8c7f650f6e561d840def94c0ef";

self.addEventListener("install", event => {
console.log("installing app worker 72125567670e24d3875920cca9009f825a6b9fdf");
console.log("installing app worker e9ad2abab9339e8c7f650f6e561d840def94c0ef");
self.skipWaiting();

event.waitUntil(
Expand Down Expand Up @@ -37,7 +37,7 @@ self.addEventListener("activate", event => {
);
})
);
console.log("app worker 72125567670e24d3875920cca9009f825a6b9fdf is activated");
console.log("app worker e9ad2abab9339e8c7f650f6e561d840def94c0ef is activated");
});

self.addEventListener("fetch", event => {
Expand Down
2 changes: 1 addition & 1 deletion docs/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if ("serviceWorker" in navigator) {
// -----------------------------------------------------------------------------
// Init progressive app
// -----------------------------------------------------------------------------
const goappEnv = {"GOAPP_ROOT_PREFIX":"","GOAPP_STATIC_RESOURCES_URL":"","GOAPP_VERSION":"72125567670e24d3875920cca9009f825a6b9fdf"};
const goappEnv = {"GOAPP_ROOT_PREFIX":"","GOAPP_STATIC_RESOURCES_URL":"","GOAPP_VERSION":"e9ad2abab9339e8c7f650f6e561d840def94c0ef"};

function goappGetenv(k) {
return goappEnv[k];
Expand Down
62 changes: 31 additions & 31 deletions docs/architecture.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@
<meta name="keywords" content="go-app, go, golang, app, pwa, progressive web app, webassembly, web assembly, webapp, web, gui, ui, user interface, graphical user interface, frontend, opensource, open source, github">
<meta name="theme-color" content="#2e343a">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover">
<meta property="og:url" content="http://127.0.0.1:62989/architecture">
<meta property="og:title" content="Understanding go-app architecture">
<meta property="og:url" content="http://127.0.0.1:59502/architecture">
<meta content="Understanding go-app architecture" property="og:title">
<meta property="og:description" content="Documentation about how go-app parts are working together to deliver Progressive Web Apps out of the box?">
<meta property="og:type" content="website">
<meta content="website" property="og:type">
<meta property="og:image" content="https://go-app.dev/web/images/go-app.png">
<title>
Understanding go-app architecture
</title>
<link href="https://storage.googleapis.com/murlok-github/icon-192.png" rel="icon" type="image/png">
<link rel="icon" type="image/png" href="https://storage.googleapis.com/murlok-github/icon-192.png">
<link rel="apple-touch-icon" href="https://storage.googleapis.com/murlok-github/icon-192.png">
<link rel="manifest" href="/manifest.webmanifest">
<link type="text/css" rel="stylesheet" href="/app.css">
<script defer src="/wasm_exec.js"></script>
<script defer src="/app.js"></script>
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap">
<link type="text/css" rel="stylesheet" href="/web/css/prism.css">
<link type="text/css" rel="stylesheet" href="/web/css/docs.css">
<link href="/web/css/docs.css" type="text/css" rel="stylesheet">
<script defer src="/web/js/prism.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SW4FQEM9VM"></script>
Expand All @@ -39,11 +39,11 @@
<body>
<div>
<div id="app-pre-render">
<div id="goapp-shell-0745cd02-2b64-40f8-bb64-2de584e026ed" class="goapp-shell background">
<div id="goapp-shell-6845e6f1-4b42-4dc4-ac66-ec50e2c67aaa" class="goapp-shell background">
<div class="goapp-shell-layout" style="align-items:stretch;">
<div class="goapp-shell-item" style="display:bloc;width:276px;max-width:276px;">
<div class="fill unselectable">
<div id class="goapp-stack header hspace-out" style="flex-direction:row;align-items:center;">
<div style="flex-direction:row;align-items:center;" id class="goapp-stack header hspace-out">
<header>
<a href="/" class="app-title">
go-app
Expand All @@ -54,7 +54,7 @@
<div class="hspace-out">
<div class="vspace-top">
<a class="link heading fit " href="/">
<div class="goapp-stack " style="flex-direction:row;align-items:center;" id>
<div id class="goapp-stack " style="flex-direction:row;align-items:center;">
<div class="link-icon">
<div style="width:24px;height:24px;">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
Expand All @@ -67,7 +67,7 @@
</div>
</div>
</a>
<a class="link heading fit " href="/start">
<a href="/start" class="link heading fit ">
<div id class="goapp-stack " style="flex-direction:row;align-items:center;">
<div class="link-icon">
<div style="width:24px;height:24px;">
Expand Down Expand Up @@ -133,8 +133,8 @@
</div>
</div>
</a>
<a class="link heading fit " href="/components">
<div class="goapp-stack " style="flex-direction:row;align-items:center;" id>
<a href="/components" class="link heading fit ">
<div id class="goapp-stack " style="flex-direction:row;align-items:center;">
<div class="link-icon">
<div style="width:24px;height:24px;">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
Expand Down Expand Up @@ -231,8 +231,8 @@
</div>
</div>
</a>
<a class="link heading fit " href="/static-resources">
<div id class="goapp-stack " style="flex-direction:row;align-items:center;">
<a href="/static-resources" class="link heading fit ">
<div style="flex-direction:row;align-items:center;" id class="goapp-stack ">
<div class="link-icon">
<div style="width:24px;height:24px;">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
Expand Down Expand Up @@ -262,7 +262,7 @@
</div>
<div class="vspace-top">
<a class="link heading fit " href="/built-with">
<div id class="goapp-stack " style="flex-direction:row;align-items:center;">
<div class="goapp-stack " style="flex-direction:row;align-items:center;" id>
<div class="link-icon">
<div style="width:24px;height:24px;">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
Expand Down Expand Up @@ -306,7 +306,7 @@
</div>
<div class="vspace-top vspace-bottom">
<a class="link heading fit " href="https://github.com/maxence-charriere/go-app">
<div id class="goapp-stack " style="flex-direction:row;align-items:center;">
<div class="goapp-stack " style="flex-direction:row;align-items:center;" id>
<div class="link-icon">
<div style="width:24px;height:24px;">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
Expand Down Expand Up @@ -349,8 +349,8 @@
</div>
</div>
</a>
<a href="https://commerce.coinbase.com/checkout/851320a4-35b5-41f1-897b-74dd5ee207ae" class="link heading fit ">
<div id class="goapp-stack " style="flex-direction:row;align-items:center;">
<a class="link heading fit " href="https://commerce.coinbase.com/checkout/851320a4-35b5-41f1-897b-74dd5ee207ae">
<div class="goapp-stack " style="flex-direction:row;align-items:center;" id>
<div class="link-icon">
<div style="width:24px;height:24px;">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
Expand Down Expand Up @@ -422,7 +422,7 @@
<a class="index-link " href="#app-wasm">
app.wasm
</a>
<a href="#static-resources" class="index-link ">
<a class="index-link " href="#static-resources">
Static resources
</a>
<a class="index-link " href="#next">
Expand All @@ -431,7 +431,7 @@
</div>
</div>
<div class="vspace-top vspace-bottom">
<a href="#report-issue" class="index-link ">
<a class="index-link " href="#report-issue">
Report issue
</a>
<a class="index-link " href="#support-go-app">
Expand All @@ -442,7 +442,7 @@
</nav>
</div>
<div class="goapp-shell-item" style="flex-basis:480px;flex-grow:1;">
<div class="goapp-stack header" style="flex-direction:row;align-items:center;" id></div>
<div id class="goapp-stack header" style="flex-direction:row;align-items:center;"></div>
<div class="content">
<main id="top">
<article>
Expand Down Expand Up @@ -570,9 +570,9 @@ <h2 id="next">Next</h2>
</div>
</div>
<aside class="loader hide page-loader fill">
<div class="goapp-stack hspace-out vspace-in-stretch fit center" style="flex-direction:row;align-items:center;" id>
<div id class="goapp-stack hspace-out vspace-in-stretch fit center" style="flex-direction:row;align-items:center;">
<div style="width:66px;height:66px;">
<div style="width:64px;height:64px;" class="icon active"></div>
<div class="icon active" style="width:64px;height:64px;"></div>
</div>
<div class="hspace-in">
<header class="h1">
Expand Down Expand Up @@ -618,25 +618,25 @@ <h2 id="next">Next</h2>
</strong>
</p>
<p>
<a target="_blank" href="https://www.buymeacoffee.com/maxence">
<a href="https://www.buymeacoffee.com/maxence" target="_blank">
Buying me a coffee
</a>
, being part of the
<a href="https://opencollective.com/go-app" target="_blank">
Open Collective
</a>
, sponsoring me on
<a href="https://github.com/sponsors/maxence-charriere" target="_blank">
<a target="_blank" href="https://github.com/sponsors/maxence-charriere">
GitHub
</a>
, or giving me some cryptocurrencies, all would help me reach that goal, sustain the development, and boost motivation during long coding sessions.
</p>
</div>
<div class="goapp-flow space-flow" id="goapp-flow-2a66e77c-69a8-426b-8065-758f06f65997">
<div id="goapp-flow-13e3487d-4813-46a6-aee4-2c658f641a0f" class="goapp-flow space-flow">
<div class="goapp-flow-item" style="max-width:0px;width:0px;">
<div class="space-flow-item">
<a href="https://www.buymeacoffee.com/maxence" class="support-us-item hspace-in-stretch vspace-in vignette magnify fill">
<div id class="goapp-stack fill" style="flex-direction:row;align-items:center;">
<a class="support-us-item hspace-in-stretch vspace-in vignette magnify fill" href="https://www.buymeacoffee.com/maxence">
<div style="flex-direction:row;align-items:center;" id class="goapp-stack fill">
<div class="fit center">
<div class="fit center">
<div style="width:60px;height:60px;">
Expand All @@ -653,10 +653,10 @@ <h2 id="next">Next</h2>
</a>
</div>
</div>
<div class="goapp-flow-item" style="max-width:0px;width:0px;">
<div style="max-width:0px;width:0px;" class="goapp-flow-item">
<div class="space-flow-item">
<a class="support-us-item hspace-in-stretch vspace-in vignette magnify fill" href="https://commerce.coinbase.com/checkout/851320a4-35b5-41f1-897b-74dd5ee207ae">
<div class="goapp-stack fill" style="flex-direction:row;align-items:center;" id>
<div id class="goapp-stack fill" style="flex-direction:row;align-items:center;">
<div class="fit center">
<div class="fit center">
<div style="width:60px;height:60px;">
Expand Down Expand Up @@ -723,8 +723,8 @@ <h2 id="next">Next</h2>
</div>
</div>
<div id="app-wasm-loader" class="goapp-app-info">
<img src="https://storage.googleapis.com/murlok-github/icon-192.png" id="app-wasm-loader-icon" class="goapp-logo goapp-spin">
<p class="goapp-label" id="app-wasm-loader-label">
<img id="app-wasm-loader-icon" class="goapp-logo goapp-spin" src="https://storage.googleapis.com/murlok-github/icon-192.png">
<p id="app-wasm-loader-label" class="goapp-label">
Loading go-app documentation...
</p>
</div>
Expand Down
Loading

0 comments on commit 025112d

Please sign in to comment.