Added `aria-hidden="true"` to all decorative icons and illustrations.
If there are any questions, suggestions or anything, please let me know
:)
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
Ran into an issue where we weren't responding with the correct status
code and passed response headers. This was a bit of a rabbit hole and it
was caused by us wrapping to more error handling middlewares than
necessary.
In Fresh 2 trailing slash handling isn't applied automatically anymore
and I forgot to do that when merging the Fresh 2 code base.
While we're at it, I've added a section for that to our migration guide.
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!
- 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
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>
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!
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.
This PR adds a `ctx.redirect(path, status)` helper that aims to reduce
the verbosity of having to manually create a `Response` obejct for a
mere redirect.
```ts
// Before
new Response(null, {
status: 307,
headers: {
Location: "/foo/bar"
},
})
// After
ctx.redirect("/foo/bar", 307)
```
If the second parameter is not passed, it will default to `302`.
closes https://github.com/denoland/fresh/issues/2319
The issue is because `imports.ts` wasn't changed before releasing. I
thought I would go through and bump some other versions as well. This
handles everything except the esbuild stuff and `tests/`.
Currently, the [Carousel component](https://fresh.deno.dev/components)
only shows "slide four" without moving to other slides.
This PR will fix that issue.
Reverts denoland/fresh#2204
The `--env` flag cannot be used by default because it fails when no
`.env` file is present. Therefore this PR accidentally introduced a
breaking change.
This change replaces the use of the Standard Library's `dotenv.load()`
with the native `--env` CLI flag.
The benefits include:
* One less dependency
* More obvious consumption of the `.env` file in the CLI output