Commit Graph
287 Commits
Author SHA1 Message Date
Lino Le Van 925ea42ca7 docs: fix issues with Deployment concepts page (#682) 2022-08-31 22:46:57 +02:00
Luca CasonatoandLino Le Van 0cc3cc7762 docs: add "Deployment" concepts page (#680)
Add docs for deploying using Docker (in addition to Deno Deploy).

Co-authored-by: Lino Le Van <11367844+lino-levan@users.noreply.github.com>
2022-08-31 13:24:36 +02:00
Luca Casonato 6ec04ea0f2 build: remove canary special case in CI (#654) 2022-08-31 12:35:29 +02:00
Vitor L Cavalcanti 54d6d67519 docs: fix syntax error on "Error Pages" page (#668) 2022-08-31 10:32:34 +00:00
Luca Casonato 6077bb65b7 chore: correct code comment (#679) 2022-08-31 12:25:21 +02:00
Luca Casonato b12867a582 feat: support JSX automatic mode (#610)
This commit adds support for JSX automatic mode instead of the default
mode that requires the presence of the JSX pragma in each file.

This commit also adds the config file to the `fresh.gen.ts` manifest,
which is used to determine if the client emit should use automatic mode.

The minimum Deno version has also been bumped to 1.25.0.
2022-08-26 11:03:00 +02:00
Luca Casonato bbe4277acb chore: update puppeteer (#659) 2022-08-25 15:26:44 +02:00
hashrock 1adbb030cd add "Made with Fresh" badges (#649)
this adds simple badges in README.
2022-08-25 19:22:20 +09:00
Luca Casonato 3d682d98cb chore: update preact & preact-render-to-string (#651)
preact@10.10.6 & preact-render-to-string@5.2.2
2022-08-23 22:09:06 +00:00
Luca Casonato 3cc6d6da72 docs: add frontmatter to concepts/static-files.md (#650) 2022-08-23 22:05:52 +00:00
ahuigo a00b97bac9 feat: support multiple middlewares with the same matcher (#553) 2022-08-23 23:50:57 +02:00
Elias SjögreenandLuca Casonato 6c2291f0de chore: use x/rutt instead of crux.land/router (#647)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-08-23 21:33:11 +00:00
Marvin HagemeisterandLuca Casonato 7e0278bbb3 feat: add support for preact devtools in dev mode (#639)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-08-23 13:29:12 +00:00
Benny Yen d798db2a5f www: use frontmatter parser from std (#621) 2022-08-23 13:26:44 +00:00
Roj 67b82d538b fix: add reference to dom.iterable (#641)
This fixes TypeScript errors with things like `URLSearchParams.entries`.
2022-08-23 13:26:21 +00:00
Luca Casonato 027f3f8bba chore: fix ci (#645) 2022-08-23 11:25:03 +00:00
Michael Pfisterandhashrock 3431555f95 Add 404 and 500 page #446 (#624)
* Add 404 and 500 page

Co-authored-by: hashrock <hashrock@users.noreply.github.com>
2022-08-16 23:52:06 +09:00
Michael Pfister 55f657827f fix: add missing icon bg colors on mobile (#609)
* Docs: Fix Small Grammar Issue

* fix missing label bg colors on mobile

* add missing icon bg colors on mobile

* Rearrange icon bg-colors for mobile
2022-08-11 21:02:11 +09:00
c7cbd23052 www: new landing page (#602)
* design: add icons to features

* www: update intro layout

* www: add copy button

* www: create CopyArea island

* www: update info style

* www: add showcase

* Update www/routes/index.tsx

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>

* www: set text-center to feature descriptions

* www: remove showcase image tabindex

add hover feedback to the showcase tiles

* www: add deno install / update links

* www: left align the feature descriptions on small screens

* www: fix broken getting started layout on mobile

* www: always show the copy buttons

* www: add some additional vertical spacing

* improve screenshots

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-08-10 14:50:29 +09:00
Luca Casonato 7b0c190454 docs: export route config in routing chapter (#604) 2022-08-09 19:48:23 +00:00
Luca Casonato 660e0f5fef feat: twind plugin (#513)
This adds a first-party twind plugin to use twind for styling.
2022-08-09 21:41:11 +02:00
Luca Casonato fd4e2bbe17 feat: add initial plugin support (#512)
This commit adds initial support for fresh "plugins". These are bundles
of functionality that can be added to a fresh plugin through a simple
addition in the `main.ts` file.

Right now plugins are only able to hook into the render steps. This
means that they can inject styling and scripts. They can not yet hook
into routing.

Things that I think should be possible now:
- styling integrations for twind, unocss, and probably a few other tools

Things that are not possible yet:
- google analytics middleware
- database connectors
- CMS connectors

The routing additions to plugins can be added in a follow-up though.
2022-08-09 21:27:58 +02:00
Steven YungandLuca Casonato 49092ed83a feat: add ctx.renderNotFound() to explicitly render 404 template (#481)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-08-09 19:23:17 +00:00
Michael Pfister b169d18ecb docs: fix small grammar issue (#589) 2022-08-08 21:23:39 +00:00
Yuki Tanaka 0449a4c73a docs: mention kebab case naming for islands (#572) 2022-08-08 21:22:58 +00:00
Kid 5b9ce720d0 chore: remove deno.unstable references (#600) 2022-08-08 23:19:26 +02:00
Kid bd45056893 refactor: clean up refresh script (#601) 2022-08-08 23:19:00 +02:00
Saeed Nasiri 6d50f4541e docs(README): fix error in getting started section (#576) 2022-08-02 15:20:12 +09:00
Hunter Paulson 4d027b8eeb Fixed minor typo (#567)
Fixed typo
2022-08-01 13:49:59 +09:00
Luca Casonato e1226c54e7 1.0.2 2022-07-31 21:16:42 +00:00
ashish 58f9769baf refactor: add components/ in starter project (#353)
This commit adds a `components/` folder to the starter project to
indicate that one can also create components that are not themselves
islands.
2022-07-30 15:56:42 +00:00
AbdulazizandLuca Casonato 1dc1f87fc3 refactor: use named status codes from std internally (#417)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-30 15:35:31 +00:00
Luca Casonato ba20756c17 chore: update deps (#561)
Update std, esbuild, and preact.
2022-07-30 17:29:29 +02:00
Tim Smith a6aac89663 www: fix capitalization in footer (#524) 2022-07-30 15:12:41 +00:00
angellk11 fdc6a7409d docs: grammar fix (#528)
Changed "it's props" to "its props" to indicate possession instead of a contraction.
2022-07-30 15:10:59 +00:00
Ikko Ashimine d396348625 chore: fix typo in context.ts (#533)
occured -> occurred
2022-07-30 15:10:15 +00:00
ahuigo 39309e4c22 docs: add subtitles to concepts/routes (#554) 2022-07-30 15:05:55 +00:00
Makoto Tateno 0595f92ab8 fix: remove meta tag for IE (#545) 2022-07-30 15:05:10 +00:00
Luca Casonato b39608890e chore: run deno fmt with new deno version (#562) 2022-07-30 14:59:35 +00:00
Manuel Trinidad d9e5a71468 docs: fix wrong interface on handler parameter (#496) 2022-07-15 14:38:11 +00:00
Sahil Sonawane 7e2ab7fa50 chore: simplify init.ts start instructions (#486) 2022-07-15 14:37:48 +00:00
Luca Casonato 07c0bfa68b chore: format with stable, not canary (#510) 2022-07-15 14:28:08 +00:00
Steven Yung c6eab38513 feat: enable deno lint & deno fmt for vscode (#470) 2022-07-13 00:15:09 +02:00
Anish Karandikar 3af41bb3fd fix: minor typo in init (#488) 2022-07-12 13:36:47 +00:00
Manuel Trinidad 648f27aa2b fix: typo (#495) 2022-07-12 15:32:55 +02:00
X 85687b6c78 chore: update preact-render-to-string import to use esm.sh ?external query (#499) 2022-07-12 15:32:36 +02:00
Steven Yung e3fefe506f docs: fix readme anchor (#450) 2022-07-07 11:38:06 +02:00
Rasoul Abdulzahra 02b4fc8461 chore: added formatter settings for vscode (#457) 2022-07-07 11:35:02 +02:00
Gustavo Henrique 10094f8947 feat: add error message for async components (#413) 2022-07-06 12:45:55 +02:00
Stephen Delaney a7b198fdf4 feat: support kebab-case filenames for islands (#404) 2022-07-06 12:42:25 +02:00