Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions missing alert #909

Merged
merged 3 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.title {
margin-bottom: var(--space--24);
padding: 1.5rem 0;
font-weight: var(--font-weight-bold);
font-size: var(--font-size--xxl);
line-height: var(--line-height--xxl);
Expand All @@ -22,3 +22,7 @@
flex-direction: row;
gap: 1.5rem;
}

.alertLink {
color: #e7f5fe;
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
import styles from "./PackageVersions.module.css";
import * as Button from "../../../Button/";
import { Table, Sort } from "../../../Table/Table";
import { Alert } from "../../../Alert/Alert";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faBoltLightning } from "@fortawesome/pro-solid-svg-icons";
import { faCircleExclamation } from "@fortawesome/free-solid-svg-icons";

export function PackageVersions() {
return (
<div>
<Alert
content={
<span>
Please note that the install buttons only work if you have
compatible client software installed, such as the{" "}
<a
href="https://www.overwolf.com/app/Thunderstore-Thunderstore_Mod_Manager"
className={styles.alertLink}
>
Thunderstore Mod Manager.
</a>{" "}
Otherwise use the zip download links instead.
</span>
}
variant={"info"}
icon={<FontAwesomeIcon icon={faCircleExclamation} />}
/>
<div className={styles.title}>Versions</div>
<Table
headers={columns}
Expand Down
Loading