Add about page

This commit is contained in:
Brian Hackett 2025-01-20 10:32:48 -08:00
parent eee47d9af9
commit 5521e0eba6
2 changed files with 48 additions and 5 deletions

View File

@ -272,7 +272,7 @@ export const ChatImpl = memo(
let enhancedPrompt, message;
try {
enhancedPrompt = await getSimulationEnhancedPrompt(recordingId, repositoryContents);
message = `Explanation of the bug: ${enhancedPrompt}`;
message = `Explanation of the bug:\n\n${enhancedPrompt}`;
} catch (e) {
console.error("Error enhancing prompt", e);
message = "Error enhancing prompt.";

View File

@ -11,10 +11,53 @@ function AboutPage() {
<BackgroundRays />
<Header />
<ClientOnly>{() => <Menu />}</ClientOnly>
<div>
Nut is an open source fork of Bolt.new designed to help you more easily fix bugs
and make improvements to your app which AI developers struggle with. We want to be better
at cracking tough nuts, so to speak.
<div className="max-w-3xl mx-auto px-6 py-12 prose prose-invert">
<h1 className="text-4xl font-bold mb-8">About Nut</h1>
<p className="mb-6">
Nut is an{' '}
<a
href="https://github.com/replayio/bolt"
className="text-bolt-elements-accent underline hover:no-underline"
target="_blank"
rel="noopener noreferrer"
>
open source fork
</a>{' '}
of{' '}
<a
href="https://bolt.new"
className="text-bolt-elements-accent underline hover:no-underline"
target="_blank"
rel="noopener noreferrer"
>
Bolt.new
</a>{' '}
for helping you develop your apps using AI. AI developers frequently struggle with fixing
even simple bugs when they don't know the cause, and get stuck making ineffective changes
over and over. We want to crack these tough nuts, so to speak, so you can get back to building.
</p>
<p className="mb-6">
When you ask Nut to fix a bug, it creates a{' '}
<a
href="https://replay.io"
className="text-bolt-elements-accent underline hover:no-underline"
target="_blank"
rel="noopener noreferrer"
>
Replay.io
</a>{' '}
recording of your app and whatever you did to produce the bug. The recording captures all the runtime
behavior of your app, which is analyzed to explain the root cause of the bug.
This explanation is given to the AI developer to help it write a good fix.
</p>
<p>
These are early days for Nut and it's not going to help with much yet. To help with Nut's development
we're building a public collection of problems that AIs get stuck on, which you can browse or submit
new problems to using the sidebar menu.
</p>
</div>
</div>
</TooltipProvider>