style: fix remaining inconsistencies (#1505)
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
description: |
|
description: |
|
||||||
Add JavaScript based interactivity to your project without sacrificing user
|
Add JavaScript based interactivity to your project without sacrificing user
|
||||||
experience, by using fresh's powerful islands system.
|
experience, by using Fresh's powerful islands system.
|
||||||
---
|
---
|
||||||
|
|
||||||
Up to now none of the pages in the demo project have contained any client side
|
Up to now none of the pages in the demo project have contained any client side
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export default function Home() {
|
|||||||
height="128"
|
height="128"
|
||||||
alt="the Fresh logo: a sliced lemon dripping with juice"
|
alt="the Fresh logo: a sliced lemon dripping with juice"
|
||||||
/>
|
/>
|
||||||
<h1 class="text-4xl font-bold">Welcome to fresh</h1>
|
<h1 class="text-4xl font-bold">Welcome to Fresh</h1>
|
||||||
<p class="my-4">
|
<p class="my-4">
|
||||||
Try updating this message in the
|
Try updating this message in the
|
||||||
<code class="mx-2">./routes/index.tsx</code> file, and refresh.
|
<code class="mx-2">./routes/index.tsx</code> file, and refresh.
|
||||||
|
|||||||
+1
-1
@@ -94,7 +94,7 @@ function toImportSpecifier(file: string) {
|
|||||||
export async function generate(directory: string, manifest: Manifest) {
|
export async function generate(directory: string, manifest: Manifest) {
|
||||||
const { routes, islands } = manifest;
|
const { routes, islands } = manifest;
|
||||||
|
|
||||||
const output = `// DO NOT EDIT. This file is generated by fresh.
|
const output = `// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running \`dev.ts\`.
|
// This file is automatically updated during development when running \`dev.ts\`.
|
||||||
|
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ export class ServerContext {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This functions returns a request handler that handles all routes required
|
* This functions returns a request handler that handles all routes required
|
||||||
* by fresh, including static files.
|
* by Fresh, including static files.
|
||||||
*/
|
*/
|
||||||
handler(): (req: Request, connInfo?: ServeHandlerInfo) => Promise<Response> {
|
handler(): (req: Request, connInfo?: ServeHandlerInfo) => Promise<Response> {
|
||||||
const handlers = this.#handlers();
|
const handlers = this.#handlers();
|
||||||
|
|||||||
+1
-1
@@ -78,7 +78,7 @@ export interface RouteConfig {
|
|||||||
/**
|
/**
|
||||||
* If Content-Security-Policy should be enabled for this page. If 'true', a
|
* If Content-Security-Policy should be enabled for this page. If 'true', a
|
||||||
* locked down policy will be used that allows only the scripts and styles
|
* locked down policy will be used that allows only the scripts and styles
|
||||||
* that are generated by fresh. Additional scripts and styles can be added
|
* that are generated by Fresh. Additional scripts and styles can be added
|
||||||
* using the `useCSP` hook.
|
* using the `useCSP` hook.
|
||||||
*/
|
*/
|
||||||
csp?: boolean;
|
csp?: boolean;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// DO NOT EDIT. This file is generated by fresh.
|
// DO NOT EDIT. This file is generated by Fresh.
|
||||||
// This file SHOULD be checked into source version control.
|
// This file SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export const handler: Handlers<HomeProps> = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const TITLE = "Components | fresh";
|
const TITLE = "Components | Fresh";
|
||||||
const DESCRIPTION = "A collection of components made for Fresh.";
|
const DESCRIPTION = "A collection of components made for Fresh.";
|
||||||
|
|
||||||
interface HomeProps {
|
interface HomeProps {
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ function StartJourney() {
|
|||||||
</h2>
|
</h2>
|
||||||
<div class="flex flex-col md:flex-row justify-start items-center gap-4">
|
<div class="flex flex-col md:flex-row justify-start items-center gap-4">
|
||||||
<p class="text(xl gray-600)">
|
<p class="text(xl gray-600)">
|
||||||
Jump right in and build your website with fresh. Learn everything you
|
Jump right in and build your website with Fresh. Learn everything you
|
||||||
need to know in seconds.
|
need to know in seconds.
|
||||||
</p>
|
</p>
|
||||||
<a
|
<a
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import Header from "../components/Header.tsx";
|
|||||||
import Footer from "../components/Footer.tsx";
|
import Footer from "../components/Footer.tsx";
|
||||||
import projects from "../data/showcase.json" assert { type: "json" };
|
import projects from "../data/showcase.json" assert { type: "json" };
|
||||||
|
|
||||||
const TITLE = "Showcase | fresh";
|
const TITLE = "Showcase | Fresh";
|
||||||
const DESCRIPTION = "Selection of projects that have been built with Fresh.";
|
const DESCRIPTION = "Selection of projects that have been built with Fresh.";
|
||||||
|
|
||||||
export default function ShowcasePage(props: PageProps) {
|
export default function ShowcasePage(props: PageProps) {
|
||||||
|
|||||||
Reference in New Issue
Block a user