Skip to content

Commit 7256269

Browse files
salim4nclaude
andcommitted
feat(web): add Stellar landing template, adapted for IgnitionAI
- Copy Cruip Stellar Next.js template into packages/web/ - Global color swap: purple → indigo (#6366f1) - Remove unused (auth) routes to unblock build - New hero: "Train RL agents in your browser" + install command - New quickstart section: 7-line code block showcasing the API - New demos section: 5 demo cards (GridWorld, CartPole, MountainCar, CartPole 3D, Car Circuit) - New CTA: GitHub star + docs link - Simplified page.tsx: Hero → QuickStart → Features → Demos → CTA Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c6426e8 commit 7256269

218 files changed

Lines changed: 9016 additions & 144 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/web/.gitignore‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
.pnpm-debug.log*
27+
28+
# local env files
29+
.env*.local
30+
31+
# vercel
32+
.vercel
33+
34+
# typescript
35+
*.tsbuildinfo
36+
next-env.d.ts

‎packages/web/CHANGELOG.md‎

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# CHANGELOG.md
2+
3+
## [3.2.0] - 2025-12-12
4+
5+
- Upgrade to Next.js 16.0.10 and React 19.2.3
6+
7+
## [3.1.0] - 2025-12-06
8+
9+
- Upgrade to Next.js 16.0.7
10+
11+
## [3.0.0] - 2025-02-04
12+
13+
- Upgrade to Tailwind 4
14+
- Update other dependencies
15+
16+
## [2.2.0] - 2024-12-08
17+
18+
- Update dependencies + Upgrade to Next.js 15
19+
20+
## [2.1.5] - 2024-11-30
21+
22+
- Fix MDX content not rendering
23+
24+
## [2.1.4] - 2024-11-03
25+
26+
- Update Hamburger button
27+
28+
## [2.1.3] - 2024-10-26
29+
30+
- Update dependencies
31+
- Use CSS only for clients carousel
32+
33+
## [2.1.1] - 2024-07-09
34+
35+
- Minor improvements
36+
37+
## [2.1.0] - 2024-07-05
38+
39+
- Replace Contentlayer with MDX
40+
41+
## [2.0.0] - 2023-12-11
42+
43+
- Added 7 new pages
44+
- Update Next.js to 14
45+
46+
## [1.1.2] - 2023-10-04
47+
48+
- Update Twitter icon
49+
- Update dependencies
50+
51+
## [1.1.0] - 2023-06-20
52+
53+
- Fix issue with Google Fonts
54+
55+
## [1.0.3] - 2023-05-15
56+
57+
- Fix issue with clients carousel
58+
59+
## [1.0.2] - 2023-05-06
60+
61+
- Dependencies update
62+
63+
## [1.0.1] - 2023-05-06
64+
65+
- Dependencies update
66+
67+
## [1.0.0] - 2023-04-19
68+
69+
First release

‎packages/web/README.md‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
```
14+
15+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
16+
17+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
18+
19+
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
20+
21+
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
22+
23+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
24+
25+
## Learn More
26+
27+
To learn more about Next.js, take a look at the following resources:
28+
29+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
30+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
31+
32+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
33+
34+
## Deploy on Vercel
35+
36+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
37+
38+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
export const metadata = {
2+
title: 'About - Stellar',
3+
description: 'Page description',
4+
}
5+
6+
import Hero from '@/components/hero-about'
7+
import Story from '@/components/story'
8+
import Team from '@/components/team'
9+
import Recruitment from '@/components/recruitment'
10+
import Testimonials from '@/components/testimonials-02'
11+
import Cta from '@/components/cta-02'
12+
13+
export default function About() {
14+
return (
15+
<>
16+
<Hero />
17+
<Story />
18+
<Team />
19+
<Recruitment />
20+
<Testimonials />
21+
<Cta />
22+
</>
23+
)
24+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
export const metadata = {
2+
title: 'Changelog - Stellar',
3+
description: 'Page description',
4+
}
5+
6+
import { getUpdatePosts } from '@/components/mdx/utils'
7+
import Image from 'next/image'
8+
import Illustration from '@/public/images/page-illustration.svg'
9+
import PostItem from './post-item'
10+
import Cta from '@/components/cta-03'
11+
12+
export default function Changelog() {
13+
const allUpdates = getUpdatePosts();
14+
15+
// Sort posts by date
16+
allUpdates.sort((a, b) => {
17+
return (new Date(a.metadata.publishedAt) > new Date(b.metadata.publishedAt)) ? -1 : 1
18+
})
19+
20+
return (
21+
<>
22+
23+
{/* Content */}
24+
<section className="relative">
25+
26+
{/* Radial gradient */}
27+
<div className="absolute flex items-center justify-center top-0 -translate-y-1/2 left-1/2 -translate-x-1/2 pointer-events-none -z-10 w-[800px] aspect-square" aria-hidden="true">
28+
<div className="absolute inset-0 translate-z-0 bg-purple-500 rounded-full blur-[120px] opacity-30"></div>
29+
<div className="absolute w-64 h-64 translate-z-0 bg-purple-400 rounded-full blur-[80px] opacity-70"></div>
30+
</div>
31+
32+
{/* Particles animation */}
33+
<div className="absolute inset-0 h-96 -z-10" aria-hidden="true">
34+
<canvas data-particle-animation data-particle-quantity="15"></canvas>
35+
</div>
36+
37+
{/* Illustration */}
38+
<div className="md:block absolute left-1/2 -translate-x-1/2 -mt-16 blur-2xl opacity-90 pointer-events-none -z-10" aria-hidden="true">
39+
<Image src={Illustration} className="max-w-none" width={1440} height={427} alt="Page Illustration" />
40+
</div>
41+
42+
<div className="max-w-6xl mx-auto px-4 sm:px-6">
43+
<div className="pt-32 pb-12 md:pt-40 md:pb-20">
44+
45+
{/* Page header */}
46+
<div className="text-center pb-12 md:pb-20">
47+
<h1 className="h1 bg-clip-text text-transparent bg-linear-to-r from-slate-200/60 via-slate-200 to-slate-200/60 pb-4">What's New</h1>
48+
<div className="max-w-3xl mx-auto">
49+
<p className="text-lg text-slate-400">New updates and improvements to Stellar.</p>
50+
</div>
51+
</div>
52+
53+
{/* Content */}
54+
<div className="max-w-3xl mx-auto">
55+
<div className="relative">
56+
<div className="absolute h-full top-4 left-[2px] w-0.5 bg-slate-800 [mask-image:linear-gradient(0deg,transparent,var(--color-white)_150px,var(--color-white))] -z-10 overflow-hidden after:absolute after:h-4 after:top-0 after:-translate-y-full after:left-0 after:w-0.5 after:bg-[linear-gradient(180deg,transparent,--theme(--color-purple-500/.65)_25%,--theme(--color-purple-200)_50%,--theme(--color-purple-500/.65)_75%,transparent)] after:animate-shine" aria-hidden="true"></div>
57+
{allUpdates.map((post, postIndex) => (
58+
<PostItem key={postIndex} {...post} />
59+
))}
60+
</div>
61+
</div>
62+
63+
{/* Pagination */}
64+
<div className="max-w-3xl mx-auto">
65+
<ul className="flex items-center justify-between mt-12 pl-8 md:pl-48">
66+
<li>
67+
<span className="btn-sm text-slate-700 transition duration-150 ease-in-out group [background:linear-gradient(var(--color-slate-900),var(--color-slate-900))_padding-box,conic-gradient(var(--color-slate-400),var(--color-slate-700)_25%,var(--color-slate-700)_75%,var(--color-slate-400)_100%)_border-box] relative before:absolute before:inset-0 before:bg-slate-800/30 before:rounded-full before:pointer-events-none cursor-not-allowed">
68+
<span className="relative inline-flex items-center">
69+
<span className="tracking-normal text-slate-700 mr-1">&lt;-</span> Previous Page
70+
</span>
71+
</span>
72+
</li>
73+
<li>
74+
<a className="btn-sm text-slate-300 hover:text-white transition duration-150 ease-in-out group [background:linear-gradient(var(--color-slate-900),var(--color-slate-900))_padding-box,conic-gradient(var(--color-slate-400),var(--color-slate-700)_25%,var(--color-slate-700)_75%,var(--color-slate-400)_100%)_border-box] relative before:absolute before:inset-0 before:bg-slate-800/30 before:rounded-full before:pointer-events-none" href="#0">
75+
<span className="relative inline-flex items-center">
76+
Next Page <span className="tracking-normal text-purple-500 group-hover:translate-x-0.5 transition-transform duration-150 ease-in-out ml-1">-&gt;</span>
77+
</span>
78+
</a>
79+
</li>
80+
</ul>
81+
</div>
82+
83+
</div>
84+
</div>
85+
86+
</section>
87+
88+
<Cta />
89+
</>
90+
)
91+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import Image from 'next/image'
2+
import PostDate from '@/components/post-date'
3+
import { CustomMDX } from '@/components/mdx/mdx'
4+
5+
export default function PostItem({ ...props }) {
6+
return (
7+
<article className="pt-12 first-of-type:pt-0 group">
8+
<div className="md:flex">
9+
<div className="w-48 shrink-0">
10+
<time className="text-sm inline-flex items-center bg-clip-text text-transparent bg-linear-to-r from-purple-500 to-purple-200 md:leading-8 before:w-1.5 before:h-1.5 before:rounded-full before:bg-purple-500 before:ring-4 before:ring-purple-500/30 mb-3">
11+
<span className="ml-[1.625rem] md:ml-5"><PostDate dateString={props.metadata.publishedAt} /></span>
12+
</time>
13+
</div>
14+
<div className="grow ml-8 md:ml-0 pb-12 group-last-of-type:pb-0 border-b [border-image:linear-gradient(to_right,--theme(--color-slate-700/.3),--theme(--color-slate-700),--theme(--color-slate-700/.3))1] group-last-of-type:border-none">
15+
<header>
16+
<h2 className="text-2xl font-bold bg-clip-text text-transparent bg-linear-to-r from-slate-200/60 via-slate-200 to-slate-200/60 leading-8 pb-6">{props.metadata.title}</h2>
17+
</header>
18+
<figure className="bg-linear-to-b from-slate-300/20 to-transparent rounded-3xl p-px mb-8">
19+
<Image className="w-full rounded-[inherit]" src={props.metadata.image} width={574} height={326} alt={props.metadata.title} />
20+
</figure>
21+
<div className="prose max-w-none text-slate-400 prose-p:leading-relaxed prose-a:text-purple-500 prose-a:no-underline hover:prose-a:underline prose-strong:text-slate-50 prose-strong:font-medium">
22+
<CustomMDX source={props.content} />
23+
</div>
24+
</div>
25+
</div>
26+
</article>
27+
)
28+
}

0 commit comments

Comments
 (0)