Commit Graph
274 Commits
Author SHA1 Message Date
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
Nyx Iskandar 38c1a2f426 www: rename my-app to my-project in landing page (#439) 2022-07-06 12:25:13 +02:00
Rajika Imal 571ca33eb8 chore: fix link in readme (#426) 2022-07-06 12:03:00 +02:00
Luca Casonato 03aa58df87 fix: prevent folks messing with the fresh manifest (#435)
I am looking at you James.
2022-07-05 19:35:03 +00:00
Darius I. Karel 86daf73d47 fix: display real value for the directory to cd to after init (#415) 2022-07-05 13:35:44 +02:00
Luca Casonato ae9b8aa6b3 1.0.1 2022-07-04 17:28:22 +02:00
Luca Casonato 87da68b8a7 chore: update preact + twind (#410) 2022-07-04 15:25:32 +00:00
Luca Casonato e0e669ef3d tests: fix hanging tests locally (#408)
Also add a test for --vscode for the init script.
2022-07-04 15:16:49 +00:00
Luca Casonato aab8ceb78b fix: layered middleware not working for index page (#407)
This commit fixes layered middleware not being invoked for the the index
page of the layer.

For example: routes/api/_middleware.ts was not being invoked for /api,
only /api/foobar
2022-07-04 15:13:49 +00:00
kku77 7524d00ccf docs: fix minor typos (#393) 2022-07-04 13:47:48 +00:00
Kazuma Ohashi ace9b47a71 chore: fix typo in source code (#365) 2022-07-04 13:42:30 +00:00
Carter Snook 1cb21f7b89 docs: fix incorrect runtime imports (#375) 2022-07-04 15:40:26 +02:00
Steven YungandLuca Casonato b09e033c8e feat: add vscode files on init (#367)
Ask the user if they use VS Code, and if so add the `.vscode/` files.

Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-04 13:17:09 +00:00
Cecil New dcdbd85e3e docs: fix example code in concepts/routes.md (#357) 2022-07-04 11:27:25 +00:00