@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { h, tw } from "../client_deps.ts";
|
||||
import { h, tw } from "../deps.client.ts";
|
||||
|
||||
export function RoundedButton(props: h.JSX.HTMLAttributes<HTMLButtonElement>) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { apply, h, tw } from "../client_deps.ts";
|
||||
import { apply, h, tw } from "../deps.client.ts";
|
||||
import {
|
||||
CATEGORIES,
|
||||
TableOfContentsCategory,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { h, tw } from "../client_deps.ts";
|
||||
import { h, tw } from "../deps.client.ts";
|
||||
|
||||
const LINKS = [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { h, tw } from "../client_deps.ts";
|
||||
import { h, tw } from "../deps.client.ts";
|
||||
|
||||
export function IconMinus() {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { h, tw } from "../client_deps.ts";
|
||||
import { h, tw } from "../deps.client.ts";
|
||||
|
||||
export default function NavigationBar(props: { active: string }) {
|
||||
const items = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { h, tw } from "../client_deps.ts";
|
||||
import { h, tw } from "../deps.client.ts";
|
||||
|
||||
export default function WarningBanner() {
|
||||
const warning = tw`bg-yellow-100 border(1 yellow-200) p-4 mb-4`;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/** @jsx h */
|
||||
import { h, IS_BROWSER, tw, useState } from "../client_deps.ts";
|
||||
import { h, IS_BROWSER, tw, useState } from "../deps.client.ts";
|
||||
import { RoundedButton } from "../components/Button.tsx";
|
||||
import { IconMinus, IconPlus } from "../components/Icons.tsx";
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
useEffect,
|
||||
useRef,
|
||||
useState,
|
||||
} from "../client_deps.ts";
|
||||
} from "../deps.client.ts";
|
||||
import { Spring, WaveTank } from "../components/WaveTank.ts";
|
||||
|
||||
function easeInCirc(x: number) {
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
/// <reference lib="deno.ns" />
|
||||
/// <reference lib="deno.unstable" />
|
||||
|
||||
import { start } from "./server_deps.ts";
|
||||
import { start } from "./deps.server.ts";
|
||||
import routes from "./fresh.gen.ts";
|
||||
|
||||
await start(routes);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// This module adds twind support.
|
||||
|
||||
import { setup, theme } from "../client_deps.ts";
|
||||
import { RenderContext, RenderFn, virtualSheet } from "../server_deps.ts";
|
||||
import { setup, theme } from "../deps.client.ts";
|
||||
import { RenderContext, RenderFn, virtualSheet } from "../deps.server.ts";
|
||||
|
||||
const sheet = virtualSheet();
|
||||
sheet.reset();
|
||||
|
||||
@@ -9,8 +9,8 @@ import {
|
||||
Head,
|
||||
PageProps,
|
||||
tw,
|
||||
} from "../../client_deps.ts";
|
||||
import { frontMatter, gfm, Handlers } from "../../server_deps.ts";
|
||||
} from "../../deps.client.ts";
|
||||
import { frontMatter, gfm, Handlers } from "../../deps.server.ts";
|
||||
import DocsSidebar from "../../components/DocsSidebar.tsx";
|
||||
import Footer from "../../components/Footer.tsx";
|
||||
import NavigationBar from "../../components/NavigationBar.tsx";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { gfm, Handlers } from "../server_deps.ts";
|
||||
import { gfm, Handlers } from "../deps.server.ts";
|
||||
|
||||
// TODO(lucacasonato): hash the file and use the hash as the filename, and serve
|
||||
// with high-cacheability headers.
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
Head,
|
||||
PageProps,
|
||||
tw,
|
||||
} from "../client_deps.ts";
|
||||
} from "../deps.client.ts";
|
||||
import Counter from "../islands/Counter.tsx";
|
||||
import LemonDrop from "../islands/LemonDrop.tsx";
|
||||
import Footer from "../components/Footer.tsx";
|
||||
|
||||
Reference in New Issue
Block a user