mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-03-23 13:24:21 +00:00
Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
72
README.md
72
README.md
@@ -1,36 +1,46 @@
|
|||||||
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).
|
# 🎮 TIPILAN
|
||||||
|
|
||||||
## Getting Started
|
**TIPILAN** is the official web platform for the TipiLAN LAN event — built using [Next.js](https://nextjs.org) and powered by the lightning-fast [Bun](https://bun.sh) runtime.
|
||||||
|
|
||||||
First, run the development server:
|
> ⚠️ This is a work in progress! Contributions welcome.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚀 Features
|
||||||
|
|
||||||
|
- Event information & schedule
|
||||||
|
- Stream
|
||||||
|
- Responsive dark-themed UI
|
||||||
|
- Built with Next.js, styled with Tailwind (if applicable), powered by Bun
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📦 Tech Stack
|
||||||
|
|
||||||
|
- [Next.js](https://nextjs.org/)
|
||||||
|
- [Bun](https://bun.sh/)
|
||||||
|
- [TypeScript](https://www.typescriptlang.org/)
|
||||||
|
- [React](https://reactjs.org/)
|
||||||
|
- [Tailwind CSS](https://tailwindcss.com/) *(if used)*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🛠️ Setup Instructions
|
||||||
|
|
||||||
|
📖 See [`docs/SETUP.md`](./docs/SETUP.md) for a full setup guide on:
|
||||||
|
|
||||||
|
- ✅ Windows (native)
|
||||||
|
- 🐧 Windows with WSL
|
||||||
|
- 🐧 Linux (Ubuntu, Arch, Fedora, etc.)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🧪 Scripts
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run dev
|
bun dev # Run development server
|
||||||
# or
|
bun run build # Build for production
|
||||||
yarn dev
|
bun start # Start production server
|
||||||
# or
|
|
||||||
pnpm dev
|
|
||||||
# or
|
|
||||||
bun dev
|
|
||||||
```
|
|
||||||
|
|
||||||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
bun test # Run tests (if configured)
|
||||||
|
bun run lint # Run linter (if configured)
|
||||||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
## Learn More
|
|
||||||
|
|
||||||
To learn more about Next.js, take a look at the following resources:
|
|
||||||
|
|
||||||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
|
||||||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
||||||
|
|
||||||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
|
||||||
|
|
||||||
## Deploy on Vercel
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
|
||||||
|
|||||||
53
docs/SETUP.md
Normal file
53
docs/SETUP.md
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Setup
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
- Git
|
||||||
|
- Bun
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
1. Clone the repository:
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/Lapikud/tipilan.git
|
||||||
|
```
|
||||||
|
2. Install bun:
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://bun.sh/install | bash
|
||||||
|
```
|
||||||
|
3. Install dependencies:
|
||||||
|
```bash
|
||||||
|
cd tipilan
|
||||||
|
bun install
|
||||||
|
```
|
||||||
|
4. Run the application:
|
||||||
|
```bash
|
||||||
|
bun run dev
|
||||||
|
```
|
||||||
|
5. Build the application:
|
||||||
|
```bash
|
||||||
|
bun run build
|
||||||
|
```
|
||||||
|
## Accessing the Application
|
||||||
|
- The application is now running at `http://localhost:3000`.
|
||||||
|
|
||||||
|
## Git branch
|
||||||
|
- The current production branch is `main`.
|
||||||
|
- Please make sure you make changes in your branch before creating a pull request.
|
||||||
|
### Making git branch
|
||||||
|
- Create a new branch:
|
||||||
|
```bash
|
||||||
|
git checkout -b <branch-name>
|
||||||
|
```
|
||||||
|
- Commit your changes:
|
||||||
|
```bash
|
||||||
|
git add .
|
||||||
|
git commit -m "<commit-message>"
|
||||||
|
```
|
||||||
|
- Push your branch:
|
||||||
|
```bash
|
||||||
|
git push origin <branch-name>
|
||||||
|
```
|
||||||
|
- Create a pull request:
|
||||||
|
```bash
|
||||||
|
git pull-request
|
||||||
|
```
|
||||||
@@ -4,7 +4,7 @@ export default function Tourney() {
|
|||||||
return (
|
return (
|
||||||
<div className="flex flex-col min-h-[90vh] p-12 pt-18">
|
<div className="flex flex-col min-h-[90vh] p-12 pt-18">
|
||||||
<h1 className={`text-5xl sm:text-6xl ${vipnagorgialla.className} font-bold italic uppercase text-[#2A2C3F] dark:text-[#EEE5E5] mt-8 mb-4`}>Turniirid</h1>
|
<h1 className={`text-5xl sm:text-6xl ${vipnagorgialla.className} font-bold italic uppercase text-[#2A2C3F] dark:text-[#EEE5E5] mt-8 mb-4`}>Turniirid</h1>
|
||||||
<p className="text-2xl text-[#2A2C3F] dark:text-[#EEE5E5]">Kui tahate oma oskusi proovile panna siis vaadake siia tagasi! Rohkem infot lähiajal.</p>
|
<p className="text-2xl text-[#2A2C3F] dark:text-[#EEE5E5]">Kui tahate oma oskusi proovile panna, siis vaadake siia tagasi! Rohkem infot lähiajal.</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user