Commit Graph
50 Commits
Author SHA1 Message Date
Lee Dogeon 6077d7775c docs: correct required Deno version to 1.25.0 (#752) 2022-09-11 13:37:06 +00:00
Luca Casonato 4e001f9e26 www: add HelloBar to point to 1.1 release notes (#724) 2022-09-08 16:57:35 +02:00
Luca Casonato b19c4bb041 feat: add update.ts script (#706)
This commit adds an update.ts tool that makes it easy to upgrade
existing Fresh projects to the latest version of Fresh. This tool
updates dependency versions in the import map, and includes some code
mods:

1. update projects from classic JSX to automatic JSX
2. update projects from legacy twind integration to twind plugin

Both of these code mods get you about 95% of the way there most of the
time. Users might still need to do some manual work to get their
projects fully updated.
2022-09-07 09:36:23 +00:00
hashrockandLuca Casonato 8e9658cae5 www: add showcase page (#699)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-09-06 15:28:20 +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
Benny Yen d798db2a5f www: use frontmatter parser from std (#621) 2022-08-23 13:26:44 +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
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 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 ba20756c17 chore: update deps (#561)
Update std, esbuild, and preact.
2022-07-30 17:29:29 +02:00
Luca Casonato b39608890e chore: run deno fmt with new deno version (#562) 2022-07-30 14:59:35 +00:00
Nyx Iskandar 38c1a2f426 www: rename my-app to my-project in landing page (#439) 2022-07-06 12:25:13 +02:00
M. Zakiyuddin Munziri f5b8c940e8 www: fix footer github link to denoland repo (#219) (#296) 2022-06-28 19:42:39 +02:00
Luca Casonato 27b67b47e1 docs: remove pre-1.0 warning (#293) 2022-06-28 15:38:30 +02:00
Luca Casonato 34fc5514f9 chore: update twind import map defaults in init.ts (#291) 2022-06-27 14:35:34 +02:00
Luca Casonato 97238ef5ac docs: use -r in setup command 2022-06-22 15:23:36 +02:00
Yusuke Tanaka 56f612c8f3 www: fix footer to the bottom when content is short (#271) 2022-06-22 14:40:29 +02:00
hashrock f9559b1079 www: replace lemon squash illustration with svg (#270) 2022-06-22 14:39:54 +02:00
Luca Casonato b1d4eb3da0 www: redirect init script to deno.land/x/fresh 2022-06-22 12:14:23 +02:00
Luca Casonato 871985a172 www: add redirect for init script (#266) 2022-06-21 15:08:41 +00:00
Luca Casonato 1a10cbda3a www: serve fresh code at /@:version/:path* (#265) 2022-06-21 16:52:58 +02:00
Luca Casonato da340daeb2 BREAKING: move a bunch of types into server/ (#263)
Moved some server only types like `RouteConfig` into server/. They were
previously in runtime/.
2022-06-21 15:21:07 +02:00
Luca Casonato 70d1838cad BREAKING: make render fn an option on start (#260)
This commit removes the `_render.{tj}s{x}?` file in favor of a `render` option on the `start` call in `main.ts`.
2022-06-20 13:40:23 +02:00
Luca Casonato de6c3f6ed5 chore: remove --no-check flags (#259)
Since Deno 1.23.0, `--no-check` has become the default type checking
mode for `deno run`. As such, we don't need to specify this flag
anymore.
2022-06-20 12:45:48 +02:00
Luca Casonato cbbf616a74 chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh
itself.
2022-06-20 12:37:24 +02:00
Ward Cunningham 3e001fe242 www: use unicode arrows for navigation buttons in docs (#250)
Prefer unicode arrows to those made of ascii art.
2022-06-20 11:53:41 +02:00
Luca Casonato 3be31d5eb0 www: fix minimum Deno version to 1.22.3 2022-06-14 09:57:36 +02:00
Luca Casonato 836cc24bdd feat: remove fresh cli, do manifest generation in process (#223)
This commit removes the `fresh` cli, replacing it with a small bootstrap script,
and JIT generation of the manifest that happens in process during development.
2022-06-14 09:39:38 +02:00
Shivam Dua 97f426b524 www: fix webp image source (#222) 2022-06-02 19:52:38 +02:00
Luca Casonato 80598d07fd feat: use import maps instead of deps files (#209)
This commit updates fresh to use import maps instead of deps files in generated projects.
2022-05-23 19:35:15 +02:00
Luca Casonato fd6724c050 chore: rename *_deps.ts -> deps.*.ts (#206)
As per David's suggestion.
2022-05-23 16:05:33 +02:00
Sylvain Cau e8b1e229b3 feat: automatically apply asset caching to img src and srcset (#184) 2022-05-19 19:19:59 +02:00
Luca Casonato 2a2b948a58 docs: add descriptions to all pages (#195) 2022-05-17 02:19:32 +02:00
Bartek Iwańczuk 86e0395369 www: add frontmatter and meta description handling (#188) 2022-05-17 01:12:20 +02:00
Luca Casonato 59e6398d77 www: more vibrant green + wordmark on docs page (#176) 2022-04-24 21:26:35 +00:00
Luca Casonato ffbe97caca www: add open graph tags (#175) 2022-04-24 22:33:55 +02:00
Luca Casonato b563646c8f www: use green as accent color on docs page (#163) 2022-04-24 22:33:26 +02:00
Luca Casonato df8babbf87 www: fix logo height on docs page 2022-04-24 18:12:49 +02:00
Luca Casonato 0e6a24202d www: use next gen image formats for illustration (#170) 2022-04-24 13:40:15 +02:00
Luca Casonato 43524dbcea www: cache static assets properly (#166) 2022-04-24 10:55:27 +02:00
Sylvain CauandLuca Casonato 8d4e77f4ac feat: layered and scoped middleware and context state (#139)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-04-23 22:07:40 +02:00
hashrock b36f2c1a43 www: add logo to docs header (#162) 2022-04-23 21:05:31 +02:00
Luca Casonato 7d1aec4bce www: more padding on slogan 2022-04-23 20:40:10 +02:00
Luca Casonato b4422333d3 www: set intrinsic size for illustration image (#160) 2022-04-23 20:15:17 +02:00
Yongwook Choi 49d2e54335 feat: add deno task config in fresh init bootstrapped projects (#143) 2022-04-23 15:16:31 +02:00
hashrock f1a39e2e7a www: add hero animation & new logo (#153) 2022-04-23 15:09:35 +02:00
Luca Casonato 64e6a7b43d docs: update deno install command to use -r (#138) 2022-03-18 10:43:06 +01:00
Luca Casonato 73fd41be31 feat: add docs section to website (#108) 2022-03-07 21:08:55 +01:00
Luca Casonato bb7180328e tests: run lighthouse against preview deployments in CI (#107) 2022-03-05 15:18:17 +01:00
Luca Casonato 8daa280862 feat: a new "island" based architechture (#97) 2022-03-04 19:49:27 +01:00