Skip to content

Commit 5e23ea8

Browse files
committed
Fix: Render gnoads link -> gnopub link
1 parent def816b commit 5e23ea8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/r/pierre115/gnopub/render.gno

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import (
1010
)
1111

1212
func Render(path string) string {
13-
out := "# GnoADS 📺\n\n"
13+
out := "# GnoPUB 📺\n\n"
1414
out += "### ADS Grid \n\n"
1515

1616
// Path handling
1717
if path == "stats" {
18-
return out + getStats() + "\n\n[← Retour](/r/gnopixel)"
18+
return out + getStats() + "\n\n[← Retour](/r/gnopub)"
1919
}
2020

2121
// Main grid
@@ -26,28 +26,28 @@ func Render(path string) string {
2626

2727
out += "### Step 1: Buy a cell\n\n"
2828
out += "Click on a white cell in the grid or use the BuyCell function:\n\n"
29-
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Buy Cell (0,0)", "/r/pierre115/gnoads$help&func=BuyCell&x=0&y=0") + "\n\n"
29+
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Buy Cell (0,0)", "/r/pierre115/gnopub$help&func=BuyCell&x=0&y=0") + "\n\n"
3030
out += "Replace x and y with your desired coordinates.\n\n"
3131

3232
out += "### Step 2: Update your cell\n\n"
3333
out += "Set the ads URL and label for your cell:\n\n"
34-
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Update Cell (0,0)", "/r/pierre115/gnoads$help&func=UpdateCell&x=0&y=0&url=https://github.com/gnolang/hackerspace/issues/122&label=test") + "\n\n"
34+
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Update Cell (0,0)", "/r/pierre115/gnopub$help&func=UpdateCell&x=0&y=0&url=https://github.com/gnolang/hackerspace/issues/122&label=test") + "\n\n"
3535
out += "- `x`, `y`: coordinates of your cell\n"
3636
out += "- `url`: your advertisement URL (must start with http)\n"
3737
out += "- `label`: text to display\n\n"
3838

3939
out += "### Step 3: Change color\n\n"
4040
out += "Click again on your owned cell to cycle through colors:\n\n"
41-
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Change Color (0,0)", "/r/pierre115/gnoads$help&func=BuyCell&x=0&y=0") + "\n\n"
41+
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Change Color (0,0)", "/r/pierre115/gnopub$help&func=BuyCell&x=0&y=0") + "\n\n"
4242

4343
out += "### Step 4: Sell your cell\n\n"
4444
out += "Release your cell back to the grid:\n\n"
45-
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Sell Cell (0,0)", "/r/pierre115/gnoads$help&func=SellCell&x=0&y=0") + "\n\n"
45+
out += svgbtn.Button(120, 35, "#4caf50", "#ffffff", "Sell Cell (0,0)", "/r/pierre115/gnopub$help&func=SellCell&x=0&y=0") + "\n\n"
4646

4747
// Utility buttons
4848
out += "---\n\n"
4949
out += "## Admin Pannel 🛠️\n\n"
50-
out += svgbtn.DangerButton(100, 30, "Reset", "/r/gnopixel$help&func=reset") + "\n\n"
50+
out += svgbtn.DangerButton(100, 30, "Reset", "/r/gnopub$help&func=reset") + "\n\n"
5151

5252
// Stats
5353
out += getStats()

0 commit comments

Comments
 (0)