Skip to content

Commit

Permalink
Update website and readme links
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Feb 15, 2024
1 parent 3d7acbd commit 72bd649
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 58 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

## Features

- 🔒 Secure by design: Your codes is secured by AES 256bit encryption with your own password.
- 🔒 Secure by design: Your codes are secured by AES 256bit encryption with your own password.
- 🔑 Import codes: Import form any 2FA TOTP QR code or import directly from Google Authenticator.
- ⌨️ Many shortcuts: Easily open Authme with custom shortcuts and the app will start with your system for quick and easy access.
- ⌨️ Many shortcuts: Easily open Authme with custom shortcuts. The app will start with your system for quick and easy access.
- 📡 Completely offline: You own your data, internet is only required for updates.
- 💻 Privacy in mind: Authme is hidden from video capture and screenshots.
- 📃 Easy export and backup: You can export your 2FA codes anytime and you can create a backup of your codes very easily.
Expand All @@ -28,7 +28,7 @@

- Latest release version for users that want a stable and polished experience.

[![Latest release](https://img.shields.io/github/package-json/v/levminer/authme/main?label=Release)](https://tooomm.github.io/github-release-stats/?username=Levminer&repository=authme)
[![Latest release](https://img.shields.io/github/v/release/levminer/authme?label=Release)](https://tooomm.github.io/github-release-stats/?username=Levminer&repository=authme)
[![Download](https://img.shields.io/badge/Windows,%20Linux,%20macOS-download-brightgreen)](https://authme.levminer.com/#downloads)
[![Updated](https://img.shields.io/github/last-commit/levminer/authme/main?color=yellowgreen&label=Updated)](https://github.com/Levminer/authme/releases)

Expand Down
38 changes: 0 additions & 38 deletions website/README.md

This file was deleted.

21 changes: 4 additions & 17 deletions website/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,13 @@
const api = async () => {
try {
await fetch("https://api.levminer.com/api/v1/version/all")
await fetch("https://api.levminer.com/api/v1/authme/releases")
.then((res) => res.json())
.then((data) => {
try {
const alpha_date = new Date(data.authme_alpha_date)
const alpha_year = alpha_date.getFullYear()
const alpha_month = alpha_date.toLocaleString("en-us", { month: "long" })
const alpha_day = alpha_date.toISOString().substring(8, 10)
const alpha_time = `${alpha_date.getHours().toString().padStart(2, "0")}:${alpha_date
.getMinutes()
.toString()
.padStart(2, "0")}`
document.querySelector(
"#downloads-release",
).innerHTML = `Latest release (${data.authme_release_version})`
document.querySelector(
"#downloads-alpha",
).innerHTML = `Latest alpha (${data.authme_alpha_version}) <br> ${alpha_year}. ${alpha_month} ${alpha_day}. ${alpha_time}`
).innerHTML = `Latest release (${data.tag_name})`
} catch (error) {
return console.log(error)
}
Expand Down Expand Up @@ -208,7 +195,7 @@
</div>
<div class="flex-grow">
<h3 class="leading-relaxed text-base text-gray-300">
Your codes is secured by AES 256bit encryption with your own password.
Your codes are secured by AES 256bit encryption with your own password.
</h3>
</div>
</div>
Expand Down Expand Up @@ -276,7 +263,7 @@
</div>
<div class="flex-grow">
<h3 class="leading-relaxed text-base text-gray-300">
Easily open Authme with custom shortcuts and the app will start with your system for
Easily open Authme with custom shortcuts. The app will start with your system for
quick and easy access.
</h3>
</div>
Expand Down

0 comments on commit 72bd649

Please sign in to comment.