-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to main from @ block-core/angor@6c163f3 🚀
- Loading branch information
1 parent
2d74c1f
commit 4cb0b2a
Showing
475 changed files
with
2,391 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
<title>Angor</title> | ||
<base href="/" /> | ||
<link rel="icon" type="image/svg+xml" href="/assets/img/angor-icon.svg" /> | ||
<link rel="icon" type="image/png" href="/assets/img/favicon.png" /> | ||
<link href="manifest.json" rel="manifest" /> | ||
<link rel="apple-touch-icon" sizes="512x512" href="/assets/img/icon-512.png" /> | ||
<link rel="apple-touch-icon" sizes="192x192" href="/assets/img/icon-192.png" /> | ||
<link href="Angor.Client.styles.css" rel="stylesheet" /> | ||
<link href="/assets/css/dashboard.css" rel="stylesheet" /> | ||
<link href="/assets/css/app.css" rel="stylesheet" /> | ||
<meta name="description" content="Angor is a decentralized crowdfunding platform built on Bitcoin, incorporating Nostr for enhanced security and transparency. It allows investors to maintain control over their funds and supports direct communication between investors and founders."> | ||
<meta name="keywords" content="Angor, blockchain, crowdfunding, smart contracts, blockchain technology, bitcoin, nostr, decentralized applications, dApps, development, easy to use, secure"> | ||
<meta name="author" content="Angor Team"> | ||
<meta name="robots" content="index, follow"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="default"> | ||
<meta name="apple-mobile-web-app-title" content="Angor"> | ||
<meta name="application-name" content="Angor"> | ||
<meta name="msapplication-TileColor" content="#ffffff"> | ||
<meta name="msapplication-TileImage" content="/assets/img/icon-512.png"> | ||
<meta name="msapplication-config" content="/manifest.json"> | ||
</head> | ||
|
||
<body> | ||
<div id="app"> | ||
<div class="loader-wrapper"> | ||
<div class="loader"></div> | ||
</div> | ||
</div> | ||
<div id="blazor-error-ui"> | ||
An unhandled error has occurred. | ||
<a href="" class="reload">Reload</a> | ||
<a class="dismiss">🗙</a> | ||
</div> | ||
<script src="_framework/blazor.webassembly.js"></script> | ||
<script>navigator.serviceWorker.register('service-worker.js');</script> | ||
<script type="module" src="service-crypto.js"></script> | ||
<script src="/ServiceWorkerRegister.js"></script> | ||
<script src="nostr-tools-methods.js" type="module"></script> | ||
<script src="/assets/js/appUpdate.js"></script> | ||
<script src="/assets/js/app.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* /Shared/MainLayout.razor.rz.scp.css */ | ||
/* /Shared/NavMenu.razor.rz.scp.css */ | ||
.navbar-toggler[b-fe9ehfui7y] { | ||
background-color: rgba(255, 255, 255, 0.1); | ||
} | ||
|
||
.top-row[b-fe9ehfui7y] { | ||
height: 3.5rem; | ||
background-color: rgba(0,54,70,0.4); | ||
} | ||
|
||
.navbar-brand[b-fe9ehfui7y] { | ||
font-size: 1.1rem; | ||
} | ||
|
||
.oi[b-fe9ehfui7y] { | ||
width: 2rem; | ||
font-size: 1.1rem; | ||
vertical-align: text-top; | ||
top: -2px; | ||
} | ||
|
||
.nav-item[b-fe9ehfui7y] { | ||
font-size: 0.9rem; | ||
padding-bottom: 0.5rem; | ||
} | ||
|
||
.nav-item:first-of-type[b-fe9ehfui7y] { | ||
padding-top: 1rem; | ||
} | ||
|
||
.nav-item:last-of-type[b-fe9ehfui7y] { | ||
padding-bottom: 1rem; | ||
} | ||
|
||
.nav-item[b-fe9ehfui7y] a { | ||
color: #d7d7d7; | ||
border-radius: 4px; | ||
height: 3rem; | ||
display: flex; | ||
align-items: center; | ||
line-height: 3rem; | ||
} | ||
|
||
.nav-item[b-fe9ehfui7y] a.active { | ||
background-color: rgba(255,255,255,0.25); | ||
color: white; | ||
} | ||
|
||
.nav-item[b-fe9ehfui7y] a:hover { | ||
background-color: rgba(255,255,255,0.1); | ||
color: white; | ||
} | ||
|
||
@media (min-width: 641px) { | ||
.navbar-toggler[b-fe9ehfui7y] { | ||
display: none; | ||
} | ||
|
||
.collapse[b-fe9ehfui7y] { | ||
/* Never collapse the sidebar for wide screens */ | ||
display: block; | ||
} | ||
|
||
.nav-scrollable[b-fe9ehfui7y] { | ||
/* Allow sidebar to scroll for tall menus */ | ||
height: calc(100vh - 3.5rem); | ||
overflow-y: auto; | ||
} | ||
} | ||
|
||
.nav-footer[b-fe9ehfui7y] { | ||
/* Footer styles */ | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
color: #d7d7d7; | ||
padding: 10px 0 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
const serviceWorkerFileName = 'service-worker.js'; | ||
const swInstalledEvent = 'installed'; | ||
const staticCachePrefix = 'angor-cache-v'; | ||
const blazorAssembly = 'Angor'; | ||
const blazorInstallMethod = 'PWAInstallable'; | ||
|
||
const notifyNewVersion = () => { | ||
const bc = new BroadcastChannel('angor-channel'); | ||
bc.postMessage('new-version-found'); | ||
} | ||
|
||
window.updateAvailable = new Promise(function (resolve, reject) { | ||
if ('serviceWorker' in navigator) { | ||
navigator.serviceWorker.register(serviceWorkerFileName) | ||
.then(function (registration) { | ||
console.log('Registration successful, scope is:', registration.scope); | ||
registration.onupdatefound = () => { | ||
const installingWorker = registration.installing; | ||
installingWorker.onstatechange = () => { | ||
switch (installingWorker.state) { | ||
case swInstalledEvent: | ||
if (navigator.serviceWorker.controller) { | ||
resolve(true); | ||
} else { | ||
resolve(false); | ||
} | ||
break; | ||
default: | ||
} | ||
}; | ||
}; | ||
}) | ||
.catch(error => | ||
console.log('Service worker registration failed, error:', error)); | ||
} | ||
}); | ||
window['updateAvailable'] | ||
.then(isAvailable => { | ||
if (isAvailable) { | ||
notifyNewVersion(); | ||
} | ||
}); | ||
|
||
function showAddToHomeScreen() { | ||
setTimeout(function () { | ||
const installButton = document.getElementById('installButton'); | ||
if (installButton) { | ||
installButton.classList.remove('d-none'); | ||
} | ||
}, 3000); | ||
} | ||
|
||
window.AngorAPP = { | ||
installPWA: function () { | ||
if (window.PWADeferredPrompt) { | ||
window.PWADeferredPrompt.prompt(); | ||
window.PWADeferredPrompt.userChoice | ||
.then(function (choiceResult) { | ||
window.PWADeferredPrompt = null; | ||
}); | ||
const installButton = document.getElementById('installButton'); | ||
if (installButton) { | ||
installButton.classList.add('d-none'); | ||
} | ||
} | ||
} | ||
}; | ||
|
||
window.addEventListener('beforeinstallprompt', function (e) { | ||
e.preventDefault(); | ||
window.PWADeferredPrompt = e; | ||
|
||
showAddToHomeScreen(); | ||
}); |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+14.8 KB
_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm
Binary file not shown.
Binary file added
BIN
+5.28 KB
_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.br
Binary file not shown.
Binary file added
BIN
+5.89 KB
_framework/Microsoft.Extensions.DependencyInjection.Abstractions.wasm.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.81 KB
_framework/Microsoft.Extensions.Options.ConfigurationExtensions.wasm.br
Binary file not shown.
Binary file added
BIN
+2.07 KB
_framework/Microsoft.Extensions.Options.ConfigurationExtensions.wasm.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.