Skip to content

Commit c83f410

Browse files
committed
update
1 parent 95c3219 commit c83f410

27 files changed

+5966
-568
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.gitignore

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
# dependencies
44
/node_modules
55
/.pnp
6-
.pnp.js
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
712

813
# testing
914
/coverage
@@ -23,9 +28,10 @@
2328
npm-debug.log*
2429
yarn-debug.log*
2530
yarn-error.log*
31+
.pnpm-debug.log*
2632

27-
# local env files
28-
.env*.local
33+
# env files (can opt-in for committing if needed)
34+
.env*
2935

3036
# vercel
3137
.vercel

README.md

Lines changed: 20 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,125 +1,36 @@
1-
# Open Superintelligence Lab
1+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
22

3-
A modern, responsive website for the Open Superintelligence Lab, built with Next.js and deployed to GitHub Pages.
3+
## Getting Started
44

5-
## 🚀 Quick Start
5+
First, run the development server:
66

7-
### Prerequisites
8-
9-
- Node.js 18+
10-
- npm or yarn
11-
12-
### Installation
13-
14-
1. Clone the repository:
15-
```bash
16-
git clone https://github.com/Open-Superintelligence-Lab/Open-Superintelligence-Lab.github.io.git
17-
cd Open-Superintelligence-Lab.github.io
18-
```
19-
20-
2. Install dependencies:
21-
```bash
22-
npm install
23-
```
24-
25-
3. Run the development server:
267
```bash
278
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
2815
```
2916

30-
4. Open [http://localhost:3000](http://localhost:3000) in your browser.
31-
32-
## 📦 Available Scripts
33-
34-
- `npm run dev` - Start development server
35-
- `npm run build` - Build the application for production
36-
- `npm run start` - Start production server
37-
- `npm run export` - Build and export static files
38-
- `npm run deploy` - Deploy to GitHub Pages
39-
40-
## 🏗️ Project Structure
41-
42-
```
43-
├── app/ # Next.js App Router
44-
│ ├── globals.css # Global styles
45-
│ ├── layout.tsx # Root layout
46-
│ └── page.tsx # Home page
47-
├── components/ # React components
48-
│ ├── Hero.tsx # Hero section
49-
│ ├── About.tsx # About section
50-
│ ├── Research.tsx # Research areas
51-
│ ├── Contact.tsx # Contact section
52-
│ └── Footer.tsx # Footer
53-
├── .github/workflows/ # GitHub Actions
54-
└── public/ # Static assets
55-
```
56-
57-
## 🎨 Features
58-
59-
- **Modern Design**: Clean, professional layout with gradient backgrounds
60-
- **Responsive**: Mobile-first design that works on all devices
61-
- **Fast**: Optimized for performance with Next.js
62-
- **SEO Ready**: Proper meta tags and semantic HTML
63-
- **Accessible**: WCAG compliant components
64-
65-
## 🚀 Deployment
66-
67-
This site is automatically deployed to GitHub Pages using GitHub Actions. Every push to the `main` branch triggers a deployment.
68-
69-
### Manual Deployment
70-
71-
If you need to deploy manually:
72-
73-
```bash
74-
npm run export
75-
```
76-
77-
This will create an `out` folder with static files that can be served by GitHub Pages.
78-
79-
## 🔧 Configuration
80-
81-
The site is configured for GitHub Pages deployment in `next.config.js`:
82-
83-
- Static export enabled
84-
- Asset prefix set for GitHub Pages
85-
- Base path configured for repository name
86-
87-
## 📝 Customization
88-
89-
### Adding New Sections
90-
91-
1. Create a new component in `components/`
92-
2. Import and add it to `app/page.tsx`
93-
3. Style with Tailwind CSS classes
94-
95-
### Changing Colors
96-
97-
The site uses a blue-purple gradient theme. To change colors, update the gradient classes in:
98-
- `components/Hero.tsx`
99-
- `components/Footer.tsx`
100-
101-
### Updating Content
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
10218

103-
Edit the component files in `components/` to update text, links, and other content.
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
10420

105-
## 🤝 Contributing
21+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
10622

107-
1. Fork the repository
108-
2. Create a feature branch: `git checkout -b feature-name`
109-
3. Make your changes
110-
4. Commit: `git commit -m 'Add feature'`
111-
5. Push: `git push origin feature-name`
112-
6. Open a Pull Request
23+
## Learn More
11324

114-
## 📄 License
25+
To learn more about Next.js, take a look at the following resources:
11526

116-
This project is open source and available under the [MIT License](LICENSE).
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
11729

118-
## 🔗 Links
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
11931

120-
- **Live Site**: [https://open-superintelligence-lab.github.io/Open-Superintelligence-Lab.github.io](https://open-superintelligence-lab.github.io/Open-Superintelligence-Lab.github.io)
121-
- **GitHub**: [https://github.com/Open-Superintelligence-Lab/Open-Superintelligence-Lab.github.io](https://github.com/Open-Superintelligence-Lab/Open-Superintelligence-Lab.github.io)
32+
## Deploy on Vercel
12233

123-
---
34+
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.
12435

125-
Built with ❤️ by the Open Superintelligence Lab team.
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.

app/about/page.tsx

Lines changed: 0 additions & 44 deletions
This file was deleted.

app/favicon.ico

25.3 KB
Binary file not shown.

app/globals.css

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
42

53
:root {
6-
--foreground-rgb: 0, 0, 0;
7-
--background-start-rgb: 214, 219, 220;
8-
--background-end-rgb: 255, 255, 255;
4+
--background: #ffffff;
5+
--foreground: #171717;
6+
}
7+
8+
@theme inline {
9+
--color-background: var(--background);
10+
--color-foreground: var(--foreground);
11+
--font-sans: var(--font-geist-sans);
12+
--font-mono: var(--font-geist-mono);
913
}
1014

1115
@media (prefers-color-scheme: dark) {
1216
:root {
13-
--foreground-rgb: 255, 255, 255;
14-
--background-start-rgb: 0, 0, 0;
15-
--background-end-rgb: 0, 0, 0;
17+
--background: #0a0a0a;
18+
--foreground: #ededed;
1619
}
1720
}
1821

1922
body {
20-
color: rgb(var(--foreground-rgb));
21-
background: linear-gradient(
22-
to bottom,
23-
transparent,
24-
rgb(var(--background-end-rgb))
25-
)
26-
rgb(var(--background-start-rgb));
27-
}
28-
29-
@layer utilities {
30-
.text-balance {
31-
text-wrap: balance;
32-
}
23+
background: var(--background);
24+
color: var(--foreground);
25+
font-family: Arial, Helvetica, sans-serif;
3326
}

app/layout.tsx

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
1-
import type { Metadata } from 'next'
2-
import './globals.css'
1+
import type { Metadata } from "next";
2+
import { Geist, Geist_Mono } from "next/font/google";
3+
import "./globals.css";
4+
5+
const geistSans = Geist({
6+
variable: "--font-geist-sans",
7+
subsets: ["latin"],
8+
});
9+
10+
const geistMono = Geist_Mono({
11+
variable: "--font-geist-mono",
12+
subsets: ["latin"],
13+
});
314

415
export const metadata: Metadata = {
5-
title: 'Open Superintelligence Lab',
6-
description: 'Advancing AI research and development towards beneficial superintelligence',
7-
}
16+
title: "Create Next App",
17+
description: "Generated by create next app",
18+
};
819

920
export default function RootLayout({
1021
children,
11-
}: {
12-
children: React.ReactNode
13-
}) {
22+
}: Readonly<{
23+
children: React.ReactNode;
24+
}>) {
1425
return (
1526
<html lang="en">
16-
<body>{children}</body>
27+
<body
28+
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
29+
>
30+
{children}
31+
</body>
1732
</html>
18-
)
33+
);
1934
}

0 commit comments

Comments
 (0)