Commit Graph

417 Commits

Author SHA1 Message Date
Kurt Hutten
d3f7b40a9b Merge pull request #325 from Irev-Dev/kurt/blog-why-i-started-cadhub
Add "Why I started cadhub" blog post
2021-05-22 06:45:00 +10:00
Kurt Hutten
8ed814ac9f Add "Why I started cadhub" blog post 2021-05-22 06:41:55 +10:00
Kurt Hutten
90f6808663 Merge pull request #322 from Irev-Dev/kurt/link-to-docs
Link to docs
2021-05-18 21:38:50 +10:00
Kurt Hutten
644e431eba Link to docs
Not much connection between the main website and the docs website atm
2021-05-18 21:36:33 +10:00
Kurt Hutten
31b1eb594e Merge pull request #317 from Irev-Dev/kurt/s3-integration-316-rebase
Add s3 integration
2021-05-18 07:19:48 +10:00
Kurt Hutten
315492a08a Add s3 integration
Doing so has a number of benefits
- Overcome the 10Mb limit of the API gateway the lambdas have to go
through
- By storing the key as the hash of the code we can return previous
generated assets, i.e. caching
- cost, transfering assets into the bucket within the AWS ecosystem
is faster than return, and there fore the lambdas execute for less time
- Sets us up for the future as when generating artifacts for repos when
there is a change to master etc we want to store these assets somewhere
and s3 is an obvious choice
- Solved a weird CORS issue where I couldn't get CORS working with
binaryMediaTypes enabled, don't need binary types when dumping in s3

Resolves #316
2021-05-18 07:13:08 +10:00
Kurt Hutten
027b45e6c3 Merge pull request #314 from Irev-Dev/kurt/add-live-demo-links-313
Add live demo links to OpenSCAD tutorial
2021-05-08 22:32:55 +10:00
Kurt Hutten
8a5728508c Add live demo links to OpenSCAD tutorial
Resolves #313
2021-05-08 22:31:43 +10:00
Kurt Hutten
a08426e078 Merge pull request #312 from Irev-Dev/kurt/improve-script-url-encoding-311
Improve script url encoding
2021-05-08 09:15:49 +10:00
Kurt Hutten
7749a14da3 All apostrophes in jsx 2021-05-08 09:09:07 +10:00
Kurt Hutten
053b1d642c Improve script URL ecoding
added some magic to get scripts to efficiently encoded into the URL.
We're using pako to compress the script, but this outputs to a 8bit
array. Stringifying this array adds a lot of overhead, because "125"
has three characters in it.
Instead we're using the character codes to turn these a bit numbers
into single characters base64 is used as well because not all of the
characters are allowed in a url (and b64 is better than
encodeURIComponent).
2021-05-08 09:07:54 +10:00
Kurt Hutten
53985dd250 Merge pull request #307 from Tobbe/patch-1
the-basics.mdx: Make text match example code
2021-05-08 05:20:33 +10:00
Kurt Hutten
cc8166183e Merge branch 'main' into patch-1 2021-05-08 05:20:00 +10:00
Kurt Hutten
9bca10b380 Merge pull request #308 from Tobbe/patch-2
the-basics.mdx: Fix punctuation formatting
2021-05-08 05:17:18 +10:00
Kurt Hutten
c50ffc5c8b Merge pull request #309 from Tobbe/tobbe-basics-translate
the-basics.mdx: Small updates to the Translate section
2021-05-08 05:16:44 +10:00
Tobbe Lundberg
277dc6c008 the-basics.mdx: Small updates to the Translate section 2021-05-07 15:08:59 +02:00
Tobbe Lundberg
81ee147f51 the-basics.mdx: Fix punctuation formatting 2021-05-07 15:03:03 +02:00
Tobbe Lundberg
f0d32d7754 the-basics.mdx: Fix punctuation formatting 2021-05-07 15:00:37 +02:00
Kurt Hutten
aba9b2e19e Merge pull request #305 from Irev-Dev/kurt/docs-polish-304
docs polish
2021-05-07 20:45:00 +10:00
Kurt Hutten
67324f0d0c Remove reference to primer 2021-05-07 20:38:26 +10:00
Kurt Hutten
7070ac21d4 Proof read docs 2021-05-07 20:38:26 +10:00
Kurt Hutten
2d828d7739 Add rounding and spacing at the bottom of images 2021-05-07 20:38:04 +10:00
Kurt Hutten
be6613ad09 Merge pull request #301 from Irev-Dev/kurt/docs-meta-tweaks
Tweak meta data for learn subdomain
2021-05-01 11:54:27 +10:00
Kurt Hutten
8c8d2e7d01 Tweak meta data for learn subdomain 2021-05-01 11:53:42 +10:00
Kurt Hutten
2b37a23471 Merge pull request #299 from Irev-Dev/kurt/get-docs-deployed
tweaks to test docs build
2021-05-01 10:02:01 +10:00
Kurt Hutten
f7b86249e6 tweaks 2021-05-01 10:01:15 +10:00
Kurt Hutten
2bb1f34dc5 Merge pull request #298 from Irev-Dev/kurt/get-docs-deployed
Upgrade to tailwind 2
2021-05-01 09:31:33 +10:00
Kurt Hutten
e343bca75f Upgrade to tailwind 2 2021-05-01 09:29:16 +10:00
Kurt Hutten
911dbccbca Merge pull request #297 from Irev-Dev/kurt/get-docs-deployed
add node version
2021-05-01 08:18:32 +10:00
Kurt Hutten
a5ebcc0446 add node version 2021-05-01 08:17:56 +10:00
Kurt Hutten
96f10e500c Merge pull request #296 from Irev-Dev/kurt/259
Couple tweaks
2021-05-01 08:12:12 +10:00
Kurt Hutten
940f3f1d79 Couple tweaks 2021-05-01 08:11:38 +10:00
Kurt Hutten
78a078da3d Merge pull request #295 from Irev-Dev/kurt/259
build docs using yarn not npm
2021-05-01 08:07:06 +10:00
Kurt Hutten
c15626081b build docs using yarn not npm 2021-05-01 08:06:33 +10:00
Kurt Hutten
b434ecb687 Merge pull request #294 from Irev-Dev/kurt/259
Add redirects for docs
2021-05-01 07:59:20 +10:00
Kurt Hutten
9eb3ae9325 Add redirects for docs 2021-05-01 07:45:16 +10:00
Kurt Hutten
22b9afaecc Merge pull request #293 from Irev-Dev/kurt/259
Add netlify.toml to docs
2021-05-01 07:42:25 +10:00
Kurt Hutten
7df0a8c3ba Add netlify.toml to docs 2021-05-01 07:41:35 +10:00
Kurt Hutten
b485b4efd0 Merge pull request #292 from Irev-Dev/kurt/259
Attempt to at move app into app sub dir
2021-05-01 07:36:35 +10:00
Kurt Hutten
cc6d8d3fbd Attempt to at move app into app sub dir 2021-05-01 07:35:11 +10:00
Kurt Hutten
3439853abb Merge pull request #291 from Irev-Dev/kurt/259
Kurt/259
2021-05-01 07:33:08 +10:00
Kurt Hutten
78677a99f8 Attempt to at move app into app sub dir 2021-05-01 07:32:21 +10:00
Kurt Hutten
9db76458d1 Revert "Move app into app directory"
This reverts commit 5c53902caf.
2021-05-01 07:29:45 +10:00
Kurt Hutten
30fe2423f6 Merge pull request #289 from Irev-Dev/kurt/259
Update sudmodule
2021-05-01 07:23:56 +10:00
Kurt Hutten
9beb2e73b9 Update sudmodule 2021-05-01 07:23:22 +10:00
Kurt Hutten
1e5a2532c5 Merge pull request #287 from Irev-Dev/kurt/259
Move app into app directory
2021-05-01 07:14:52 +10:00
Kurt Hutten
5c53902caf Move app into app directory 2021-05-01 07:13:47 +10:00
Kurt Hutten
7066b40d35 Merge pull request #286 from Irev-Dev/kurt/259
Add docs to subdomain
2021-04-30 16:27:10 +10:00
Kurt Hutten
ea695987c3 Fix icons 2021-04-30 07:20:23 +10:00
Kurt Hutten
b9fec2a175 Update landing page and other tweaks 2021-04-30 07:12:28 +10:00