Commit Graph
64 Commits
Author SHA1 Message Date
moonstripeandAsher Gomez 76ff7114cb docs: fix example folder names to be deno-fresh-demo (#582)
Figured it'd make sense to be consistent.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-05 14:43:37 +10:00
ayame113 a724f6c591 www: fix accessibility issues (#1243)
Address accessibility issues pointed out by Lighthouse.
2023-06-03 22:19:40 +02:00
Luca CasonatoandAsher Gomez 87b087e358 fix: __FRSH_BUILD_ID is not defined (#1207)
This could happen if the runtime/utils.ts coe was loaded
prior to server/constants.ts, because they had some shared state on
`globalThis`.

I have mitigated this by not relying on global state anymore.

Fixes #1191

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-05-30 10:46:44 +10:00
ryuandAsher Gomez 62c1211937 docs: unify space within section (#1164)
Many section tags use `space-y-4` class. Don't have to be `space-y-5`
class on that section.
Also, showcase and components page will be the same design and look
good.

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-05-16 22:23:55 +10:00
ryu 4a7ecb6168 chore: update tabler_icons_tsx version (#1159) 2023-05-12 01:12:18 +09:00
Taylor Young ab73242933 docs: Carousel Component (#1096) 2023-04-27 04:51:13 +09:00
hashrock d8c8a9daf3 fix: The "Made with Fresh" Badge broke (#970) 2023-01-07 23:17:52 +09:00
hashrock 9cd786be54 www: add ga4 middleware (#958) 2023-01-06 02:32:22 +09:00
Luca Casonato c291db8ac4 www: add search button island (#949) 2022-12-23 04:19:50 +09:00
hashrock 026c1affd7 Add Hero and Footer Components (#947) 2022-12-16 20:43:12 +09:00
hashrock a0e3b91196 fix(www): Add a global nav (#895) 2022-12-02 01:04:37 +09:00
Yoshiya Hinosawa 79e9ad017e fix(www): a11y issue (low-contrast) (#926) 2022-11-30 21:54:10 +09:00
Kazuma Ohashi 7e04c69be2 fix: typo (#397) 2022-11-09 18:38:58 +09:00
hashrock fea7a27029 add Fresh Components (#872) 2022-11-07 22:24:32 +09:00
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