2 Комити 5ca8af79f4 ... 3527df6fb6

Аутор SHA1 Порука Датум
  Naz 5ca8af79f4 ✨feat: test release пре 1 недеља
  Naz 30e61e506d ✨feat: link to my gogs instance instead of Github пре 2 недеља
2 измењених фајлова са 46 додато и 35 уклоњено
  1. 1 1
      src/routes/+page.svelte
  2. 45 34
      src/routes/download/+page.svelte

+ 1 - 1
src/routes/+page.svelte

@@ -18,7 +18,7 @@
     <Button
       class="text-lg m-1 p-5"
       variant="secondary"
-      href="https://git.rhazesemr.info"
+      href="https://github.rhazesemr.info"
     >
       <span class="fa-solid fa-code-branch"></span>Source Code</Button
     >

+ 45 - 34
src/routes/download/+page.svelte

@@ -8,22 +8,21 @@
   let win_release = {
     title: "Windows Installer",
     description: "RhazesEMR Desktop Client for Windows",
-    msi: "https://sourceforge.net/projects/rhazesemr/files/v0.0.1-dev/rhazesemr-client_0.0.1_x64_en-US.msi/download",
-    exe: "https://sourceforge.net/projects/rhazesemr/files/v0.0.1-dev/rhazesemr-client_0.0.1_x64-setup.exe/download",
+    msi: "",
+    exe: "",
   };
 
   let mac_release = {
     title: "MacOS Installer",
     description: "RhazesEMR Desktop Client for MacOS",
-    dmg: "https://sourceforge.net/projects/rhazesemr/files/v0.0.1-dev/rhazesemr-client_0.0.1_aarch64.dmg/download",
   };
 
   let linux_release = {
     title: "Linux Installer",
     description: "RhazesEMR Desktop Client for Linux",
-    deb: "https://sourceforge.net/projects/rhazesemr/files/v0.0.1-dev/rhazesemr-client_0.0.1_amd64.deb/download",
-    rpm: "https://sourceforge.net/projects/rhazesemr/files/v0.0.1-dev/rhazesemr-client-0.0.1-1.x86_64.rpm/download",
-    appimage: "https://sourceforge.net/projects/rhazesemr/files/v0.0.1-dev/rhazesemr-client_0.0.1_amd64.AppImage/download",
+    deb: "",
+    rpm: "",
+    appimage: "",
   };
 
   let ios_release = {
@@ -34,7 +33,7 @@
   let android_release = {
     title: "Android Installer",
     description: "RhazesEMR Mobile Client for Android",
-    apk: "https://sourceforge.net/projects/rhazesemr/files/v0.0.1-dev/app-universal-release.apk/download",
+    apk: "",
   };
 
   let github_release = "https://github.com/RhazesEMR/rhazesemr-client/releases";
@@ -57,14 +56,17 @@
       </Card.Header>
       <Card.Content class="grid gap-4">
         <div class="flex justify-center pb-4">
-          <i class="fa-brands fa-windows text-9xl"></i>
-        </div>
-        <div class="flex flex-grow justify-center">
-          <Button class="w-1/2 mr-1" href={win_release.exe}>
-            <Download /> EXE
-          </Button>
-          <Button class="w-1/2" href={win_release.msi}><Download /> MSI</Button>
+          <i class="animate-pulse fa-brands fa-windows text-9xl"></i>
         </div>
+        <!-- <div class="flex flex-grow justify-center"> <Button class="w-1/2 mr-1" href={win_release.exe}> <Download /> EXE </Button> <Button class="w-1/2" href={win_release.msi}> <Download /> MSI </Button> </div> -->
+        <button
+          onclick={() =>
+            toast.warning("Not available yet", {
+              description: "this release is still in need for further testing",
+            })}
+        >
+          <Button class="w-full" disabled>Coming soon...</Button>
+        </button>
       </Card.Content>
       <Card.Footer>
         <Button class="w-full" variant="secondary" href={github_release}
@@ -80,11 +82,17 @@
       </Card.Header>
       <Card.Content class="grid gap-4">
         <div class="flex justify-center pt-4">
-          <i class="fa-brands fa-android text-9xl"></i>
+          <i class="animate-pulse fa-brands fa-android text-9xl"></i>
         </div>
-        <Button class="w-full" href={android_release.apk}>
-          <Download /> APK
-        </Button>
+        <!-- <Button class="w-full" href={android_release.apk}> <Download /> APK </Button> -->
+        <button
+          onclick={() =>
+            toast.warning("Not available yet", {
+              description: "this release is still in need for further testing",
+            })}
+        >
+          <Button class="w-full" disabled>Coming soon...</Button>
+        </button>
       </Card.Content>
       <Card.Footer>
         <Button class="w-full" variant="secondary" href={github_release}
@@ -100,19 +108,17 @@
       </Card.Header>
       <Card.Content class="grid gap-4">
         <div class="flex justify-center pt-2 pb-2">
-          <i class="fa-brands fa-linux text-9xl"></i>
-        </div>
-        <div class="flex flex-grow justify-center">
-          <Button class="w-1/3 mr-1" href={linux_release.deb}>
-            <Download /> DEB
-          </Button>
-          <Button class="w-1/3 mr-1" href={linux_release.rpm}>
-            <Download /> RPM
-          </Button>
-          <Button class="w-1/3" href={linux_release.appimage}>
-            <Download /> AppImage
-          </Button>
+          <i class="animate-pulse fa-brands fa-linux text-9xl"></i>
         </div>
+        <!-- <div class="flex flex-grow justify-center"> <Button class="w-1/3 mr-1" href={linux_release.deb}> <Download /> DEB </Button> <Button class="w-1/3 mr-1" href={linux_release.rpm}> <Download /> RPM </Button> <Button class="w-1/3" href={linux_release.appimage}> <Download /> AppImage </Button> </div> -->
+        <button
+          onclick={() =>
+            toast.warning("Not available yet", {
+              description: "this release is still in need for further testing",
+            })}
+        >
+          <Button class="w-full" disabled>Coming soon...</Button>
+        </button>
       </Card.Content>
       <Card.Footer>
         <Button class="w-full" variant="secondary" href={github_release}
@@ -128,11 +134,16 @@
       </Card.Header>
       <Card.Content class="grid gap-4">
         <div class="flex justify-center pt-2 pb-2">
-          <i class="fa-brands fa-apple text-9xl"></i>
+          <i class="animate-pulse fa-brands fa-apple text-9xl"></i>
         </div>
-        <Button class="w-full" href={mac_release.dmg}>
-          <Download /> DMG
-        </Button>
+        <button
+          onclick={() =>
+            toast.warning("Not available yet", {
+              description: "this release is still in need for further testing",
+            })}
+        >
+          <Button class="w-full" disabled>Coming soon...</Button>
+        </button>
       </Card.Content>
       <Card.Footer>
         <Button class="w-full" variant="secondary" href={github_release}