Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
samselikoff committed Aug 2, 2024
1 parent 627ef2f commit 64cf4b3
Show file tree
Hide file tree
Showing 4 changed files with 3,567 additions and 307 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
4 changes: 3 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export default function Home() {
let end = el.scrollHeight - el.clientHeight;
el.scrollTo({ top: end });
}
}, [generatedCode]);
}, [loading]);

return (
<div className="mx-auto flex min-h-screen max-w-7xl flex-col items-center justify-center py-2">
Expand Down Expand Up @@ -205,6 +205,7 @@ export default function Home() {
<div className="relative flex rounded-3xl bg-white shadow-sm">
<div className="relative flex flex-grow items-stretch focus-within:z-10">
<input
required
name="prompt"
className="w-full rounded-l-3xl bg-transparent px-6 py-5 text-lg focus-visible:outline focus-visible:outline-2 focus-visible:outline-blue-500"
defaultValue="Build a calculator app"
Expand Down Expand Up @@ -303,6 +304,7 @@ export default function Home() {
<div className="relative flex rounded-3xl bg-white shadow-sm group-disabled:bg-gray-50">
<div className="relative flex flex-grow items-stretch focus-within:z-10">
<input
required
name="prompt"
className="w-full rounded-l-3xl bg-transparent px-6 py-5 text-lg focus-visible:outline focus-visible:outline-2 focus-visible:outline-blue-500 disabled:cursor-not-allowed"
placeholder="Make changes to your app here"
Expand Down
Loading

0 comments on commit 64cf4b3

Please sign in to comment.