Skip to content

Commit

Permalink
Start filling out the About page (#24)
Browse files Browse the repository at this point in the history
Closes #21 

- port over some text from 1.0 help page as appropriate, and make design
tweaks and some wording tweaks

---------

Co-authored-by: Vincent Rubinetti <[email protected]>
  • Loading branch information
Sproff and vincerubinetti authored Oct 8, 2024
1 parent 185f1e8 commit 6e14ca7
Show file tree
Hide file tree
Showing 8 changed files with 484 additions and 119 deletions.
Binary file modified frontend/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/src/components/Flex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Props<TagName extends TagNames = "div"> = {
/** amount of space between items */
gap?: "md" | "none" | "xs" | "sm" | "lg" | "xl";
/** vertical gap fraction of horizontal gap */
gapRatio?: 1 | 0.5;
gapRatio?: 1 | 0.5 | 0.25 | 0;
/** whether to wrap items */
wrap?: true | false;
/** whether to make full width */
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/components/Heading.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ h2.heading {
h3.heading,
h4.heading {
justify-content: flex-start;
margin-bottom: -1em;
text-align: left;
}

:is(h3.heading, h4.heading) + :not(h3.heading, h4.heading) {
margin-top: -1em;
}

.icon {
color: var(--deep);
}
Expand Down
9 changes: 4 additions & 5 deletions frontend/src/components/Link.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.icon {
position: relative;
top: -0.1em;
padding-left: 0.5em;
vertical-align: middle;
.link {
display: inline-flex;
align-items: center;
gap: 5px;
}
4 changes: 2 additions & 2 deletions frontend/src/components/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Link = forwardRef(
{...props}
>
{children}
{_showArrow && <FaArrowUpRightFromSquare className={classes.icon} />}
{_showArrow && <FaArrowUpRightFromSquare />}
</a>
) : (
<RouterLink
Expand All @@ -64,7 +64,7 @@ const Link = forwardRef(
{...props}
>
{children}
{_showArrow && <FaArrowUpRightFromSquare className={classes.icon} />}
{_showArrow && <FaArrowUpRightFromSquare />}
</RouterLink>
);

Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/TableOfContents.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
}

.link {
display: inline-block;
flex-shrink: 0;
padding: 5px 10px;
overflow: hidden;
Expand Down
Loading

0 comments on commit 6e14ca7

Please sign in to comment.