From c2cde30aa8eebb3552064fbd7da603dfff0706ad Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 28 Nov 2018 21:57:35 -0700 Subject: [PATCH] Adding gitlab link --- server/ui/src/components/home.tsx | 8 ++++---- server/ui/src/components/navbar.tsx | 11 +++++++++-- server/ui/src/index.html | 4 +--- server/ui/src/utils.ts | 4 +++- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/server/ui/src/components/home.tsx b/server/ui/src/components/home.tsx index d04ac74..2904f74 100644 --- a/server/ui/src/components/home.tsx +++ b/server/ui/src/components/home.tsx @@ -1,4 +1,5 @@ import { Component } from 'inferno'; +import { repoUrl } from '../utils'; export class Home extends Component { @@ -11,13 +12,12 @@ export class Home extends Component { } onboard() { - let site: string = "https://gitlab.com/dessalines/torrents.csv"; return (

- Torrents.csv is a collaborative git repository of torrents, consisting of a single, searchable torrents.csv file. Its initially populated with a January 2017 backup of the pirate bay, and new torrents are periodically added from various torrents sites. It comes with a self-hostable webserver, a command line search, and a folder scanner to add torrents.

- Torrents.csv will only store torrents with at least one seeder to keep the file small, will be periodically purged of non-seeded torrents, and sorted by seeders descending.

- To request more torrents, or add your own, go here.

+ Torrents.csv is a collaborative git repository of torrents, consisting of a single, searchable torrents.csv file. Its initially populated with a January 2017 backup of the pirate bay, and new torrents are periodically added from various torrents sites. It comes with a self-hostable webserver, a command line search, and a folder scanner to add torrents.

+ Torrents.csv will only store torrents with at least one seeder to keep the file small, will be periodically purged of non-seeded torrents, and sorted by seeders descending.

+ To request more torrents, or add your own, go here.

Made with Rust, ripgrep, Actix, Inferno, and Typescript.
diff --git a/server/ui/src/components/navbar.tsx b/server/ui/src/components/navbar.tsx index 024a96f..0a260a4 100644 --- a/server/ui/src/components/navbar.tsx +++ b/server/ui/src/components/navbar.tsx @@ -1,5 +1,6 @@ import { Component, linkEvent } from 'inferno'; import { SearchParams } from '../interfaces'; +import { repoUrl } from '../utils'; interface State { @@ -29,8 +30,14 @@ export class Navbar extends Component { return (