From 81f27581c5cd08216c2e806d6a42657f996f9cac Mon Sep 17 00:00:00 2001 From: Tre Fong Date: Sat, 11 Jul 2026 16:40:38 -0500 Subject: [PATCH] fix(ui): locale dropdown on mobile + how-tipping Dogepedia (#163 #113) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #163: Keep language switcher from wrapping/overflowing on small screens — position relative/fixed dropdown, flag-only on narrow widths, header__right nowrap. #113: Add "How does Dogecoin tipping work?" article and link it from Dogepedia wallets section (CalisCihan request). Also include recover-a-lost-wallet if still missing from main so the index link is not a 404. --- content/en/dogepedia.md | 1 + content/en/dogepedia/_index.md | 1 + .../dogepedia/articles/how-tipping-works.md | 57 ++++++++++++++++ .../articles/recover-a-lost-wallet.md | 65 +++++++++++++++++++ .../hello-friend-ng/assets/scss/_header.scss | 1 + .../hello-friend-ng/assets/scss/_locale.scss | 44 ++++++++++++- 6 files changed, 167 insertions(+), 2 deletions(-) create mode 100644 content/en/dogepedia/articles/how-tipping-works.md create mode 100644 content/en/dogepedia/articles/recover-a-lost-wallet.md diff --git a/content/en/dogepedia.md b/content/en/dogepedia.md index a1500cb69..83c4e69f2 100644 --- a/content/en/dogepedia.md +++ b/content/en/dogepedia.md @@ -24,6 +24,7 @@ Your journey with Dogecoin might start here. A wallet application allows you to - [How do I backup my wallet?](/dogepedia/articles/how-to-backup-a-wallet) - [What are the benefits of a hardware wallet, and how to use it with Doge?](/dogepedia/articles/dogecoin-hardware-wallets) - [How do I recover a lost wallet?](/dogepedia/articles/recover-a-lost-wallet) +- [How does Dogecoin tipping work?](/dogepedia/articles/how-tipping-works) - [What is a wallet, really?](/dogepedia/articles/what-is-a-wallet) ### Using your Doge {#using-doge} diff --git a/content/en/dogepedia/_index.md b/content/en/dogepedia/_index.md index a4a88bb02..e427eb639 100644 --- a/content/en/dogepedia/_index.md +++ b/content/en/dogepedia/_index.md @@ -34,6 +34,7 @@ Your journey with Dogecoin might start here. A wallet application allows you to - [How do I backup my wallet?](/dogepedia/articles/how-to-backup-a-wallet) - [What are the benefits of a hardware wallet, and how to use it with Doge?](/dogepedia/articles/dogecoin-hardware-wallets) - [How do I recover a lost wallet?](/dogepedia/articles/recover-a-lost-wallet) +- [How does Dogecoin tipping work?](/dogepedia/articles/how-tipping-works) - [What is a wallet, really?](/dogepedia/articles/what-is-a-wallet) ### Using your Doge {#using-doge} diff --git a/content/en/dogepedia/articles/how-tipping-works.md b/content/en/dogepedia/articles/how-tipping-works.md new file mode 100644 index 000000000..836c0e65a --- /dev/null +++ b/content/en/dogepedia/articles/how-tipping-works.md @@ -0,0 +1,57 @@ ++++ +title = "How does Dogecoin tipping work?" +date = "2026-07-11" +type = "article" + +[ author ] + name = "Dogecoin" ++++ + +Tipping with Dogecoin is one of the simplest ways to say **thanks** online: send a small amount of DOGE to someone’s address when they help you, make something cool, or just made your day. + +### What you need + +1. A [Dogecoin wallet](/dogepedia/articles/how-do-i-get-a-wallet) you control (or an exchange account, though self-custody is better for frequent tips). +2. A little DOGE ([how to get Dogecoin](/dogepedia/articles/get-dogecoin)). +3. The recipient’s **Dogecoin address** (or QR code). + +### How to tip (basic flow) + +1. Open your wallet and choose **Send**. +2. Paste the address or scan the QR. +3. Enter a small amount (tips are often tiny — that is fine; fees on Dogecoin are usually low). +4. Confirm and wait for the network to include the transaction. +5. Optionally share the transaction ID so the other person can verify it on a block explorer. + +Related: [Send and receive Dogecoin](/dogepedia/articles/send-and-receive-dogecoin) + +### Good places people tip + +- Creators, developers, and open-source maintainers who post a tip address. +- Community helpers who answer questions. +- Merchants or projects that publish a DOGE address for donations. + +**Never** tip to an address that appeared only in a random DM or “support” chat unless you already trust the person. + +### Tips vs buying something + +| Tips | Paying a merchant | +|------|-------------------| +| Thank-you / donation | Goods or services | +| Often one-off small amount | Agreed price | +| Address may be a tip jar | Prefer invoice / checkout when available | + +Businesses that want structured DOGE payments should read [How can my business accept Dogecoin?](/dogepedia/articles/how-can-my-business-accept-dogecoin). + +### Safety checklist + +- Double-check the first and last characters of the address before sending. +- Start with a tiny test tip if the amount is large. +- Keep backups of your wallet ([backup guide](/dogepedia/articles/how-to-backup-a-wallet)). +- Never share seed phrases or private keys — real tips never require them. + +### Why tipping fits Dogecoin + +Dogecoin was built for friendly, everyday transfers. Low friction and community culture make micro-tips practical. If someone fixed a bug, wrote a guide, or helped you set up a node — a tip is a shibe way to pay it forward. + +See also: [How can I help Doge?](/dogepedia/articles/how-can-i-help-doge) · [Join the community](/dogepedia/articles/join-the-dogecoin-community) diff --git a/content/en/dogepedia/articles/recover-a-lost-wallet.md b/content/en/dogepedia/articles/recover-a-lost-wallet.md new file mode 100644 index 000000000..36e26b4b7 --- /dev/null +++ b/content/en/dogepedia/articles/recover-a-lost-wallet.md @@ -0,0 +1,65 @@ ++++ +title = "How do I recover a lost wallet?" +date = "2026-07-11" +type = "article" + +[ author ] + name = "Dogecoin" ++++ + +Losing access to a Dogecoin wallet is stressful, but recovery is often possible **if you still have a backup** of the private keys, a seed phrase, or a `wallet.dat` file. Without those, the coins cannot be recovered by anyone — not Dogecoin developers, not exchanges, and not the Foundation. + +### If you have a seed phrase (mnemonic) + +Many modern wallets (mobile, hardware, and some desktop apps) generate a **seed phrase** (usually 12 or 24 words). + +1. Download the **official** wallet app from the manufacturer or from [dogecoin.com wallets](/wallets/) — never from an unsolicited link. +2. Choose **Restore** / **Import** / **Recover wallet**. +3. Enter the seed words in the exact order, and any optional passphrase if you set one. +4. Wait for the wallet to resync and show balances. + +**Security:** never type your seed into a website, never photograph it for cloud chat, and never share it with "support" strangers. + +Related: [How do I backup a Dogecoin wallet?](/dogepedia/articles/how-to-backup-a-wallet) + +### If you used Dogecoin Core and have `wallet.dat` + +1. Install a current [Dogecoin Core](https://github.com/dogecoin/dogecoin/releases) release for your OS. +2. **Before first launch** (or while Core is fully quit), place your backup `wallet.dat` in the Dogecoin data directory (see Core docs for your platform), or use the restore/import workflow described in the backup guide. +3. Start Dogecoin Core and allow the blockchain to sync (or use a pruned node if you know what you are doing). +4. Check balances after the wallet finishes rescanning. + +If the wallet was encrypted, you still need the encryption password. + +Full steps: [How do I backup a Dogecoin wallet?](/dogepedia/articles/how-to-backup-a-wallet) + +### If you used a hardware wallet + +Hardware wallets are usually recovered with the seed phrase on a **new** device or software wallet from the same vendor: + +1. Get a replacement device or trusted software wallet. +2. Use the vendor’s **restore from seed** flow. +3. Verify receive addresses against notes you made earlier when possible. + +See: [Dogecoin hardware wallets](/dogepedia/articles/dogecoin-hardware-wallets) + +### If you only remember an exchange login + +Coins held on an exchange are controlled by the exchange account, not a personal seed: + +1. Use the exchange’s official password-reset and support channels. +2. Enable 2FA once you regain access. +3. For long-term holdings, consider withdrawing to a wallet **you** control ([get a wallet](/dogepedia/articles/how-do-i-get-a-wallet)). + +### If you have nothing left + +Without a seed, private keys, or a `wallet.dat` (and password if encrypted), the coins cannot be recovered. Dogecoin is designed so that no central party can reset ownership. + +### Next steps after recovery + +- Create a **new backup** immediately ([backup guide](/dogepedia/articles/how-to-backup-a-wallet)). +- Store seed / backups offline in more than one safe place. +- Prefer a [hardware wallet](/dogepedia/articles/dogecoin-hardware-wallets) for larger amounts. +- Learn safe [send and receive](/dogepedia/articles/send-and-receive-dogecoin) habits. + +If you are still stuck, ask in community channels listed under [join the Dogecoin community](/dogepedia/articles/join-the-dogecoin-community) — but **never** share private keys or seed phrases. diff --git a/themes/hello-friend-ng/assets/scss/_header.scss b/themes/hello-friend-ng/assets/scss/_header.scss index 6d7523411..eb2932bb6 100644 --- a/themes/hello-friend-ng/assets/scss/_header.scss +++ b/themes/hello-friend-ng/assets/scss/_header.scss @@ -18,6 +18,7 @@ display: flex; flex-direction: row; align-items: center; + flex-wrap: nowrap; /* keep locale + menu trigger on one row (#163) */ @media #{$media-size-tablet} { flex-direction: row-reverse; diff --git a/themes/hello-friend-ng/assets/scss/_locale.scss b/themes/hello-friend-ng/assets/scss/_locale.scss index b33d17078..c049a77b5 100644 --- a/themes/hello-friend-ng/assets/scss/_locale.scss +++ b/themes/hello-friend-ng/assets/scss/_locale.scss @@ -4,6 +4,9 @@ text-transform: uppercase; min-width: 113px; text-align: left; + position: relative; /* anchor dropdown so it does not shove the navbar (#163) */ + flex-shrink: 0; + z-index: 110; a { text-decoration: none !important; @@ -15,6 +18,13 @@ text-decoration: none; } + .current-locale { + display: inline-flex; + align-items: center; + gap: 4px; + white-space: nowrap; + } + &:hover { cursor: pointer; @@ -34,8 +44,11 @@ margin-top: 5px; display: block; position: absolute; + right: 0; /* keep under the control on narrow screens */ + left: auto; width: 110px; padding: 10px 0px 10px 0px; + z-index: 120; &::before { content:""; @@ -43,7 +56,8 @@ height: 0px; width: 0px; top: -15px; - left: 20px; + left: auto; + right: 20px; border-width: 10px; border-style: solid; transform: rotate(90deg); @@ -77,5 +91,31 @@ .locale { min-width: 0; + margin-left: 0; + margin-right: 4px; + } + + /* Hide language code badge on small screens — flag only (#163) */ + .locale .current-locale .badge { + display: none; } -} \ No newline at end of file +} + +/* When the hamburger menu is open, keep locale on the same row as icons */ +@media screen and (max-width: 768px) { + .header__right { + flex-wrap: nowrap; + max-width: calc(100vw - 80px); + } + + .locale:hover .locale-list { + position: fixed; + top: 56px; + right: 12px; + left: auto; + width: min(160px, calc(100vw - 24px)); + max-height: 60vh; + overflow-y: auto; + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); + } +}