mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-04-08 06:26:55 +02:00
e60fd442c96be143879581ce784de5fa60af4bfe
Fixes #67 Add a dedicated page to show the currently active relays with their status. * **New Relays Page**: Create `app/relays/page.tsx` to display the currently active relays and their status. Fetch relay status from the relay URLs defined in `app/layout.tsx` and display them in a user-friendly format. * **BottomBar Component**: Update `components/BottomBar.tsx` to include a new link to the relays page in the navigation bar. Ensure the new link is styled consistently with the existing links and update the `isActive` function to include the new relays page. * **Layout File**: Modify `app/layout.tsx` to export the `relayUrls` array for use in the new relays page. Update the `relayUrls` array to use the stored relay URLs if available and pass the relay URLs as props to the `NostrProvider` component. Fetch the relay URLs and update the `relayUrls` array dynamically on login. * **Login Page**: Modify `app/login/page.tsx` to store the relay URLs in local storage when the user logs in. Pass the relay URLs as props to the `NostrProvider` component in `app/layout.tsx`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/lumina-rocks/lumina/issues/67?shareId=XXXX-XXXX-XXXX-XXXX).
lumina.rocks
A social media for images and pictures 📸
Docker
Quickstart
docker run --rm -it -p 3000:3000 ghcr.io/lumina-rocks/lumina:main
or with Docker Compose
docker compose up -d
Umami
Umami is disabled by default.
To enable Umami edit the .env file in the lumina directory.
Then build the Docker Image again and restart the container.
docker compose up -d --build
Languages
TypeScript
94.7%
CSS
4.6%
Dockerfile
0.5%
JavaScript
0.2%