Skip to content

Commit

Permalink
start
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldesigndj committed May 16, 2023
1 parent 0fe3259 commit a0271b5
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 18 deletions.
148 changes: 148 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions fresh.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.

import config from "./deno.json" assert { type: "json" }
import * as $0 from "./routes/[name].tsx"
import * as $1 from "./routes/api/joke.ts"
import * as $2 from "./routes/index.tsx"
import * as $$0 from "./islands/Counter.tsx"
import config from "./deno.json" assert { type: "json" };
import * as $0 from "./routes/[name].tsx";
import * as $1 from "./routes/api/joke.ts";
import * as $2 from "./routes/index.tsx";
import * as $$0 from "./islands/Counter.tsx";

const manifest = {
routes: {
Expand All @@ -19,6 +19,6 @@ const manifest = {
},
baseUrl: import.meta.url,
config,
}
};

export default manifest
export default manifest;
14 changes: 3 additions & 11 deletions routes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Head } from "$fresh/runtime.ts";
import Counter from "../islands/Counter.tsx";

export default function Home() {
return (
Expand All @@ -8,16 +7,9 @@ export default function Home() {
<title>Fresh App</title>
</Head>
<div class="p-4 mx-auto max-w-screen-md">
<img
src="/logo.svg"
class="w-32 h-32"
alt="the fresh logo: a sliced lemon dripping with juice"
/>
<p class="my-6">
Welcome to `fresh`. Try updating this message in the ./routes/index.tsx
file, and refresh.
</p>
<Counter start={3} />
<h2>Seaside Pharmacy</h2>
<a>781-284-6525</a>
<p>Revere, MA</p>
</div>
</>
);
Expand Down

0 comments on commit a0271b5

Please sign in to comment.