Skip to content

Commit

Permalink
update: Wed 31 Jul 2024 10:25:37 CEST
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Jul 31, 2024
1 parent cc2c4f3 commit ede23a7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import './DevMessage.scss';

/**
* This is a DevMessage component
* @author cophilot
Expand All @@ -8,7 +6,7 @@ import './DevMessage.scss';
*/
function DevMessage() {
return (
<div className="dev-message">
<div className="msg">
Please note that this is a{' '}
<span className="imp">development version</span> of the website.
Some features may not work as expected. If you encounter any issues,
Expand Down
18 changes: 18 additions & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,21 @@ a {
.ml {
margin-left: 20px;
}

.msg {
margin: 25px 25px;
font-weight: bold;
color: var(--font-color);
background-color: var(--bg-color);
font-size: 20px;
padding: 20px;
font-weight: bold;
border-radius: 10px;
border: 3px solid var(--primary-color);
box-shadow: 0 0 10px 0 var(--primary-color);
max-width: 400px;
}

.imp {
color: var(--primary-color);
}
18 changes: 14 additions & 4 deletions src/views/HomeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import StringUtils from '../utils/StringUtils';
import By from '../components/By';
import getAllGames from '../allGames';
import Logo from '../components/Logo';
import DevMessage from '../components/DevMessage/DevMessage';
import DevMessage from '../components/DevMessage';

export default function HomeView() {
const navigate = useNavigate();
Expand All @@ -30,22 +30,32 @@ export default function HomeView() {
}}>
Expandable Table
</button>
<button className="btn selected wide">Fix size Table</button>
{/* <button className="btn selected wide">Fix size Table</button> */}
</div>
<h2>Games</h2>
<div className="ver">
{games.map((game) => (
<LinkGameButton key={game} game={game} />
))}
</div>
<p>
<i>Missing a game? </i>
</p>
<p>
<b>
<a href="mailto:[email protected]?subject=BoardScoreHub%20Game%20Request&body=Please%20add%20the%20game%20%22GameName%22%20to%20BoardScoreHub.">
Contact me
</a>
</b>
</p>
<h2>External</h2>
<div className="ver">
<LinkGameButton game="Cascadia$x$https://cascoria.philipp-bonin.com/#/" />
</div>
<h2>Custom</h2>
<b>
<div className="msg">
<i>Coming soon...</i>
</b>
</div>
{/* <button
className="btn selected wide"
onClick={() => {
Expand Down

0 comments on commit ede23a7

Please sign in to comment.