Skip to content

Commit

Permalink
new website
Browse files Browse the repository at this point in the history
  • Loading branch information
watano committed Dec 29, 2023
1 parent 5fdc0d3 commit e6d106f
Show file tree
Hide file tree
Showing 293 changed files with 26,455 additions and 4,799 deletions.
243 changes: 243 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,243 @@
<!DOCTYPE html><html lang="en" dir="ltr" class="2xl:text-[20px]"> <head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="sitemap" href="/sitemap-index.xml"><link rel="shortcut icon" href="/_astro/favicon.sNBBSGPZ.ico"><link rel="icon" type="image/svg+xml" href="/_astro/favicon.jAUM_1GV.svg"><link rel="mask-icon" href="/_astro/favicon.jAUM_1GV.svg" color="#8D46E7"><link rel="apple-touch-icon" sizes="180x180" href="/_astro/apple-touch-icon.qzCMJsat.png"><style is:global>
:root {
--aw-font-sans: 'Inter Variable';
--aw-font-serif: var(--aw-font-sans);
--aw-font-heading: var(--aw-font-sans);
--aw-color-primary: #6966ff;
--aw-color-secondary: #3ed9a4;
--aw-color-accent: #e45555;
--aw-color-text-heading: rgb(0 0 0);
--aw-color-text-default: #181818;
--aw-color-text-muted: rgb(0x18 0x18 0x18 / 66%);
--aw-color-bg-page: #ffffff;
--aw-color-bg-page-dark: #ffffff;
--aw-color-layer1: #ffffff;
--aw-color-layer2: #e9ecee;
--aw-color-layer3: #ffffff;
--aw-color-layer4: #f7f8fa;
--aw-color-layer5: #ffffff;
--aw-color-layer6: #edf0f2;
--aw-color-layer7: #d5dadf;
--aw-color-layer8: #ffffff;

::selection {
background-color: lavender;
}
}

.dark {
--aw-font-sans: 'Inter Variable';
--aw-font-serif: var(--aw-font-sans);
--aw-font-heading: var(--aw-font-sans);
--aw-color-primary: #6966ff;
--aw-color-secondary: #3ed9a4;
--aw-color-accent: #e45555;
--aw-color-text-heading: rgb(0 0 0);
--aw-color-text-default: #fafafa;
--aw-color-text-muted: rgb(0xfa 0xfa 0xfa / 66%);
--aw-color-bg-page: #000000;
--aw-color-bg-page-dark: #000000;
--aw-color-layer1: #000000;
--aw-color-layer2: #18181b;
--aw-color-layer3: #0c0c0d;
--aw-color-layer4: #212124;
--aw-color-layer5: #303033;
--aw-color-layer6: #3b3b3f;
--aw-color-layer7: #494950;
--aw-color-layer8: #56565c;

::selection {
background-color: #181825;
color: snow;
}
}
</style><script>(function(){const defaultTheme = "dark";

function applyTheme(theme) {
if (theme === 'dark') {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
const matches = document.querySelectorAll('[data-aw-toggle-color-scheme] > input');

if (matches && matches.length) {
matches.forEach((elem) => {
elem.checked = theme !== 'dark';
});
}
}

if ((defaultTheme && defaultTheme.endsWith(':only')) || (!localStorage.theme && defaultTheme !== 'system')) {
applyTheme(defaultTheme.replace(':only', ''));
} else if (
localStorage.theme === 'dark' ||
(!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)
) {
applyTheme('dark');
} else {
applyTheme('light');
}
})();</script><title>Error 404 — TokenAgg DAO</title>
<meta name="description" content="🚀 社区自治的区块链项目综合服务平台" />
<meta name="robots" content="index,follow" />
<link rel="canonical" href="https://dataagg.github.io/404" />
<meta property="og:title" content="Error 404" />
<meta property="og:description" content="🚀 社区自治的区块链项目综合服务平台" />
<meta property="og:url" content="https://dataagg.github.io/404" />
<meta property="og:type" content="website" />
<meta property="og:image" content="" />

<meta property="og:locale" content="en" />
<meta property="og:site_name" content="TokenAgg DAO" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@watano" />
<meta name="twitter:creator" content="@watano" /><!-- Uncomment line below to activate View Transitions --><!-- <ViewTransitions fallback="swap" /> --><link rel="stylesheet" href="/_astro/click-through.45fq7QCF.css" /></head> <body class="antialiased text-default bg-page tracking-tight"> <section class="flex items-center h-full p-16"> <div class="container flex flex-col items-center justify-center px-5 mx-auto my-8"> <div class="max-w-md text-center"> <h2 class="mb-8 font-bold text-9xl"> <span class="sr-only">Error</span> <span class="text-primary">404</span> </h2> <p class="text-3xl font-semibold md:text-3xl">Sorry, we couldn't find this page.</p> <p class="mt-4 mb-8 text-lg text-muted dark:text-slate-400">
But dont worry, you can find plenty of other things on our homepage.
</p> <a rel="noopener noreferrer" href="/" class="btn ml-4">Back to homepage</a> </div> </div> </section> <script>(function(){const defaultTheme = "dark";

if (window.basic_script) {
return;
}

window.basic_script = true;

function applyTheme(theme) {
if (theme === 'dark') {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
}

const initTheme = function () {
if ((defaultTheme && defaultTheme.endsWith(':only')) || (!localStorage.theme && defaultTheme !== 'system')) {
applyTheme(defaultTheme.replace(':only', ''));
} else if (
localStorage.theme === 'dark' ||
(!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)
) {
applyTheme('dark');
} else {
applyTheme('light');
}
};
initTheme();

function attachEvent(selector, event, fn) {
const matches = typeof selector === 'string' ? document.querySelectorAll(selector) : selector;
if (matches && matches.length) {
matches.forEach((elem) => {
elem.addEventListener(event, (e) => fn(e, elem), false);
});
}
}

const onLoad = function () {
let lastKnownScrollPosition = window.scrollY;
let ticking = true;

attachEvent('#header nav', 'click', function () {
document.querySelector('[data-aw-toggle-menu]')?.classList.remove('expanded');
document.body.classList.remove('overflow-hidden');
document.getElementById('header')?.classList.remove('h-screen');
document.getElementById('header')?.classList.remove('expanded');
document.getElementById('header')?.classList.remove('bg-page');
document.querySelector('#header nav')?.classList.add('hidden');
document.querySelector('#header > div > div:last-child')?.classList.add('hidden');
});

attachEvent('[data-aw-toggle-menu]', 'click', function (_, elem) {
elem.classList.toggle('expanded');
document.body.classList.toggle('overflow-hidden');
document.getElementById('header')?.classList.toggle('h-screen');
document.getElementById('header')?.classList.toggle('expanded');
document.getElementById('header')?.classList.toggle('bg-page');
document.querySelector('#header nav')?.classList.toggle('hidden');
document.querySelector('#header > div > div:last-child')?.classList.toggle('hidden');
});

attachEvent('[data-aw-toggle-color-scheme]', 'click', function () {
if (defaultTheme.endsWith(':only')) {
return;
}
document.documentElement.classList.toggle('dark');
localStorage.theme = document.documentElement.classList.contains('dark') ? 'dark' : 'light';
});

attachEvent('[data-aw-social-share]', 'click', function (_, elem) {
const network = elem.getAttribute('data-aw-social-share');
const url = encodeURIComponent(elem.getAttribute('data-aw-url'));
const text = encodeURIComponent(elem.getAttribute('data-aw-text'));

let href;
switch (network) {
case 'facebook':
href = `https://www.facebook.com/sharer.php?u=${url}`;
break;
case 'twitter':
href = `https://twitter.com/intent/tweet?url=${url}&text=${text}`;
break;
case 'linkedin':
href = `https://www.linkedin.com/shareArticle?mini=true&url=${url}&title=${text}`;
break;
case 'whatsapp':
href = `https://wa.me/?text=${text}%20${url}`;
break;
case 'mail':
href = `mailto:?subject=%22${text}%22&body=${text}%20${url}`;
break;

default:
return;
}

const newlink = document.createElement('a');
newlink.target = '_blank';
newlink.href = href;
newlink.click();
});

function appyHeaderStylesOnScroll() {
const header = document.querySelector('#header[data-aw-sticky-header]');
if (lastKnownScrollPosition > 60 && !header.classList.contains('scroll')) {
document.getElementById('header').classList.add('scroll');
} else if (lastKnownScrollPosition <= 60 && header.classList.contains('scroll')) {
document.getElementById('header').classList.remove('scroll');
}
ticking = false;
}
appyHeaderStylesOnScroll();

attachEvent([document], 'scroll', function () {
lastKnownScrollPosition = window.scrollY;

if (!ticking) {
window.requestAnimationFrame(() => {
appyHeaderStylesOnScroll();
});
ticking = true;
}
});
};
const onPageShow = function () {
document.documentElement.classList.add('motion-safe:scroll-smooth');
const elem = document.querySelector('[data-aw-toggle-menu]');
if (elem) {
elem.classList.remove('expanded');
}
document.body.classList.remove('overflow-hidden');
document.getElementById('header')?.classList.remove('h-screen');
document.getElementById('header')?.classList.remove('expanded');
document.querySelector('#header nav')?.classList.add('hidden');
};

window.onload = onLoad;
window.onpageshow = onPageShow;

document.addEventListener('astro:after-swap', () => {
initTheme();
onLoad();
onPageShow();
});
})();</script> </body> </html>
1 change: 1 addition & 0 deletions _astro/ProjectSectionCom.YY1opANZ.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added _astro/app-store.Ld7RuCc9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _astro/app-store.Ld7RuCc9_PrHBE.webp
Binary file not shown.
Binary file added _astro/app-store.Ld7RuCc9_Z28xlTV.webp
Binary file not shown.
Binary file added _astro/apple-touch-icon.qzCMJsat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _astro/arc.cdnTVaLM.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions _astro/array.Nw74a44z.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
function t(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}export{t as a};
1 change: 1 addition & 0 deletions _astro/c4Diagram-817c8e44.71C1wub8.js

Large diffs are not rendered by default.

Loading

0 comments on commit e6d106f

Please sign in to comment.