From af182e3c6a5c36a04d99c4c93a25ad954b8ac0f9 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 20 Aug 2024 08:52:05 +0100 Subject: [PATCH] refactor: abstract install ngit links so they can be reused accross the site add them to the top of quick start guide as a prereq --- src/lib/components/InstallNgit.svelte | 25 ++++++++++++++++++++++++ src/routes/+page.svelte | 26 ++----------------------- src/routes/ngit/+page.svelte | 28 ++------------------------- src/routes/quick-start/+page.svelte | 11 ++++++++++- 4 files changed, 39 insertions(+), 51 deletions(-) create mode 100644 src/lib/components/InstallNgit.svelte diff --git a/src/lib/components/InstallNgit.svelte b/src/lib/components/InstallNgit.svelte new file mode 100644 index 0000000..6e7080d --- /dev/null +++ b/src/lib/components/InstallNgit.svelte @@ -0,0 +1,25 @@ +
+

+ download binaries and add them to a directory from which they can be run + globally: +

+

+ Linux + Mac + Windows + v1.3.1 +

+

+ alternatively, if you have cargo installed runcargo install ngit +

+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 5d66d71..0d871e4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,6 @@ @@ -61,32 +62,7 @@

Install

-
-

- add the following binary to a directory from which it can be run - globally: -

-

- Linux - Mac - Windows - v1.3.1 -

-

- alternatively, if you have cargo installed runcargo install ngit -

-
+

Commands

run from the your product's git repository:

diff --git a/src/routes/quick-start/+page.svelte b/src/routes/quick-start/+page.svelte index 260e6c5..85cdebb 100644 --- a/src/routes/quick-start/+page.svelte +++ b/src/routes/quick-start/+page.svelte @@ -1,5 +1,6 @@ @@ -8,7 +9,9 @@

-

Quick Start

+

Quick Start

+

pre-requesite: install ngit and git-remote-nostr

+
@@ -18,6 +21,9 @@
+

+ pre-requesite: install ngit and git-remote-nostr +

1. find repository

  • @@ -187,6 +193,9 @@
    +

    + pre-requesite: install ngit and git-remote-nostr +

    1. create a git repo and push to a git server