Start renaming
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { asset } from "fresh/runtime";
|
||||
import { asset } from "sweet/runtime";
|
||||
import { define } from "../utils/state.ts";
|
||||
|
||||
export default define.page(function App({ Component, state, url }) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HttpError, type PageProps } from "fresh";
|
||||
import { HttpError, type PageProps } from "sweet";
|
||||
import LemonDrop from "../islands/LemonDrop.tsx";
|
||||
|
||||
export function ServerCodePage(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Context } from "fresh";
|
||||
import type { Context } from "sweet";
|
||||
import type { Event } from "../utils/ga4.ts";
|
||||
import { GA4Report, isDocument, isServerError } from "../utils/ga4.ts";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { HttpError, page } from "fresh";
|
||||
import { asset, Partial } from "fresh/runtime";
|
||||
import { HttpError, page } from "sweet";
|
||||
import { asset, Partial } from "sweet/runtime";
|
||||
import { SidebarCategory } from "../../components/DocsSidebar.tsx";
|
||||
import Footer from "../../components/Footer.tsx";
|
||||
import Header from "../../components/Header.tsx";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { PageProps } from "@fresh/core";
|
||||
import type { PageProps } from "@paulaboks/sweet";
|
||||
|
||||
export default function Layout({ Component }: PageProps) {
|
||||
return (
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Context } from "fresh";
|
||||
import type { Context } from "sweet";
|
||||
|
||||
const REDIRECTS: Record<string, string> = {
|
||||
"/docs/getting-started/fetching-data":
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { asset } from "fresh/runtime";
|
||||
import { page } from "fresh";
|
||||
import { asset } from "sweet/runtime";
|
||||
import { page } from "sweet";
|
||||
import VERSIONS from "../../versions.json" with { type: "json" };
|
||||
import Footer from "../components/Footer.tsx";
|
||||
import Header from "../components/Header.tsx";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { RouteConfig } from "fresh";
|
||||
import type { RouteConfig } from "sweet";
|
||||
import { format, parse } from "@std/semver";
|
||||
import VERSIONS from "../../versions.json" with { type: "json" };
|
||||
import { extname } from "@std/path";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { PageProps } from "fresh";
|
||||
import type { PageProps } from "sweet";
|
||||
import Header from "../../components/Header.tsx";
|
||||
|
||||
export default function Layout({ Component }: PageProps) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { page } from "fresh";
|
||||
import { Partial } from "fresh/runtime";
|
||||
import { page } from "sweet";
|
||||
import { Partial } from "sweet/runtime";
|
||||
import { define } from "../../utils/state.ts";
|
||||
|
||||
export const handler = define.handlers({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { page } from "fresh";
|
||||
import { Partial } from "fresh/runtime";
|
||||
import { page } from "sweet";
|
||||
import { Partial } from "sweet/runtime";
|
||||
import { define } from "../../utils/state.ts";
|
||||
|
||||
export const handler = define.handlers({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { page } from "fresh";
|
||||
import { Partial } from "fresh/runtime";
|
||||
import { page } from "sweet";
|
||||
import { Partial } from "sweet/runtime";
|
||||
import { define } from "../../utils/state.ts";
|
||||
|
||||
export const handler = define.handlers({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { page } from "fresh";
|
||||
import { page } from "sweet";
|
||||
import { PageSection } from "../components/PageSection.tsx";
|
||||
import { DemoBox } from "../components/homepage/DemoBox.tsx";
|
||||
import { define } from "../utils/state.ts";
|
||||
|
||||
Reference in New Issue
Block a user