Add WordPress Plugin links to navigation and landing page#1022
Add WordPress Plugin links to navigation and landing page#1022
Conversation
Co-authored-by: Klakurka <4713204+Klakurka@users.noreply.github.com>
Co-authored-by: Klakurka <4713204+Klakurka@users.noreply.github.com>
Klakurka
left a comment
There was a problem hiding this comment.
We don't want to be sending people to the github page for the wp plugin. We want to send them to the actual PayButton plugin page on wordpress.com.
Make sure both of the links added go there and not github.
…tHub Co-authored-by: Klakurka <4713204+Klakurka@users.noreply.github.com>
Updated all WordPress plugin links to point to https://wordpress.org/plugins/paybutton/ instead of the GitHub repository. Changes applied to the footer, navbar, and sidebar components. (fc5b268) |
Klakurka
left a comment
There was a problem hiding this comment.
In the sidebar, the icon doesn't seem to work. The link itself works but there's no icon.
… of blocks.png Co-authored-by: Klakurka <4713204+Klakurka@users.noreply.github.com>
Fixed the icon display issue by switching from the oversized blocks.png (819x407px) to the properly sized button-icon.png (200x200px). The WordPress plugin icon should now display correctly in the sidebar. (a3f2224) Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Klakurka
left a comment
There was a problem hiding this comment.
The wordpress icon is still missing from the sidebar. Also, the whole set of sidebar links at the bottom feel a bit "off" - the icon size is smaller than in master and also the light/dark mode toggle icon is positioned a bit high relative to the other links.
…press-icon.png Co-authored-by: Klakurka <4713204+Klakurka@users.noreply.github.com>
Fixed the WordPress icon display issue by creating a properly sized wordpress-icon.png (300x300px) to match the other social media icons. This should resolve both the missing icon issue and the layout positioning problems. (ac7aa9a) Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: Klakurka <4713204+Klakurka@users.noreply.github.com>
…ss.png Co-authored-by: Klakurka <4713204+Klakurka@users.noreply.github.com>
|
We're going to abandon this and do it ourselves but it can be used as a reference for that branch. |
This PR adds links to the PayButton WordPress Plugin in the navigation areas as requested in the issue. The WordPress Plugin link has been added to three strategic locations:
Changes Made
1. Landing Page Footer (
components/LandingPage/Footer.tsx)<Link>component with proper security attributes2. Landing Page Navbar (
components/LandingPage/Navbar.tsx)<Link>component with proper security attributes3. Sidebar (
components/Sidebar/index.tsx)<a>tag consistent with existing social links patternTechnical Details
target="_blank"andrel="noopener noreferrer"Testing
The WordPress plugin link is now available in the misc links at the bottom of the nav when logged in (sidebar) as well as on the landing page as requested.
Fixes #963.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
binaries.prisma.shnode scripts/postinstall.js(dns block)node /home/REDACTED/work/paybutton-server/paybutton-server/node_modules/prisma/build/index.js generate --postinstall "UNABLE_TO_FIND_POSTINSTALL_TRIGGER__ENVAR_MISSING"(dns block)registry.supertokens.iowordpress.orgcurl -s REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.