diff --git a/website/scripts/main-menu.mjs b/website/scripts/main-menu.mjs index dbe60c06..3bd56c7d 100644 --- a/website/scripts/main-menu.mjs +++ b/website/scripts/main-menu.mjs @@ -1,5 +1,5 @@ export const MAIN_MENU=[["Home","https://www.dunerealms.com/","nav-home-v2.webp"],["Discover","https://wiki.dunerealms.com/","nav-manual-v2.webp"],["Community","https://forums.dunerealms.com/","nav-boards-v2.webp"],["Trade","https://www.dunerealms.com/exchange.html","nav-exchange-v2.webp"],["The realm","https://www.dunerealms.com/realm-hub.html","nav-clan-v2.webp"],["My Account","https://cp.dunerealms.com/","nav-account-v2.webp"]]; -export const MAIN_MENU_GROUPS={"Discover":[["Explore worlds","https://www.dunerealms.com/#worlds","nav-home-v2.webp"],["New player guide","https://wiki.dunerealms.com/","nav-manual-v2.webp"]],"Community":[["Forums","https://forums.dunerealms.com/","nav-boards-v2.webp"],["Discord","https://www.dunerealms.com/discord.html","nav-discord-v2.webp"],["People of the realm","https://www.dunerealms.com/staff.html","nav-staff-v2.webp"],["News & updates","https://www.dunerealms.com/news-archive.html","nav-boards-v2.webp"],["Events","https://cp.dunerealms.com/#events/events-calendar","nav-home-v2.webp"],["Latest bans & appeals","https://www.dunerealms.com/community-records.html","nav-support-v2.webp"]],"Trade":[["Player Exchange","https://www.dunerealms.com/exchange.html","nav-exchange-v2.webp"],["Equipment & kits","https://www.dunerealms.com/exchange.html?type=kits","imperial-atelier-v1.webp"],["Imperial Postbank","https://cp.dunerealms.com/#bank/bank-overview","imperial-postbank-v2.png"],["Community shop","https://shop.dunerealms.com/","nav-shop-v1.webp"]],"The realm":[["Clans","https://clans.dunerealms.com/","nav-clan-v2.webp"],["Companies","https://corp.dunerealms.com/","exchange-company-jobs-v1.png"],["Politics & offices","https://www.dunerealms.com/government.html","seals/office-landsraad.png"]],"My Account":[["My profile","https://cp.dunerealms.com/","nav-account-v2.webp"],["Mail","https://cp.dunerealms.com/#post/mail-inbox","nav-support-v2.webp"],["Quests","https://clans.dunerealms.com/#quests/quests","exchange-quests-v1.png"],["Support","https://support.dunerealms.com/","nav-support-v2.webp"],["Staff sign in","https://cp.dunerealms.com/#bureau/user-management","nav-staff-v2.webp"]]}; +export const MAIN_MENU_GROUPS={"Discover":[["Explore worlds","https://www.dunerealms.com/#worlds","nav-home-v2.webp"],["New player guide","https://wiki.dunerealms.com/","nav-manual-v2.webp"]],"Community":[["Forums","https://forums.dunerealms.com/","nav-boards-v2.webp"],["Discord","https://www.dunerealms.com/discord.html","nav-discord-v2.webp"],["People of the realm","https://www.dunerealms.com/staff.html","nav-staff-v2.webp"],["News & updates","https://www.dunerealms.com/news-archive.html","nav-boards-v2.webp"],["Events","https://cp.dunerealms.com/#events/events-calendar","nav-home-v2.webp"],["Latest bans & appeals","https://www.dunerealms.com/community-records.html","nav-support-v2.webp"]],"Trade":[["Player Exchange","https://www.dunerealms.com/exchange.html","nav-exchange-v2.webp"],["Equipment & kits","https://www.dunerealms.com/exchange.html?type=kits","imperial-atelier-v1.webp"],["Imperial Postbank","https://cp.dunerealms.com/#bank/bank-overview","imperial-postbank-v2.png"],["Community shop","https://shop.dunerealms.com/","nav-shop-v1.webp"]],"The realm":[["Clans","https://www.dunerealms.com/realm-hub.html#clan","nav-clan-v2.webp"],["Companies","https://www.dunerealms.com/realm-hub.html#company","exchange-company-jobs-v1.png"],["Politics & offices","https://www.dunerealms.com/realm-hub.html#politics","seals/office-landsraad.png"]],"My Account":[["My profile","https://cp.dunerealms.com/","nav-account-v2.webp"],["Mail","https://cp.dunerealms.com/#post/mail-inbox","nav-support-v2.webp"],["Quests","https://clans.dunerealms.com/#quests/quests","exchange-quests-v1.png"],["Support","https://support.dunerealms.com/","nav-support-v2.webp"],["Staff sign in","https://cp.dunerealms.com/#bureau/user-management","nav-staff-v2.webp"]]}; export const menuLeafLinks=rows=>rows.flatMap(row=>Array.isArray(row[3])?menuLeafLinks(row[3]):[row]); export const ALL_MENU_LINKS=[...MAIN_MENU,...menuLeafLinks(Object.values(MAIN_MENU_GROUPS).flat())].filter((row,i,rows)=>rows.findIndex(r=>r[1]===row[1])===i); export function canonicalMenuHref(value){const u=new URL(value,'https://www.dunerealms.com');if(u.hostname==='dunerealms.com')u.hostname='www.dunerealms.com';if(u.hostname==='www.dunerealms.com'&&/^\/(manual|wiki)\.html$/.test(u.pathname))return'https://wiki.dunerealms.com/';if(u.hostname==='cp.dunerealms.com'&&u.pathname==='/'){if(u.hash==='#shop')return'https://shop.dunerealms.com/';if(u.hash==='#exchange')return'https://www.dunerealms.com/exchange.html';}if(['forums','support','cp','clans','corp','wiki'].some(h=>u.hostname===h+'.dunerealms.com'))return u.origin+'/';const kits=u.pathname==='/exchange.html'&&/^kits(?:-(?:clan|office|player|legendary))?$/.test(u.searchParams.get('type')||'');return u.origin+(u.pathname==='/index.html'?'/':u.pathname)+(kits?'?type=kits':'');} diff --git a/website/web/community-records.html b/website/web/community-records.html index adfabc02..37f7d2d3 100644 --- a/website/web/community-records.html +++ b/website/web/community-records.html @@ -5,7 +5,7 @@
MINECRAFT / JAVA + BEDROCKSupportSign inCreate account
DuneRealms · The Quest for Tavren II Aedrecht
- +
COMMUNITY · THE PUBLIC REGISTER

Latest bans & appeals

The latest public moderation records and appeal decisions.
Questions about your own case? The support team can help.

Contact support →
THE GATES ARE OPEN

Welcome to the realm.

You bring the story. We'll bring the worlds.

  1. Open Minecraft, then choose Multiplayer.
  2. Choose Add Server and enter the address below.
  3. Save, join, and begin your journey.

Need a hand? Read the player guide →

diff --git a/website/web/exchange.html b/website/web/exchange.html index f7a5b5f2..f13ee741 100644 --- a/website/web/exchange.html +++ b/website/web/exchange.html @@ -5,7 +5,7 @@
MINECRAFT / JAVA + BEDROCKSupportSign inCreate account
DuneRealms · The Quest for Tavren II Aedrecht
- +
VAERKRING · THE STARPORT

The Exchange

Your next discovery. Your next opportunity.
Trade goods, find your people and make your mark.

Player goods, organisation kits and opportunities. One place to browse.My listings & purchases →

Opening the Exchange…

THE GATES ARE OPEN

Welcome to the realm.

You bring the story. We'll bring the worlds.

  1. Open Minecraft, then choose Multiplayer.
  2. Choose Add Server and enter the address below.
  3. Save, join, and begin your journey.

Need a hand? Read the player guide →

diff --git a/website/web/index.html b/website/web/index.html index efbba4c3..b43941f8 100644 --- a/website/web/index.html +++ b/website/web/index.html @@ -5,7 +5,7 @@
MINECRAFT / JAVA + BEDROCKSupportSign inCreate account
DuneRealms · The Quest for Tavren II Aedrecht
- +
YOUR NEXT CHAPTER STARTS HERE

Your House.
Your destiny.

Explore worlds. Build alliances.
Write a story worth telling.

New player guide
Five worlds. One shared universe.
THE QUEST FOR TAVREN II AEDRECHT
@@ -14,7 +14,7 @@
Checking network
- +

Latest dispatches

All news
FROM THE IMPERIAL DISPATCH

Opening the latest news…

diff --git a/website/web/realm-hub.html b/website/web/realm-hub.html index bc4883cf..f59b7e77 100644 --- a/website/web/realm-hub.html +++ b/website/web/realm-hub.html @@ -5,7 +5,7 @@
MINECRAFT / JAVA + BEDROCKSupportSign inCreate account
DuneRealms · The Quest for Tavren II Aedrecht
- +

YOUR PLACE IN THE IMPERIUM

Your organisations

Choose a workspace, then select the clan, company or office you want to manage.

Opening your organisations…

THE GATES ARE OPEN

Welcome to the realm.

You bring the story. We'll bring the worlds.

  1. Open Minecraft, then choose Multiplayer.
  2. Choose Add Server and enter the address below.
  3. Save, join, and begin your journey.

Need a hand? Read the player guide →