Skip to content

Commit

Permalink
Update bingo page
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Oct 13, 2024
1 parent 43bb9c8 commit 8d58fb6
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/src/content/docs/getting-started/bingo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ We are hosting the 3rd OSB Bingo! You can compete for a chance of winning some G
1. Ensure all 5 people have the 250m entry free, and are ready to confirm.
1. Use this command in the main discord server: [[/bingo make_team bingo\:OSB Bingo #3]], and everyone click the confirm button.

## Bingo Channels
- Receive info/announcements/updates about the bingo: [[# bingo-info:1039869985989861466]]
- Discuss the bingo: [[# bingo-discussion:1039870142651301979]]
- Look for a team: [[# bingo-looking-4-team:1149907771937001522]]

## Prizes

You can see the actual GP prize pool with the bingo command.
Expand Down
5 changes: 5 additions & 0 deletions docs/src/content/docs/getting-started/wiki.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ This section shows ways you can format things

Any colon needs a backslash before it (I'm not sure yet how to make it so this isnt needed.)

### Discord Channels

`[[# bingo-looking-4-team:1149907771937001522]]`
[[# bingo-looking-4-team:1149907771937001522]]

### Skills

`[[agility:55]] [[strength:44,000 XP]] [[qp:5]]`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To start Brimhaven Agility Arena, simply type:
While there are no boosts for speed or minion learning, the following bonuses apply:

- Completion of **Karamja Medium** diary or higher:
- Provides 10% extra Agility experience.
- Provides 10% extra Agility experience.
- Grants a 10% experience bonus when turning in agility arena tickets.
- Completion of **Karamja Elite** diary:
- Grants a 10% chance of receiving double agility arena tickets.
Expand All @@ -23,7 +23,8 @@ While there are no boosts for speed or minion learning, the following bonuses ap
You can exchange agility arena tickets for [[agility:345 XP]] each ([[agility:379.5 XP]] with the Karamja Medium diary or higher).

To claim experience for tickets, use:
- [[/minigames agility_arena xp quantity\:1/10/25/100/1000]]

- [[/minigames agility_arena xp quantity\:1/10/25/100/1000]]

### Brimhaven Graceful Set

Expand Down
8 changes: 7 additions & 1 deletion docs/src/plugins/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ export function remarkItems(options: any) {
if (matches.length === 0) return;

for (const match of matches) {
if (imageExtensions.some(ext => match.endsWith(ext))) {
if (match.startsWith('#')) {
const [channelName, messageID] = match.split(':');
const html = `<a class="discord_channel" href="discord://discord.com/channels/342983479501389826/${messageID}" target="_blank">${channelName}</a>`;
node.value = node.value.replace(`[[${match}]]`, html);
node.type = 'html';
continue;
} else if (imageExtensions.some(ext => match.endsWith(ext))) {
node.type = 'html';
const html = `<img src="/images/${match}" alt="${match}" />`;
node.value = node.value.replace(`[[${match}]]`, html);
Expand Down
20 changes: 20 additions & 0 deletions docs/src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -498,4 +498,24 @@ sl-sidebar-state-persist > ul > li:nth-child(3) > details > summary > svg {

#starlight__sidebar .group-label {
text-transform: capitalize;
}

.discord_channel {
font-size: 16px;
font-weight: 500;
background: #35373c;
width: max-content;
padding: 3px 10px;
font-size: 13.4px;
color: #81868f!important;
display: flex;
align-items: center;
border-radius: 4px;
text-decoration: none;

&:hover {
color: rgb(192, 192, 192)!important;
cursor: pointer;
background: rgb(50, 50, 55);
}
}

0 comments on commit 8d58fb6

Please sign in to comment.