Skip to content

Commit

Permalink
Merge pull request #78 from jrTilak/dev
Browse files Browse the repository at this point in the history
Sync
  • Loading branch information
Tilak Thapa authored May 14, 2024
2 parents 293769e + 7b80757 commit 46e49dd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 90 deletions.
81 changes: 0 additions & 81 deletions src/www/src/app/(pages)/docs/_components/code-line-with-flag.tsx

This file was deleted.

15 changes: 8 additions & 7 deletions src/www/src/app/(pages)/docs/_pages/change-log.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,17 @@ const ChangeLog = async () => {
<div className="flex flex-col gap-3">
<h3
className="text-lg sm:text-xl lg:text-2xl font-semibold flex gap-2"
id="introduction"
id={pr.title.replace(/ /g, "-")}
>
<Link target="_blank" href={pr.html_url} className="min-w-max">
<span className="hover:underline">
{i + 1}. {pr.title.substring(0, 50)}
{pr.title.length > 50 ? "..." : ""}
</span>
<Link
target="_blank"
href={pr.html_url}
className="min-w-max w-full hover:underline truncate"
>
{i + 1}. {pr.title}
</Link>
</h3>
<div className="prose overflow-x-hidden ml-3 lg:ml-6">
<div className="prose-sm overflow-x-hidden ml-3 lg:ml-6">
{(() => {
return (
<div
Expand Down
4 changes: 2 additions & 2 deletions src/www/src/app/(pages)/docs/_pages/method-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import { marked } from "marked";
import ExampleTabs from "../_components/example-tabs";
import { LangProvider } from "@/providers/lang-provider";
import CodeLineWithFlag from "../_components/code-line-with-flag";
import CodeLine from "../_components/code-line";
const MethodPage = async ({ slug }: { slug: string[] }) => {
if (!registry) return <NotFound />;

Expand Down Expand Up @@ -61,7 +61,7 @@ const MethodPage = async ({ slug }: { slug: string[] }) => {
{
title: "Installation",
toRender: (
<CodeLineWithFlag
<CodeLine
code={`npx @jrtilak/lazykit@latest add ${methodData.name}`}
language="bash"
/>
Expand Down

0 comments on commit 46e49dd

Please sign in to comment.