diff --git a/docs/_redirects b/docs/_redirects new file mode 100644 index 0000000..f824337 --- /dev/null +++ b/docs/_redirects @@ -0,0 +1 @@ +/* /index.html 200 \ No newline at end of file diff --git a/docs/about.html b/docs/about.html deleted file mode 100644 index c923b1c..0000000 --- a/docs/about.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - SoftwareManager - About - - - - - - - -
- - -
- -
-

About us

-
-

Simplify searching & downloading

-
- - - - - - - \ No newline at end of file diff --git a/docs/api.html b/docs/api.html deleted file mode 100644 index e55265d..0000000 --- a/docs/api.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - SoftwareManager - API Documentation - - - - - - - -
- - -
- -
-

API Documentation

-

This API allows you to search for posts on rutracker.

- -
-

API URL

-

https://api.michijackson.xyz/

-
-

Endpoint

-

GET/search?q={query}

- -
-
-

Parameter

-

Type

-

Required

-

Description

-
-
-

q

-

String

-

True

-

Search query

-
-
-
- -
-

Example Request

-
-

GET api.michijackson.xyz/search?q=keks

-
-
- - -
-

Response

- -
{
-  "cached": false,
-  "count": 1,
-  "data": [
-    {
-      "author": "Viterrson",
-      "id": 1,
-      "leechers": 0,
-      "seeders": 3,
-      "title": "(Hard - Rock) Keks - Keks - 1983, MP3, 320 kbps",
-      "url": "https://rutracker.org/forum/viewtopic.php?t=3835559"
-    }
-  ],
-  "query": "keks",
-  "success": true
-}
-
- -
- - - - - - - \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index e7eb72a..e993870 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,29 +13,111 @@
- -
+ + +
-
-
-


SoftwareManager

-

Simply search and download software from various sources

- GitHub - Download -
-
-
- +
+
+
+


SoftwareManager

+

Simply search and download software from various sources

+ + GitHub + Download
+
+
+ +
- + +
+
+
+ +
+ +

API Documentation

+

This API allows you to search for posts on rutracker.

+ +
+

API URL

+

https://api.michijackson.xyz/

+
+

Endpoint

+

GET/search?q={query}

+ +
+
+

Parameter

+

Type

+

Required

+

Description

+
+
+

q

+

String

+

True

+

Search query

+
+
+
+ +
+

Example Request

+
+

GET api.michijackson.xyz/search?q=keks

+
+
+ + +
+

Response

+ +
{
+    "cached": false,
+    "count": 1,
+    "data": [
+        {
+        "author": "Viterrson",
+        "id": 1,
+        "leechers": 0,
+        "seeders": 3,
+        "title": "(Hard - Rock) Keks - Keks - 1983, MP3, 320 kbps",
+        "url": "https://rutracker.org/forum/viewtopic.php?t=3835559"
+        }
+    ],
+    "query": "keks",
+    "success": true
+    }
+
+
+ +
+

Docs

+
+

Simplify searching & downloading

+
+ +
+
+

404

+
+

(╯°□°)╯︵ ┻━┻

+ Go Home
@@ -45,6 +127,58 @@ KeksPirates - SoftwareManager + + diff --git a/docs/main.css b/docs/main.css index 016de8f..2d9dc78 100644 --- a/docs/main.css +++ b/docs/main.css @@ -25,7 +25,7 @@ header { user-select: none; } -nav a.btn { +.tab a { display: inline-block; padding: 0.4rem 0.8rem; margin-left: 0.5rem; @@ -35,24 +35,28 @@ nav a.btn { box-shadow: 0 0 6px 1px #dd06cb00; font-family: var(--main-font); transition: background 0.5s, color 0.5s; + cursor: pointer; } -nav a.btn:hover { +nav a:hover { background: #db65d517; color: #ffd1fd; } -nav a.btn.active { +nav a.active { background: #db65d55d; color: #fdd2fc; } -.logo img { - height: 55px; - width: auto; - padding: 0.20rem 0; - margin-top: 1rem; - margin-left: -1rem; +.logo-text h1 { + font-family: var(--main-font); + font-size: 1.2rem; + font-weight: 700; + letter-spacing: -0.02em; + background-image: linear-gradient(147deg, #da84d5, #db65d5); + background-clip: text; + -webkit-background-clip: text; + color: transparent; } main { @@ -295,6 +299,32 @@ pre.api-response { .json-boolean { color: #ffab4a; } .json-integer { color: #66ff80; } +.notfound-frame { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + min-height: 75vh; + + text-align: center; + gap: 10px; +} + +.notfound-title { + font-size: 4.0rem; + line-height: 4rem; + margin-top: 1.8rem; + background-image: linear-gradient(135deg, #c574c1, #b851b2); + background-clip: text; + -webkit-background-clip: text; + color: transparent; +} + +.notfound-subtext { + font-size: 2rem; +} + + @media(max-width: 560px) { header {