From b503d1d75c214225e4b7992a363672d58de0066d Mon Sep 17 00:00:00 2001 From: pacnpal <183241239+pacnpal@users.noreply.github.com> Date: Sat, 15 Feb 2025 22:49:40 -0500 Subject: [PATCH] update README and index.html: modify example URLs and enhance button styling --- README.md | 12 ++++++------ index.html | 19 ++++++++++++------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 6d65dff..ea1ec4e 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ A simple, standalone web app that converts protocol URLs (like steam://) to shar The app is completely self-contained in a single `index.html` file. You can host it anywhere: - GitHub Pages -- Cloudflare Compute -- Neocities +- Netlify +- Vercel - Any web hosting service that can serve static files ## Features @@ -40,12 +40,12 @@ The app is completely self-contained in a single `index.html` file. You can host 1. Using the web interface at [steadirect.com](https://steadirect.com), or by creating URLs directly: ``` - https://steadirect.com/?url=steam%3A%2F%2Fjoinlobby%2F123456%2F987654321 + https://steadirect.com/?url=steam://joinlobby/1131190/109775241747665514 ``` 2. When someone clicks the generated link, the app automatically redirects them to the original protocol URL: ``` - steam://joinlobby/123456/987654321 + steam://joinlobby/1131190/109775241747665514 ``` ## Examples @@ -53,13 +53,13 @@ The app is completely self-contained in a single `index.html` file. You can host The converter works with any protocol URL, for example: ``` -steam://joinlobby/123456/987654321 +steam://joinlobby/1131190/109775241747665514 discord://discord.com/channels/123456789 ``` Generated shareable link: ``` -https://steadirect.com/?url=steam%3A%2F%2Fjoinlobby%2F123456%2F987654321 +https://steadirect.com/?url=steam://joinlobby/1131190/109775241747665514 ``` The app can also be self-hosted - it will automatically use whatever domain it's running on to generate the correct links. diff --git a/index.html b/index.html index 25ffa28..3bd331c 100644 --- a/index.html +++ b/index.html @@ -76,9 +76,11 @@ } button.copy-button { background: var(--copy-button-bg); - padding: 6px 12px; - margin-left: 10px; - font-size: 0.9em; + padding: 8px 16px; + margin-left: 15px; + font-size: 1em; + min-width: 80px; + white-space: nowrap; } button.copy-button:hover { background: var(--copy-button-hover); @@ -163,9 +165,8 @@
You can also create links directly by adding the URL parameter:
-Format: https://steadirect.com/?url=YOUR_PROTOCOL_URL
Example:
- https://steadirect.com/?url=steam%3A%2F%2Fjoinlobby%2F123456%2F987654321
Format: https://steadirect.com/?url=steam://joinlobby/11590/1097752417465514
Just add ?url= followed by your protocol URL to create a shareable link instantly!