Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
node_modules/
build/
dist/
coverage/
node_modules
dist
.npm-cache
.DS_Store
*.local
*.log
.env*
!.env.example
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
<div align="center">
<img width="1200" height="475" alt="GHBanner" src="https://ai.google.dev/static/site-assets/images/share-ais-513315318.png" />
</div>
# ai.com React recreation

# Run and deploy your AI Studio app
A responsive, mobile-first recreation of the supplied `ai.com/start` reference screens.

This contains everything you need to run your app locally.
## Included interactions

View your app in AI Studio: https://ai.studio/apps/a9284e0b-6071-4885-885f-c5177acc339e
- Framer Motion page entrance and ambient light-streak animation
- Expanding account navigation with Sign up and Log in actions
- Interactive start calls to action
- Dismissible cookie preference panel
- Scroll-triggered mission, claim, and footer reveals
- Responsive desktop layout and reduced-motion support

## Run Locally
## Run locally

**Prerequisites:** Node.js
```bash
npm install
npm run dev
```

Build the production bundle with:

1. Install dependencies:
`npm install`
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
3. Run the app:
`npm run dev`
```bash
npm run build
```
11 changes: 8 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Google AI Studio App</title>
<meta name="theme-color" content="#05070c" />
<meta
name="description"
content="Claim your handle and launch your AI with ai.com."
/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>ai.com — claim your handle</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>

Loading