229 Commits

Author SHA1 Message Date
Anuar Ustayev
f344630aa5 [learn][s]: complete 'getting started' section with 'edit the page' instructions - refs #562. 2022-01-17 12:34:39 +06:00
Anuar Ustayev
0fa7612961 [setup][s]: move deploy tutorial under learn section. 2022-01-16 12:04:17 +06:00
Anuar Ustayev
4758e92409
Merge pull request #627 from datopian/feature/site/guide-for-single-dataset-page
Guide to build a single dataset page with Portal.js
2022-01-16 11:08:09 +06:00
Anuar Ustayev
afddf84614
Update site/content/learn/ckan.md
Co-authored-by: Virgo <virgoaugustine@gmail.com>
2022-01-16 11:07:35 +06:00
virgoaugustine
848a35f80e [site/learn/single-dataset][l]: Guide for building a single f10s dataset portal 2022-01-15 11:17:35 +00:00
Anuar Ustayev
3509f5ec29 [site/learn/ckan][l]: guide for using portal.js as a frontend of CKAN. 2022-01-15 11:24:59 +06:00
virgoaugustine
d140ac4d49 [site]: Move scripts stuff into the site/public folder and integrate into site 2022-01-13 11:54:11 +00:00
virgoaugustine
6a14c34f98 [site/components/Nav.js]: Add github star button with count to navbar 2022-01-12 12:42:33 +00:00
dependabot[bot]
c61c1d97c9
Bump next from 11.1.1 to 11.1.3 in /site
Bumps [next](https://github.com/vercel/next.js) from 11.1.1 to 11.1.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v11.1.1...v11.1.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:36:26 +00:00
Rufus Pollock
bc257b7b22
Merge pull request #605 from datopian/dependabot/npm_and_yarn/site/validator-13.7.0
Bump validator from 13.6.0 to 13.7.0 in /site
2021-12-20 11:35:39 +01:00
Rufus Pollock
ad9cd5a5cc [site,build][s]: add prop-types as explicit dependency in attempt to fix build issue as per 0a9bafb66664d4d312bbb603ffa6a0a81cba0305.
```
ModuleNotFoundError: Module not found: Error: Can't resolve 'prop-types' in '/vercel/path0/site/node_modules/react-vega/esm'
```

See also https://github.com/vega/react-vega/issues/441 which report similar issue i think.
2021-12-17 11:19:01 +01:00
Rufus Pollock
0a9bafb666 [site,build][s]: try and fix vercel build error with react-vega by upgrading it.
```
ModuleNotFoundError: Module not found: Error: Can't resolve 'prop-types' in '/vercel/path0/site/node_modules/react-vega/esm'
```
2021-12-17 10:52:46 +01:00
dependabot[bot]
11c8245c5b
Bump validator from 13.6.0 to 13.7.0 in /site
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.6.0 to 13.7.0.
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validatorjs/validator.js/compare/13.6.0...13.7.0)

---
updated-dependencies:
- dependency-name: validator
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 19:21:52 +00:00
Rufus Pollock
a631965088 [site/theme][s]: switch to simple logo with cyclone emoji and remove old portal.js logo as balloon was mispositioned (plus wasn't a great logo as not clear of meaning) 2021-11-08 20:19:04 +01:00
Rufus Pollock
b6ff53d078 [site/theme][s]: upgrade to tailwind v2.2 (extra font sizes). 2021-11-08 20:17:49 +01:00
Rufus Pollock
10ea882f00 [site/theme][xs]: move prose from Layout onto DataLiterate component as we don't want automatically on all pages. 2021-11-08 20:17:00 +01:00
Rufus Pollock
3b0e6558fd
Merge pull request #602 from datopian/dependabot/npm_and_yarn/site/ansi-regex-5.0.1
Bump ansi-regex from 5.0.0 to 5.0.1 in /site
2021-10-19 18:27:13 +02:00
Rufus Pollock
b48c79bd3c
Merge pull request #597 from datopian/dependabot/npm_and_yarn/site/remark-html-13.0.2
Bump remark-html from 13.0.1 to 13.0.2 in /site
2021-10-19 18:26:07 +02:00
dependabot[bot]
8b8f37777d
Bump ansi-regex from 5.0.0 to 5.0.1 in /site
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 16:25:45 +00:00
Rufus Pollock
6a965d3449
Merge pull request #595 from datopian/dependabot/npm_and_yarn/site/next-11.1.1
Bump next from 10.2.0 to 11.1.1 in /site
2021-10-19 18:25:43 +02:00
dependabot[bot]
1987757b11
Bump remark-html from 13.0.1 to 13.0.2 in /site
Bumps [remark-html](https://github.com/remarkjs/remark-html) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/remarkjs/remark-html/releases)
- [Commits](https://github.com/remarkjs/remark-html/compare/13.0.1...13.0.2)

---
updated-dependencies:
- dependency-name: remark-html
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 23:45:12 +00:00
dependabot[bot]
bee7ea1a6d
Bump next from 10.2.0 to 11.1.1 in /site
Bumps [next](https://github.com/vercel/next.js) from 10.2.0 to 11.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v10.2.0...v11.1.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 20:14:00 +00:00
dependabot[bot]
b502d33106
Bump path-parse from 1.0.6 to 1.0.7 in /site
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 07:59:09 +00:00
Rufus Pollock
4aac713387 [site,bugfix][xs]: correct import of Layout (layout => Layout) following 88fb3c63bd61ca829b6121cbd6597654fbe05640. 2021-07-28 23:41:41 +02:00
Rufus Pollock
2a5c05fbf8 [site,#572][xs]: remove components/prose.js as no longer used. 2021-07-28 23:36:34 +02:00
Rufus Pollock
88fb3c63bd [site,bugfix,#572][xs]: rename layout.js to Layout.js (thought i had in commit 2 ago but apparently not!). 2021-07-28 23:35:12 +02:00
Rufus Pollock
22648a0528 [site,#572][s]: refactor existing site content into the content directory.
* Can get rid of existing pages as now our generic markdown / mdx loader at the root \[...slug\].js catches everything
* Convert gallery to a markdown file
2021-07-28 23:23:28 +02:00
Rufus Pollock
8c3b1bccd3 [site,#572][l]: merge in data literate material.
* Nav bar and layout
* Main catch all route that loads material from content
* Data Literate: demo plus all associated components
  * content/data-literate/demo.mdx
  * components/* (pretty much all are related to demo)
  * lib/markdown.js, lib/mdxUtils.js
  * api/proxy.js to proxy remote urls (to handle CORs)
  * content/data-literate.md (DL home page - old data literate home page converted to markdown)
* excel-viewer.js: excel viewer demo from data literate
* package.json / yarn.lock
  * Nav: @headlessui/react @heroicons/react/outline @heroicons/react
  * CSV support for table: papaparse
  * Excel support for tables etc: xlsx
  * Vega: react-vega vega vega-lite
  * MDX: next-mdx-remote (yarn rm @next/mdx)
2021-07-28 23:16:42 +02:00
Rufus Pollock
b81cf992de [refactor][xs]: rename docs directory to site reflecting fact this is the full website. 2021-07-28 09:27:17 +02:00