From fce25841cd69afab4ec1aa204e3352caf8c57853 Mon Sep 17 00:00:00 2001 From: bkellam Date: Sat, 24 Aug 2024 21:18:53 -0700 Subject: [PATCH] mock code blocks --- src/app/page.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ed0ce64f..ad7e1aff 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -59,7 +59,7 @@ export default function Home() { return (
-
+

Results for: {fileMatches.length} files in {searchDurationMs} ms

+
{fileMatches.map((match, index) => ( @@ -163,7 +164,15 @@ const FileMatch = ({ return (
-

{match.Repo} | {match.FileName}

+
+ {match.Repo} ยท {match.FileName} +
+ {/* Code block */} +
+

{"1: if (my_ptr->asdf) {"}

+

{"2: doSomething()"}

+

{"3: }"}

+
); }