Skip to content

Commit 04a6d88

Browse files
Thomas StrombergThomas Stromberg
authored andcommitted
maybe improve the discord page
1 parent 968661a commit 04a6d88

File tree

2 files changed

+46
-15
lines changed

2 files changed

+46
-15
lines changed

src/assets/css/style.css

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7243,6 +7243,44 @@ hr.text-separator {
72437243
box-shadow: 10px 10px 0px 0px var(--black);
72447244
}
72457245

7246+
/* Slack/Discord Screenshot Section */
7247+
.rg-slack-screenshot {
7248+
padding: calc(var(--space) * 8) calc(var(--space) * 3);
7249+
background: var(--gray-100);
7250+
}
7251+
7252+
.rg-slack-screenshot__container {
7253+
max-width: 1152px;
7254+
margin: 0 auto;
7255+
text-align: center;
7256+
}
7257+
7258+
.rg-slack-screenshot__title {
7259+
font-size: clamp(28px, 3vw, 36px);
7260+
font-weight: 900;
7261+
margin-bottom: calc(var(--space) * 4);
7262+
}
7263+
7264+
.rg-slack-screenshot__image-wrapper {
7265+
margin-bottom: calc(var(--space) * 2);
7266+
}
7267+
7268+
.rg-slack-screenshot__image {
7269+
max-width: 800px;
7270+
width: 100%;
7271+
margin: 0 auto;
7272+
display: block;
7273+
border-radius: 8px;
7274+
border: 1px solid var(--gray-200);
7275+
box-shadow: 8px 8px 0px 0px var(--yellow);
7276+
}
7277+
7278+
.rg-slack-screenshot__caption {
7279+
color: var(--gray-600);
7280+
font-size: 16px;
7281+
margin-top: calc(var(--space) * 2);
7282+
}
7283+
72467284
/* Slack Features */
72477285
.rg-slack-features {
72487286
padding: calc(var(--space) * 8) calc(var(--space) * 3);
@@ -7469,7 +7507,7 @@ hr.text-separator {
74697507
}
74707508

74717509
.rg-slack-config__code code {
7472-
color: var(--gray-300);
7510+
color: var(--gray-100);
74737511
font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
74747512
font-size: 14px;
74757513
line-height: 1.6;

src/reviewgoose/discord.njk

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -151,28 +151,21 @@ title: reviewGOOSE:Discord Integration
151151
<p class="rg-slack-config__description">Create <code>.codeGROOVE/discord.yaml</code> in your org:</p>
152152
<div class="rg-slack-config__code">
153153
<pre><code>global:
154-
guild_id: "1234567890123456789" # Your Discord server ID
155-
reminder_dm_delay: 65 # Minutes before DM (0 = disabled)
154+
guild_id: "your-server-id-here" # Your Discord server ID
156155

157156
users:
158-
alice: "111111111111111111" # GitHub username → Discord user ID
159-
bob: "222222222222222222"
160-
# Unmapped users: bot attempts username match
157+
alice: "alice_discord" # GitHub username → Discord username
158+
bob: "bob_discord"
161159

162160
channels:
163161
engineering: # Channel name
164162
repos:
165163
- backend
166-
- frontend
167-
- api
168-
169-
all-prs:
170-
repos:
171-
- "*" # Wildcard: all repos
172-
173-
staging:
174-
mute: true # Disable notifications</code></pre>
164+
- frontend</code></pre>
175165
</div>
166+
<p class="rg-slack-config__description" style="margin-top: calc(var(--space) * 4);">
167+
For complete configuration options and advanced features, see the <a href="https://docs.codegroove.dev/reviewgoose/discord/" style="color: var(--black); font-weight: 600; text-decoration: underline;">official documentation</a>.
168+
</p>
176169
</div>
177170
</section>
178171

0 commit comments

Comments
 (0)