Skip to content

Commit

Permalink
style: sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Dec 19, 2023
1 parent c36fe13 commit cbce806
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import IconLemon2 from "tabler_icons_tsx/lemon-2.tsx";
import type { FunctionalComponent } from "preact";
import IconBrandDeno from "tabler_icons_tsx/brand-deno.tsx";
import IconSolarPanel2 from "tabler_icons_tsx/solar-panel-2.tsx";
import IconBrandTailwind from "tabler_icons_tsx/brand-tailwind.tsx";
import IconBrandReact from "tabler_icons_tsx/brand-react.tsx";
import type { FunctionalComponent } from "preact";
import IconBrandTailwind from "tabler_icons_tsx/brand-tailwind.tsx";
import IconLemon2 from "tabler_icons_tsx/lemon-2.tsx";
import IconSolarPanel2 from "tabler_icons_tsx/solar-panel-2.tsx";
import { siteName, slogan } from "../site.ts";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import IconSolarPanel2 from "tabler_icons_tsx/solar-panel-2.tsx";
import type { FunctionalComponent } from "preact";
import IconSolarPanel2 from "tabler_icons_tsx/solar-panel-2.tsx";
import HeaderMenu from "../islands/HeaderMenu.tsx";
import { siteName } from "../site.ts";

Expand Down
2 changes: 1 addition & 1 deletion src/components/Logo.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import IconBolt from "tabler_icons_tsx/bolt.tsx";
import type { FunctionalComponent } from "preact";
import IconBolt from "tabler_icons_tsx/bolt.tsx";

const Logo: FunctionalComponent = () => (
// <img
Expand Down
2 changes: 1 addition & 1 deletion src/components/Meta.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { FunctionalComponent } from "preact";
import Title from "./Title.tsx";
import { description, logoAlt, logoSvgUrl, siteName } from "../site.ts";
import Title from "./Title.tsx";

interface Props {
title?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fresh.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from "$fresh/server.ts";
import tailwind from "$fresh/plugins/tailwind.ts";
import { defineConfig } from "$fresh/server.ts";

export default defineConfig({
plugins: [
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import "$std/dotenv/load.ts";

import { start } from "$fresh/server.ts";
import manifest from "./fresh.gen.ts";
import config from "./fresh.config.ts";
import manifest from "./fresh.gen.ts";

await start(manifest, config);
2 changes: 1 addition & 1 deletion src/routes/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { PageProps } from "$fresh/server.ts";
import { Head, Partial } from "$fresh/runtime.ts";
import type { PageProps } from "$fresh/server.ts";
import type { FunctionalComponent } from "preact";
import { description as desc, faviconPngUrl, faviconSvgUrl } from "../site.ts";

Expand Down
2 changes: 1 addition & 1 deletion src/routes/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { PageProps } from "$fresh/server.ts";
import type { FunctionalComponent } from "preact";
import Footer from "../components/Footer.tsx";
import Header from "../components/Header.tsx";
import type { FunctionalComponent } from "preact";

const Layout: FunctionalComponent<PageProps> = ({ Component, url }) => (
<div class="flex flex-col min-h-screen">
Expand Down
4 changes: 2 additions & 2 deletions src/routes/about.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createHandler, ServeHandlerInfo } from "$fresh/server.ts";
import manifest from "../fresh.gen.ts";
import config from "../fresh.config.ts";
import { assertStringIncludes } from "$std/assert/mod.ts";
import config from "../fresh.config.ts";
import manifest from "../fresh.gen.ts";

const CONN_INFO: ServeHandlerInfo = {
remoteAddr: { hostname: "127.0.0.1", port: 53496, transport: "tcp" },
Expand Down
2 changes: 1 addition & 1 deletion src/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from "tailwindcss";
import typography from "@tailwindcss/typography";
import type { Config } from "tailwindcss";

export default {
content: [
Expand Down

0 comments on commit cbce806

Please sign in to comment.