feat: build in dist

This commit is contained in:
Ricardo
2020-12-03 14:51:03 +00:00
parent abda08cac1
commit aa9872458d
67 changed files with 92 additions and 4 deletions

2
.gitignore vendored
View File

@@ -1,7 +1,7 @@
# fs & dev
.DS_Store
node_modules
public
dist
.temp
.eslintcache

View File

@@ -47,10 +47,10 @@ $ make
...
Site built out to ./public dir
Site built out to ./dist dir
```
This will build out the static site, optimized and ready for deployment, to the `./public` directory.
This will build out the static site, optimized and ready for deployment, to the `./dist` directory.
## Create a new blog post

View File

@@ -20,7 +20,7 @@ module.exports = {
},
},
head: require('./config/head'),
dest: './public',
dest: './dist',
markdown: {
extendMarkdown: (md) => {
md.set({

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#156ff7</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,53 @@
@font-face {
font-family: 'source-serif-pro';
src: url('/fonts/source-serif-pro/source-serif-pro-regular.woff2')
format('woff2'),
url('/fonts/source-serif-pro/source-serif-pro-regular.woff') format('woff'),
url('/fonts/source-serif-pro/source-serif-pro-regular.otf')
format('opentype');
font-display: auto;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'source-serif-pro';
src: url('/fonts/source-serif-pro/source-serif-pro-semibold.woff2')
format('woff2'),
url('/fonts/source-serif-pro/source-serif-pro-semibold.woff') format('woff'),
url('/fonts/source-serif-pro/source-serif-pro-semibold.otf')
format('opentype');
font-display: auto;
font-style: normal;
font-weight: 600;
}
@font-face {
font-family: 'aileron';
src: url('/fonts/aileron/aileron-regular.woff2') format('woff2'),
url('/fonts/aileron/aileron-regular.woff') format('woff'),
url('/fonts/aileron/aileron-regular.otf') format('opentype');
font-display: auto;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'aileron';
src: url('/fonts/aileron/aileron-semibold.woff2') format('woff2'),
url('/fonts/aileron/aileron-semibold.woff') format('woff'),
url('/fonts/aileron/aileron-semibold.otf') format('opentype');
font-display: auto;
font-style: normal;
font-weight: 600;
}
@font-face {
font-family: 'aileron';
src: url('/fonts/aileron/aileron-bold.woff2') format('woff2'),
url('/fonts/aileron/aileron-bold.woff') format('woff'),
url('/fonts/aileron/aileron-bold.otf') format('opentype');
font-display: auto;
font-style: normal;
font-weight: 700;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

View File

@@ -0,0 +1 @@
<svg height="700pt" preserveAspectRatio="xMidYMid meet" viewBox="0 0 700 700" width="700pt" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(.1 0 0 -.1 0 700)"><path d="m1635 6980c-16-11-37-23-45-27-15-7-478-274-541-312-19-12-41-24-49-28s-80-45-160-91c-80-47-165-96-190-110-25-13-70-39-100-57s-89-52-130-76c-85-50-120-70-142-84-26-16-32-58-11-82 18-21 727-443 744-443 5 0 9-4 9-9s8-11 18-15c9-3 24-10 32-15 24-15 223-132 655-387 55-32 108-63 117-69 9-5 29-17 45-26 15-9 152-89 303-179 151-89 291-171 310-182 19-10 58-33 85-50 28-17 64-38 80-48 17-9 120-70 230-135 543-321 602-354 636-356 27-2 73 20 229 111 107 62 211 122 230 132 19 11 76 44 125 73 78 45 347 201 455 263 276 158 388 225 402 242 24 30 7 71-40 97-20 11-122 71-227 133-104 62-320 189-480 283-159 93-348 204-420 247-71 43-245 145-385 227-140 83-536 316-880 518-344 203-663 390-709 417-98 57-151 68-196 38z"/><path d="m5317 6982c-10-2-132-69-270-149-139-80-270-155-292-168-61-35-633-364-669-385-17-10-64-37-104-60-78-44-102-75-86-111 12-25 1405-848 1449-855 34-6 67 10 268 127 70 41 142 82 160 93 18 10 169 97 337 194 168 96 364 209 435 250 72 41 152 87 178 102 86 48 106 80 74 120-7 9-93 63-192 122-99 58-405 238-680 400s-509 300-521 306c-26 14-63 20-87 14z"/><path d="m36 5785c-21-16-18 201-30-2569-6-1356-8-1296 47-1324 12-7 40-23 62-36 22-14 51-31 65-39 30-17 102-60 690-407 611-360 557-330 587-330 53 0 52-4 54 634 3 1475 0 1396 49 1409 26 7 26 7 720-403 338-199 633-373 655-385 22-13 109-64 193-114 153-90 174-99 201-82 17 11 17 30 25 1065l5 649-32 32c-18 17-140 94-272 172-132 77-463 272-735 433s-511 301-530 312c-50 29-355 209-482 285-59 35-117 69-130 76-25 14-123 72-148 87-28 18-366 216-380 224-8 4-24 12-35 19s-96 58-190 113c-352 209-350 208-389 179z"/><path d="m6895 5729c-22-12-53-29-70-39-16-10-50-29-75-42-25-14-101-58-170-98-68-40-138-81-155-90-16-10-46-26-65-38-19-11-197-113-395-227-451-259-442-254-460-291-12-26-14-180-16-1051-1-897-3-1024-17-1052-11-23-40-46-101-82-47-27-93-53-101-58-14-9-581-335-645-371-16-10-160-93-320-185-159-92-306-176-325-187-201-113-287-168-303-195-16-28-18-88-21-848-3-450-1-828 4-840s20-25 35-29c22-6 91 31 428 225 221 128 413 239 427 246 14 8 43 25 65 39s51 30 65 37 68 37 120 68 111 65 130 76c54 31 423 243 535 308 55 32 130 75 167 96s82 47 100 58c18 10 105 60 193 111 141 82 192 112 327 189 544 311 694 402 712 431 21 36 18-235 30 2588 6 1218 5 1233-14 1252-25 25-36 25-85-1z"/><path d="m5065 4673c-28-14-178-100-335-191s-303-175-325-187c-22-13-139-80-260-150s-268-155-326-188c-167-96-148 18-153-948-5-894-6-869 48-869 19 0 615 335 916 514 30 18 156 91 280 161s232 136 242 146c14 17 16 77 18 631 1 337 2 716 3 842l2 228-24 19c-29 24-27 24-86-8z"/><path d="m1850 2570c-19-19-20-34-21-217 0-109-1-487-2-840l-2-643 30-29c24-23 292-187 520-317 22-12 231-135 464-273 234-138 432-251 441-251s25 6 35 14c23 16 22-12 26 1017 3 624 2 678-14 702-10 15-107 80-234 155-669 397-1194 702-1207 702-9 0-25-9-36-20z"/></g></svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,25 @@
{
"name": "IPFS blog",
"short_name": "IPFS blog",
"description": "This is the IPFS Starlog, a series of communications about the IPFS Project.",
"dir": "auto",
"lang": "en-US",
"display": "minimal-ui",
"orientation": "any",
"scope": "/",
"start_url": "/?source=pwa",
"background_color": "#156ff7",
"theme_color": "#16161F",
"icons": [
{
"src": "./android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "./android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}