]> git.lizzy.rs Git - frontend-next.git/commitdiff
feat(routes): mention graphql api
authorFuwn <contact@fuwn.me>
Sun, 20 Mar 2022 09:52:29 +0000 (02:52 -0700)
committerFuwn <contact@fuwn.me>
Sun, 20 Mar 2022 09:52:29 +0000 (02:52 -0700)
src/routes/api.svelte
src/routes/index.svelte

index e377783bf04848781205050964d6f0c0a27442fe..7c5a2314d41940d4c6233af3d894b84358a57f9c 100644 (file)
@@ -45,6 +45,14 @@ SPDX-License-Identifier: GPL-3.0-only -->
     <a href="https://api.senpy.club" target="_blank">https://api.senpy.club</a>.
   </p>
 
+  <p>
+    The Senpy Club API can also be accessed through GraphQL:
+    <a href="https://github.com/senpy-club/graphql-api" target="_blank">
+      GitHub
+    </a>,
+    <a href="https://graphql.senpy.club/playground">Playground</a>
+  </p>
+
   {#if !complete}
     <p>Fetching API README...</p>
   {:else}
index e178912c9aa43fe9a3f902589cc76463e8537099..d8e550e5d5a7573b2acf6807d15e5181396decce 100644 (file)
@@ -56,24 +56,36 @@ SPDX-License-Identifier: GPL-3.0-only -->
   <p>Check out these other [The] Senpy Club-related projects!</p>
   <ul>
     <li>
-      <a href="https://github.com/senpy-club/api-worker">API</a> &mdash; The Senpy
-      Club API
+      <a href="https://github.com/senpy-club/api-worker" target="_blank">API</a>
+      &mdash; The Senpy Club API
     </li>
     <li>
-      <a href="https://github.com/senpy-club/frontend-next">Frontend</a> &mdash;
-      You are here!
+      <a href="https://github.com/senpy-club/frontend-next" target="_blank">
+        Frontend
+      </a> &mdash; You are here!
     </li>
     <li>
-      <a href="https://github.com/senpy-club/cli">CLI</a> &mdash; Access The Senpy
-      Club API from your terminal! (and export it to files too!)
+      <a href="https://github.com/senpy-club/cli" target="_blank">CLI</a> &mdash;
+      Access The Senpy Club API from your terminal! (and export it to files too!)
     </li>
     <li>
-      <a href="https://docs.rs/senpy"><code>senpy-rs</code></a> &mdash; Access
-      The Senpy Club API from <a href="https://www.rust-lang.org/">Rust</a>!
+      <a href="https://docs.rs/senpy" target="_blank"><code>senpy-rs</code></a>
+      &mdash; Access The Senpy Club API from
+      <a href="https://www.rust-lang.org/">Rust</a>!
     </li>
     <li>
-      <a href="https://docs.rs/senpy-ffi"><codE>senpy-ffi</codE></a> &mdash; Access
-      The Senpy Club API from any programming language!
+      <a href="https://docs.rs/senpy-ffi" target="_blank">
+        <code>senpy-ffi</code>
+      </a>
+      &mdash; Access The Senpy Club API from any programming language!
+    </li>
+    <li>
+      <a href="https://github.com/senpy-club/graphql-api" target="_blank">
+        GraphQL API
+      </a>
+      &mdash; GraphQL access to The Senpy Club API! (<a
+        href="https://graphql.senpy.club/playground">Playground</a
+      >)
     </li>
   </ul>
 </section>