Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed Apr 20, 2024
1 parent 9ce2222 commit ab5fdc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 41 deletions.
3 changes: 0 additions & 3 deletions islands/CreationDate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import { signal, useSignalEffect } from "@preact/signals";
import { getHashSignal } from "../lib/hash.ts";
import { setHash } from "../lib/hash.ts";

import { Caption } from "../components/Caption.tsx";
import { Input } from "../components/Input.tsx";
import { Label } from "../components/Label.tsx";
import { timeAgo } from "time_ago/mod.ts";
import { predictCreationDate } from "../lib/creation_date.ts";

Expand Down
39 changes: 1 addition & 38 deletions routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import { ExternalLink } from "../components/ExternalLink.tsx";

const sections = [
{
name: "Connectivity",
description: "Tools to test your connectivity.",
tools: [
{
href: "/connectivity-test",
Expand All @@ -32,21 +30,6 @@ const sections = [
],
},
{
name: "Unlisted",
description: "Tools that don’t fit in a specific section yet.",
tools: [
],
},
{
name: "Bot API",
description: (
<>
<ExternalLink href="https://core.telegram.org/bots/api">
Bot API
</ExternalLink>{" "}
is an official API for building Telegram bots.
</>
),
tools: [
{
href: "/file-id-analyzer",
Expand Down Expand Up @@ -79,11 +62,6 @@ const sections = [
],
},
{
name: "Session Strings",
description:
"Session strings are a piece of text generated or consumed by a \
third-party client library that include the necessary information to \
authorize as an account.",
tools: [
{
href: "/session-string-generator",
Expand All @@ -107,14 +85,6 @@ const sections = [
],
},
{
name: "grammY",
description: (
<>
<ExternalLink href="https://grammy.dev">grammY</ExternalLink>{" "}
is a Bot API framework for TypeScript and JavaScript that can run almost
anywhere JavaScript does.
</>
),
tools: [
{
href: "/filter-query-browser",
Expand All @@ -129,14 +99,8 @@ const sections = [
export default function Home() {
return (
<>
<div class="flex flex-col w-full gap-10">
<div class="flex flex-col w-full gap-10 pt-2 xl:pt-5">
{sections.map((v) => (

/* // <div class="flex flex-col gap-5">
{/* <div class="flex flex-col gap-1.5">
<div class="text-2xl font-bold">{v.name}</div>
{v.description && <div>{v.description}</div>}
</div> */
<div class="grid gap-5 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3">
{v.tools.map((v) => (
<Card
Expand All @@ -148,7 +112,6 @@ export default function Home() {
/>
))}
</div>
// </div>
))}
</div>
<footer class="text-xs py-10 flex gap-10 items-center justify-between flex-wrap flex-wrap-reverse border-t border-border mt-10">
Expand Down

0 comments on commit ab5fdc0

Please sign in to comment.