add github link
This commit is contained in:
@@ -141,6 +141,13 @@ function App() {
|
|||||||
</a>{" "}
|
</a>{" "}
|
||||||
website.
|
website.
|
||||||
</div>
|
</div>
|
||||||
|
<div style={{ fontSize: "1.2rem" }}>
|
||||||
|
FancyScribe is an open-source project and can be found on Github (
|
||||||
|
<a href="https://github.com/NilsUeter/fancyscribe" target="_blank">
|
||||||
|
FancyScribe
|
||||||
|
</a>
|
||||||
|
) .
|
||||||
|
</div>
|
||||||
<div style={{ padding: "8px 0", fontSize: "1.7rem" }}>
|
<div style={{ padding: "8px 0", fontSize: "1.7rem" }}>
|
||||||
Output Examples
|
Output Examples
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+15
-4
@@ -326,9 +326,21 @@ const ModelStats = ({ modelStats, index, showName, modelList }) => {
|
|||||||
if (!wounds) {
|
if (!wounds) {
|
||||||
wounds = "/";
|
wounds = "/";
|
||||||
}
|
}
|
||||||
const modelListMatches = modelList
|
if (!name.includes("Sgt")) {
|
||||||
.filter((model) => model.includes(name))
|
modelList = modelList.filter((model) => !model.includes("Sgt"));
|
||||||
.map((model) => "(" + model.split("(")[1]);
|
}
|
||||||
|
if (!name.includes("Sergeant")) {
|
||||||
|
modelList = modelList.filter((model) => !model.includes("Sergeant"));
|
||||||
|
}
|
||||||
|
let modelListMatches = modelList.filter((model) =>
|
||||||
|
model.includes(name + " w")
|
||||||
|
);
|
||||||
|
if (modelListMatches.length === 0) {
|
||||||
|
modelListMatches = modelList.filter((model) => model.includes(name));
|
||||||
|
}
|
||||||
|
modelListMatches = modelListMatches.map((model) =>
|
||||||
|
model.replaceAll(name, "")
|
||||||
|
);
|
||||||
return (
|
return (
|
||||||
<div style={{ display: "flex", gap: 16, alignItems: "center" }}>
|
<div style={{ display: "flex", gap: 16, alignItems: "center" }}>
|
||||||
<Characteristic title="M" characteristic={move} index={index} />
|
<Characteristic title="M" characteristic={move} index={index} />
|
||||||
@@ -365,7 +377,6 @@ const ModelStats = ({ modelStats, index, showName, modelList }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const FactionIcon = ({ catalog }) => {
|
const FactionIcon = ({ catalog }) => {
|
||||||
console.log(catalog);
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
Reference in New Issue
Block a user