mirror of
https://github.com/LBRYFoundation/lbry-tech.git
synced 2025-03-04 06:57:53 +00:00
fix dependency fails to build
This commit is contained in:
parent
8ff9d6a094
commit
fdef76835a
7 changed files with 13751 additions and 11 deletions
13648
package-lock.json
generated
Normal file
13648
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2,16 +2,15 @@
|
||||||
"name": "lbry-tech",
|
"name": "lbry-tech",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^2.0.0",
|
"@astrojs/mdx": "^2.0.3",
|
||||||
"@astropub/md": "^0.3.0",
|
|
||||||
"@lbry/components": "^4.2.5",
|
"@lbry/components": "^4.2.5",
|
||||||
"@thewebforge/astro-code-blocks": "^0.2.0",
|
"@thewebforge/astro-code-blocks": "^0.2.0",
|
||||||
"astro": "^4.0.3",
|
"astro": "^4.1.1",
|
||||||
"astro-preload": "^1.1.2",
|
"astro-preload": "^1.1.2",
|
||||||
"markdown-wasm": "^1.2.0",
|
"markdown-wasm": "^1.2.0",
|
||||||
"rehype-autolink-headings": "^7.1.0",
|
"rehype-autolink-headings": "^7.1.0",
|
||||||
"rehype-slug": "^6.0.0",
|
"rehype-slug": "^6.0.0",
|
||||||
"sass": "^1.69.5"
|
"sass": "^1.69.7"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
90
public/assets/preloaded/lbry-gtk.svg
Normal file
90
public/assets/preloaded/lbry-gtk.svg
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="100mm"
|
||||||
|
height="100mm"
|
||||||
|
viewBox="0 0 100 100"
|
||||||
|
version="1.1"
|
||||||
|
id="svg5"
|
||||||
|
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
|
||||||
|
sodipodi:docname="lbry-gtk.svg"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview7"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="1.1588055"
|
||||||
|
inkscape:cx="284.776"
|
||||||
|
inkscape:cy="153.17497"
|
||||||
|
inkscape:window-width="1366"
|
||||||
|
inkscape:window-height="719"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1">
|
||||||
|
<inkscape:grid
|
||||||
|
type="xygrid"
|
||||||
|
id="grid10766" />
|
||||||
|
</sodipodi:namedview>
|
||||||
|
<defs
|
||||||
|
id="defs2" />
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#e40000;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 20.153949,46.404695 49.999995,63.927697"
|
||||||
|
id="path25520"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#7fe719;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 49.999995,63.927697 97.354358,36.072294"
|
||||||
|
id="path25524" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#729fcf;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 97.354358,36.072294 49.999999,2.6456401"
|
||||||
|
id="path25526" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#729fcf;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 49.999999,2.6456401 2.6456385,36.072294"
|
||||||
|
id="path25528" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#e40000;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 2.6456385,69.498948 V 36.072294"
|
||||||
|
id="path25530" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#7fe719;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 94.197442,75.069988 3.156916,-5.57104"
|
||||||
|
id="path25536"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#e40000;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 2.6456385,69.498948 49.999999,97.354355"
|
||||||
|
id="path25902" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#7fe719;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 49.999999,97.354355 97.354358,69.498953"
|
||||||
|
id="path25904" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#7fe719;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 97.354358,69.498948 c -3.156916,0 -6.472646,0 -6.313834,0"
|
||||||
|
id="path26243"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#7fe719;stroke-width:5.29166667;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 91.040524,69.498948 3.156918,5.57104"
|
||||||
|
id="path26245"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 4 KiB |
BIN
public/assets/preloaded/lbryworm-logo.png
Normal file
BIN
public/assets/preloaded/lbryworm-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import Layout from './Layout.astro';
|
import Layout from './Layout.astro';
|
||||||
import { markdown } from '@astropub/md';
|
// import { markdown } from '@astropub/md';
|
||||||
|
import markdown from 'markdown-wasm';
|
||||||
import { getCollection } from "astro:content";
|
import { getCollection } from "astro:content";
|
||||||
import TableOfContents from '../components/TableOfContents.astro';
|
import TableOfContents from '../components/TableOfContents.astro';
|
||||||
|
|
||||||
|
@ -11,12 +12,13 @@ const { pathname } = Astro.url;
|
||||||
|
|
||||||
const items = await getCollection(collection) || [];
|
const items = await getCollection(collection) || [];
|
||||||
|
|
||||||
const description = await markdown(frontmatter.description);
|
const description = await markdown.parse(frontmatter.description);
|
||||||
|
|
||||||
const isActive = (href: string)=>{
|
const isActive = (href: string)=>{
|
||||||
return href === pathname || href === pathname.split('/').slice(0,2).join('/');
|
return href === pathname || href === pathname.split('/').slice(0,2).join('/');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title={frontmatter.title}>
|
<Layout title={frontmatter.title}>
|
||||||
|
@ -42,7 +44,7 @@ const isActive = (href: string)=>{
|
||||||
</aside>
|
</aside>
|
||||||
<div class="markdown-body">
|
<div class="markdown-body">
|
||||||
<h1>{frontmatter.title}</h1>
|
<h1>{frontmatter.title}</h1>
|
||||||
<h3>{description}</h3>
|
<h3><Fragment set:html={description}/></h3>
|
||||||
<slot/>
|
<slot/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import Layout from './Layout.astro';
|
import Layout from './Layout.astro';
|
||||||
import { markdown } from '@astropub/md';
|
// import { markdown } from '@astropub/md';
|
||||||
|
import markdown from 'markdown-wasm';
|
||||||
import { getCollection } from "astro:content";
|
import { getCollection } from "astro:content";
|
||||||
import TableOfContents from '../components/TableOfContents.astro';
|
import TableOfContents from '../components/TableOfContents.astro';
|
||||||
|
|
||||||
|
@ -10,7 +11,7 @@ const { frontmatter, headings, collection } = Astro.props;
|
||||||
|
|
||||||
const items = collection ? await getCollection(collection) : [];
|
const items = collection ? await getCollection(collection) : [];
|
||||||
|
|
||||||
const description = await markdown(frontmatter.description);
|
const description = await markdown.parse(frontmatter.description);
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -25,7 +26,7 @@ const description = await markdown(frontmatter.description);
|
||||||
)}
|
)}
|
||||||
<div class="markdown-body">
|
<div class="markdown-body">
|
||||||
<h1>{frontmatter.title}</h1>
|
<h1>{frontmatter.title}</h1>
|
||||||
<h3>{description}</h3>
|
<h3><Fragment set:html={description}/></h3>
|
||||||
<slot/>
|
<slot/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue