Make landing page slightly cool

This commit is contained in:
KMKoushik
2024-04-27 10:29:05 +10:00
parent 163aca189b
commit 814d9e9e37
27 changed files with 194 additions and 68 deletions

View File

@@ -11,7 +11,7 @@ import { ClipboardCopy, Check } from "lucide-react";
import { useState } from "react";
import { cn } from "../lib/utils";
type Language = "js" | "ruby" | "php" | "python";
type Language = "js" | "ruby" | "php" | "python" | "curl";
type CodeProps = {
codeBlocks: {
@@ -85,7 +85,7 @@ export const Code: React.FC<CodeProps> = ({ codeBlocks, codeClassName }) => {
value={block.language}
className="mt-0"
>
<div className={cn("overflow-auto", codeClassName)}>
<div className={cn("overflow-auto rounded-b-xl", codeClassName)}>
<SyntaxHighlighter language={block.language} style={codeTheme}>
{block.code}
</SyntaxHighlighter>