Commit Graph
1080 Commits
Author SHA1 Message Date
Marvin HagemeisterandLuca Casonato 2b1de48ff1 docs: add Fresh 2 migration guide (#2459)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2024-05-24 21:09:51 +02:00
Marvin Hagemeister 9a7399a769 chore: disable sanitizers in esbuild tests (#2461) 2024-05-24 20:39:54 +02:00
Marvin Hagemeister 77dc77826e fix: only load error overlay in development (#2460) 2024-05-24 20:29:59 +02:00
Luca Casonato 584e5716c3 fix: init script (#2458) 2024-05-24 20:29:31 +02:00
Octo8080X 476b4c75a7 showcase: add 'Thoth-Doc' (#2455)
Hello, Deno team!

I have created document site using Fresh and would like you to register
with showcase.
[Thoth-Doc](https://thoth-doc.deno.dev/)

Best regards.Hello, Deno team!
2024-05-24 19:53:21 +02:00
Luca Casonato f2162d24bf feat: add render function (#2454) 2024-05-24 18:31:34 +02:00
Marvin Hagemeister 82d027cbcd www: fix fragment links hidden under sticky header (#2457) 2024-05-24 18:01:57 +02:00
Marvin Hagemeister 484d918307 www: port error pages to Fresh 2 (#2456)
Forgot to port the `_500.tsx` and `_400.tsx` error pages to Fresh 2
2024-05-24 17:31:52 +02:00
Luca Casonato c9f0ccdce7 feat: rename helpers to define (#2453) 2024-05-24 11:48:32 +02:00
Marvin Hagemeister c57d0ccb2f chore: another v2 alpha release (#2452) 2024-05-24 09:59:01 +02:00
Marvin Hagemeister 287929e4d2 major: import Fresh 2.0 code (#2449)
🎉
2024-05-24 09:40:08 +02:00
Josh Collinsworth 990357629e Chore: styling and verbiage cleanup (#2451)
- Better responsive styling of header, logo, nav menu and docs sidebar
- Specify UTC on homepage (since we can't localize server-side)
- Minor copy updates
2024-05-23 12:12:47 -05:00
Marvin Hagemeister baac482cf0 chore: remove .DS_Store (#2448) 2024-05-22 21:34:33 +02:00
Josh Collinsworth f26e6c778b Add JSR and Deno.com to showcase (#2447) 2024-05-22 14:30:54 -05:00
Josh Collinsworth 120d867d2d Fix CTA graphic (#2446) 2024-05-22 14:30:45 -05:00
Josh Collinsworth 8ef3e89a8c Change side-by-side sections to sticky (#2445) 2024-05-22 12:08:41 -05:00
Marvin Hagemeister cda9bdec6f chore: remove unused demo app (#2442) 2024-05-21 17:48:05 +02:00
Marvin Hagemeister e4981d30ad www: rework docs layout (#2429)
- Re-enable partials
- clean up layout a bit
2024-05-21 17:38:32 +02:00
Marvin Hagemeister 46f6c280ed www: social meta tag bot detection (#2441) 2024-05-21 17:14:05 +02:00
Marvin Hagemeister ec10ad59a4 www: fix home partial changing doc title (#2432)
Fixes https://github.com/denoland/fresh/issues/2431
2024-05-17 20:18:42 +02:00
Marvin Hagemeister 25d4d16a8f www: fully remove component gallery (#2430) 2024-05-17 18:39:32 +02:00
Josh Collinsworth e126196fe5 Update og image (#2428) 2024-05-17 11:19:23 -05:00
Josh CollinsworthandMarvin Hagemeister e8d1a68b58 www: refresh home page (#2418)
Overhauls the Fresh homepage with a new design, new demos, and new
sections highlighting Fresh's capabilities.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-05-17 16:08:55 +02:00
Daniel G. Aubert 3b68a5d455 showcase: add dgaubert's showcase (#2422) 2024-05-07 12:38:04 +02:00
Sebastian Nomme 586706e24f docs: Update documentation for active link with Tailwind (#2417)
**Proposed change:**
- Document styling for aria-current attribute separately for Tailwind
and Twind.

**Disclaimer:**
I am new to open-source contributions and are unfamiliar with the
process for submitting a pull request. I have found some more areas of
improvement in the Fresh documentation. Should this PR not be
up-to-standards on how to contribute, please guide me in the right
direction. I have a few more suggestions on issues I found while
developing a new Fresh app.

Any guidance would be helpful, either reach out to me on GitHub, Discord
(bastianplsfix) or X (bastianplsfix).

Best,
Sebastian 🦕
2024-05-02 20:45:31 +02:00
Marcos Candeia 9404787c85 feat: Support startServer for unix domain sockets (#2392)
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
2024-05-02 20:45:10 +02:00
Marvin Hagemeister 40181142d2 fix: ServerhandlerInfo type for newer Deno versions (#2419)
Newer Deno versions have an additional `completed` property in there.
This PR allows Fresh to be used with both old and newer Deno versions
without getting type errors.
2024-05-02 20:41:33 +02:00
Kerim Hudson bc75101dcf docs: using server components in islands (#2416)
After reading the discussion at #2369, this PR introduces a small
addition to the docs which highlights how you can use server components
within islands.

This, coupled with the existing docs, should hopefully give people
enough of an example to understand that islands provide the
interactivity layer, and that server components within them can be
hydrated and made interactive too.

Closes #2369
2024-04-30 14:07:23 +02:00
epangelias 9c1e5239b6 showcase: Add virtualfreight.software (#2415) 2024-04-29 10:18:05 +02:00
Kerim Hudson 8e38211257 www: document colocation of route groups (#2413)
This adds in the information regarding co-location of islands and
components from [this blog
post](https://deno.com/blog/fresh-1.4#colocated-islands-components-and-more)
into the main documentation.

A lot of the text is pulled directly from the blog post, but I'm happy
to edit it if need be.

Closes #2305
2024-04-26 16:20:37 +02:00
Kerim Hudson c98579e499 fix: add .js + .jsx extension to tailwind content glob (#2414)
Whilst Deno supports Typescript by default, not everyone necessarily
will want to write every file in Typescript. If using TailwindCSS, at
the moment the files Tailwind searches for classes does not include
`.js` and `.jsx` endings. Whilst you can manually add them via the
`tailwind.config.ts`, it might be nice to have these added in by default
for a better onboarding experience.

Closes #2291
2024-04-26 16:09:17 +02:00
Marvin Hagemeister 0e5962ce37 www: remov no build step from marketing (#2407)
We've been moving away from that for a couple of months now, so
featuring the "no build step" prominently in our marketing feels wrong.
2024-04-18 17:29:27 +02:00
Casey Ydenberg 5d490c8521 docs: Fix arguments for route component in Upload example (#2396)
Closes #2395
2024-04-08 19:26:50 +02:00
Asher Gomez 425032a6dc chore: minor cleanups (#2393)
These changes occur by just running `deno task ok` on `main`.
2024-04-08 13:08:41 +02:00
Zisulin MorbrotandAsher Gomez c9ec6bb153 docs: add a PKCE authentication with Supabase example (#2302)
Closes #1217

Adds an example on how to implement the PKCE authentication flow with
Supabase.

I included a link to a repo of mine holding the code to a fully fleshed
out example app as a more comprehensive point of reference, hope that is
ok. In fact, I was thinking of deploying that app on Deno Deploy and add
it to the Showcase section, lmk if that would be a good idea.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-03-27 15:39:01 +01:00
Bedis Nbiba 1d69f167ee chore: satisfy use-import-type lint (biomejs) (#2389)
https://biomejs.dev/linter/rules/use-import-type/

From that page the argument is 

>The rule ensures that all imports used only as a type use a type-only
import. It also groups inline type imports into a grouped import type.
2024-03-27 08:00:14 +01:00
Luca Casonato 4ab600e2a2 ci: only run lint and fmt on linux with Deno 1.x (#2386) 2024-03-25 16:01:55 +00:00
Octo8080X 5865c8246f showcase: fix incorrect repository link + screenshot (#2384)
Hello, Deno team!

The settings were not appropriate and have been corrected.

Best regards.
2024-03-25 15:08:04 +01:00
Stephen Melnicki 2c0a1480d8 showcase: update deno paste (#2378)
Hello fresh team! 👋 🦕 🍋 

I've registered a standalone domain for my showcase application, Deno
Paste, and made a small change to the github repository name.

This pull request updates the `showcase.json` configuration accordingly
and adds some more recent screenshots to boot.

Thanks!
2024-03-25 13:11:53 +01:00
Octo8080X e60633a062 showcase: add 'Echo-Echo' (#2383)
Hello, Deno team!

I have created a service using Fresh and would like you to register with
showcase.
[Echo-Echo](https://echo-echo.deno.dev/) 

Best regards.
2024-03-25 13:09:39 +01:00
Marvin Hagemeister 93fb4bd200 chore: release 1.6.8 (#2382)
🎉
2024-03-22 22:25:00 +01:00
Luca CasonatoandMarvin Hagemeister 29d582c987 chore: update ahead-of-time build docs for Deno Deploy (#2381)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-03-22 22:19:17 +01:00
Marvin Hagemeister 13d514dab8 chore: release 1.6.7 (#2380) 2024-03-21 22:49:39 +01:00
Adam Gregory 9cf838684e fix: Add closing quote for nonce in inline partial script (#2377)
Fixes #2376
2024-03-21 19:32:53 +01:00
Roj 8187189037 showcase: Remove non-Fresh sites + sites returning errors (#2374)
These items are no longer Fresh.
2024-03-21 11:48:36 +01:00
Marvin Hagemeister 9e5ea1f5e4 chore: release 1.6.6 (#2373) 2024-03-21 11:00:19 +01:00
narumincho 407e4379df doc: Rename _req used to req (#2349)
Where other documents use req, they use the name req instead of _req


https://github.com/denoland/fresh/blob/b7281792a0a5b2674f659514b1e58116fabd6460/docs/latest/concepts/middleware.md?plain=1#L153
2024-03-21 09:32:59 +00:00
Marvin Hagemeister 240252fdb4 Revert "feat: add ctx.redirect() helper (#2358)" (#2372)
Mostly so that it's easier to cut the next patch release for Fresh.

This reverts commit e3508c3054.
2024-03-21 10:27:53 +01:00
Luca Casonato c797716a56 chore: update to esbuild-deno-loader@0.10.2 and esbuild@0.20.2 (#2366) 2024-03-21 08:13:01 +00:00
Joe Lutz 0ea8b0dbc6 docs: fix wording related to route groups (#2368) 2024-03-18 21:01:58 +00:00