Skip to content

Commit d6b3c62

Browse files
authored
Merge branch 'main' into Linter-feature-checking-broken-links-and-show-in-PR
2 parents 8563f44 + e3dd287 commit d6b3c62

File tree

8 files changed

+116
-739
lines changed

8 files changed

+116
-739
lines changed

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ documentation:
3636
- any-glob-to-any-file:
3737
- 'README.md'
3838
- 'CONTRIBUTING.md'
39-
- 'docs/**/*'
4039

4140
frontend:
4241
- any:
4342
- changed-files:
4443
- any-glob-to-any-file:
44+
- 'docs/**/*'
4545
- 'public/**/*'
4646

4747
infra:
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: First Interaction
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
pull_request_target:
8+
types: [opened, reopened]
9+
issues:
10+
types: [opened]
11+
12+
jobs:
13+
first-interaction:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/first-interaction@v2
17+
with:
18+
repo-token: '${{ secrets.GITHUB_TOKEN }}'
19+
issue-message: |
20+
Thanks for opening this issue! We appreciate your contribution.
21+
pr-message: |
22+
Thanks for your first pull request! We appreciate your contribution.
23+
skip-checks: false

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,28 @@ Welcome to the source code repository for the Brisbane Social Chess website.
88

99
[![CodeQL Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Fcodeql.yml?label=codeql)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/codeql.yml)
1010
[![Dprint Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Fdprint.yml?label=dprint)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/dprint.yml)
11+
[![First Interaction Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Ffirst-interaction.yml?label=first-interaction)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/first-interaction.yml)
1112
[![Git Clone Matrix Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Fgit-clone-matrix.yml?label=git-clone-matrix)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/git-clone-matrix.yml)
12-
[![GitHub License](https://img.shields.io/github/license/brisbanesocialchess/brisbanesocialchess.github.io)](LICENSE)
13-
[![GitHub Pages](https://img.shields.io/website?url=https%3A%2F%2Fbrisbanesocialchess.github.io&label=github-pages)](https://brisbanesocialchess.github.io)
1413
[![Labeler Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Flabeler.yml?label=labeler)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/labeler.yml)
1514
[![Lerna Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Flerna.yml?label=lerna)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/lerna.yml)
1615
[![Ls-lint Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Fls-lint.yml?label=ls-lint)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/ls-lint.yml)
1716
[![Pre-commit Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Fpre-commit.yml?label=pre-commit)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/pre-commit.yml)
1817
[![Wrangler Workflow Status](https://img.shields.io/github/actions/workflow/status/brisbanesocialchess/brisbanesocialchess.github.io/.github%2Fworkflows%2Fwrangler.yml?label=wrangler)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/actions/workflows/wrangler.yml)
1918

19+
[![View the project board](https://img.shields.io/badge/view_the_project_board-purple)](https://github.com/orgs/brisbanesocialchess/projects/1/)
20+
[![GitHub License](https://img.shields.io/github/license/brisbanesocialchess/brisbanesocialchess.github.io)](LICENSE)
21+
[![Discord](https://img.shields.io/discord/1299539471964049448?label=Discord)](https://discord.com/invite/JWBKhQmzvD)
22+
[![GitHub Pages](https://img.shields.io/website?url=https%3A%2F%2Fbrisbanesocialchess.github.io&label=github-pages)](https://brisbanesocialchess.github.io)
23+
[![GitHub commit activity](https://img.shields.io/github/commit-activity/w/brisbanesocialchess/brisbanesocialchess.github.io)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/graphs/commit-activity)
24+
[![GitHub Issues marked as good first issue](https://img.shields.io/github/issues/brisbanesocialchess/brisbanesocialchess.github.io/good%20first%20issue?color=%237057ff)](https://github.com/brisbanesocialchess/brisbanesocialchess.github.io/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22)
25+
2026
- **Live site:** [https://www.brisbanesocialchess.org.au/](https://www.brisbanesocialchess.org.au/)
2127
- **Current Development site:** [https://brisbanesocialchess.github.io/](https://brisbanesocialchess.github.io/)
2228
- **Cloudflare Playground:** [https://cfsite.brisbanesocialchess.workers.dev/](https://cfsite.brisbanesocialchess.workers.dev/)
2329
- [CONTRIBUTING Guide](CONTRIBUTING.md)
2430

31+
---
32+
2533
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2634
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
2735

docs/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ <h3>
155155
<span aria-hidden="true">💾</span> Developers
156156
</h3>
157157
<div class="github-profile github-profile--medium">
158-
<a href="https://github.com/BaseMax" class="role-moderator">
158+
<a href="https://github.com/BaseMax" class="role-developer">
159159
<img class="github-avatar" src="https://avatars.githubusercontent.com/u/2658040?v=4&s=200" alt="Max Base avatar">
160160
<br>
161161
<span>Max Base</span>

docs/meetup-thursday.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ <h2>Thursday Night Chess ♟️🍺</h2>
3939
<strong>Location:</strong> Royal Hotel, Nundah
4040
</p>
4141
<p>
42-
<strong>Hosted by:</strong> John Bampton
42+
<strong>Hosted by:</strong> Jimmy Joe
4343
</p>
4444
<div class="bio">
45-
<img src="https://avatars.githubusercontent.com/u/873384?s=400&v=4" alt="John Bampton" style="max-width: 150px; border-radius: 10px; margin-top: 10px;" />
45+
<img src="https://avatars.githubusercontent.com/u/873384?s=400&v=4" alt="Jimmy Joe" style="max-width: 150px; border-radius: 10px; margin-top: 10px;" />
4646
</div>
4747
<p> Welcome to Thursday night chess at The Royal Hotel in Nundah. <br /> The Royal offers great food and drinks. On Sandgate Rd in Nundah Village, less than a 5-minute walk from Nundah Station. </p>
4848
<p>

docs/script.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,19 @@ elmEmailElements.forEach((el) => {
118118
}
119119
});
120120

121-
window.addEventListener("message", e => {
122-
// Step 1: Security check - Verify the message origin is chess.com
123-
if (e.origin !== "https://www.chess.com") {
124-
return; // Exit if the message is from an untrusted source
125-
}
126-
127-
// Step 2: Robustness check - Ensure data and ID exist and frameHeight is a number
128-
if (e.data?.id && typeof e.data?.frameHeight === 'number') {
129-
const iframe = document.getElementById(e.data.id);
130-
// If a matching iframe is found, set its height
131-
if (iframe) {
132-
const IFRAME_HEIGHT_OFFSET = 37; // Extra height to account for container padding/borders.
133-
iframe.style.height = `${e.data.frameHeight + IFRAME_HEIGHT_OFFSET}px`;
134-
}
135-
}
121+
window.addEventListener('message', (e) => {
122+
// Step 1: Security check - Verify the message origin is chess.com
123+
if (e.origin !== 'https://www.chess.com') {
124+
return; // Exit if the message is from an untrusted source
125+
}
126+
127+
// Step 2: Robustness check - Ensure data and ID exist and frameHeight is a number
128+
if (e.data?.id && typeof e.data?.frameHeight === 'number') {
129+
const iframe = document.getElementById(e.data.id);
130+
// If a matching iframe is found, set its height
131+
if (iframe) {
132+
const IFRAME_HEIGHT_OFFSET = 37; // Extra height to account for container padding/borders.
133+
iframe.style.height = `${e.data.frameHeight + IFRAME_HEIGHT_OFFSET}px`;
134+
}
135+
}
136136
});

docs/style.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,10 @@ form fieldset input[type='radio'] {
364364
color: red;
365365
}
366366
.role-board {
367-
color: #b9abff;
367+
color: #a020f0;
368+
}
369+
.role-developer {
370+
color: cyan;
368371
}
369372
.role-leader {
370373
color: #ed7014;

0 commit comments

Comments
 (0)