-
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.
- Loading branch information
Showing
23 changed files
with
308 additions
and
77 deletions.
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
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
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,7 @@ | ||
--- | ||
title: MPCNC | ||
released: 2023-09-07 | ||
updated: 2023-09-07 | ||
--- | ||
|
||
TBD. |
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,7 @@ | ||
--- | ||
title: ANYCUBIC Photon Mono | ||
released: 2023-09-07 | ||
updated: 2023-09-07 | ||
--- | ||
|
||
TBD. |
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,7 @@ | ||
--- | ||
title: Prusa MK3S | ||
released: 2023-09-07 | ||
updated: 2023-09-07 | ||
--- | ||
|
||
TBD. |
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
Binary file removed
BIN
-263 KB
blog/content/posts/2021-06-03-test/images/anthony-indraus-Bb9jWuTMPUk-unsplash.jpg
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
--- | ||
title: The start of a journey | ||
heroImage: ./first_iteration.jpg | ||
released: 2023-09-07 | ||
updated: 2023-09-07 | ||
--- | ||
|
||
TBD. |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,24 @@ | ||
import React from 'react' | ||
import PostList from './PostList' | ||
import { useStaticQuery, graphql } from 'gatsby' | ||
|
||
export default function PartsPostList ({ tabularLayout }) { | ||
const { posts } = useStaticQuery(graphql` | ||
query PostQuery { | ||
posts: allFile( | ||
filter: { | ||
sourceInstanceName: {eq: "parts"}, | ||
relativeDirectory: {regex: "/^(instruments|panels|frames)/"} | ||
name: {eq: "index"}, | ||
extension: {in: ["md", "mdx"]} | ||
} | ||
sort: {childMdx: {frontmatter: {updated: DESC}}} | ||
limit: 9 | ||
) { | ||
...PostListQuery | ||
} | ||
} | ||
`) | ||
|
||
return <PostList posts={posts.nodes} tabularLayout={tabularLayout} /> | ||
} |
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
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,32 @@ | ||
import { graphql } from 'gatsby' | ||
|
||
export const query = graphql` | ||
fragment PostListQuery on FileConnection { | ||
totalCount | ||
nodes { | ||
id | ||
relativeDirectory | ||
changeTime(formatString: "MMMM Do, YYYY") | ||
content: childMdx { | ||
excerpt | ||
fields { | ||
timeToRead { minutes } | ||
} | ||
frontmatter { | ||
title | ||
updated(formatString: "MMMM Do, YYYY") | ||
released(formatString: "MMMM Do, YYYY") | ||
heroImage { | ||
childImageSharp { | ||
gatsbyImageData( | ||
width: 500, | ||
placeholder: BLURRED, | ||
formats: [AUTO, WEBP, JPG] | ||
) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
` |
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,41 @@ | ||
import React, { useEffect, useRef } from 'react' | ||
import { Engine, Scene } from '@babylonjs/core' | ||
|
||
export default function SceneComponent ({ | ||
antialias, engineOptions, adaptToDeviceRatio, sceneOptions, | ||
onRender, onSceneReady, ...rest | ||
}) { | ||
const reactCanvas = useRef(null) | ||
|
||
useEffect(() => { | ||
const { current: canvas } = reactCanvas | ||
|
||
if (!canvas) return | ||
|
||
canvas.innerWidth = window.innerWidth | ||
|
||
const engine = new Engine(canvas, antialias, engineOptions, adaptToDeviceRatio) | ||
const scene = new Scene(engine, sceneOptions) | ||
if (scene.isReady()) { | ||
onSceneReady(scene) | ||
} else { | ||
scene.onReadyObservable.addOnce((scene) => onSceneReady(scene)) | ||
} | ||
|
||
engine.runRenderLoop(() => { | ||
if (typeof onRender === 'function') onRender(scene) | ||
scene.render() | ||
}) | ||
|
||
const resize = () => scene.getEngine().resize() | ||
if (window) window.addEventListener('resize', resize) | ||
|
||
return () => { | ||
scene.getEngine().dispose() | ||
|
||
if (window) window.removeEventListener('resize', resize) | ||
} | ||
}, [antialias, engineOptions, adaptToDeviceRatio, sceneOptions, onRender, onSceneReady]) | ||
|
||
return <canvas ref={reactCanvas} {...rest} /> | ||
} |
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,12 @@ | ||
import * as React from 'react' | ||
import Layout from '../components/Layout' | ||
|
||
const AboutPage = ({ data }) => { | ||
return ( | ||
<Layout> | ||
Coming soon. | ||
</Layout> | ||
) | ||
} | ||
|
||
export default AboutPage |
Oops, something went wrong.