Skip to content

Commit d5218f8

Browse files
committed
Improve arrow style
1 parent 0391b99 commit d5218f8

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

webtool/frontend/src/components/intro/LoadExampleCaseButton.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@ import {Pilot} from "local4local"
33
import {local4localDarkOrange} from "../../colors.ts";
44
import {Local4LocalButton} from "../Local4LocalButton.tsx";
55
import {NavLink} from "react-router";
6+
import {FaArrowRight} from "react-icons/fa6"
67

78
export const LoadExampleCaseButton: FunctionComponent<{exampleCase: Pilot}> = ({exampleCase}) => (
89
<Local4LocalButton
910
asChild
1011
style={{
11-
fontSize: "1.5rem",
12-
height: "2.2rem",
12+
fontSize: "1.3rem",
13+
height: "2.5rem",
1314
aspectRatio: "1 / 1",
1415
padding: "0",
1516
fontWeight: "bold",
1617
backgroundColor: local4localDarkOrange + "80",
1718
}}
1819
>
19-
<NavLink to={"/rekentool?pilot=" + encodeURIComponent(exampleCase.toJson())}></NavLink>
20+
<NavLink to={"/rekentool?pilot=" + encodeURIComponent(exampleCase.toJson())}>
21+
<FaArrowRight />
22+
</NavLink>
2023
</Local4LocalButton>
21-
)
24+
)

webtool/frontend/src/components/intro/StartButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {NavLink} from "react-router"
33
import {Button} from "@radix-ui/themes"
44
import {local4localLightGreen} from "../../colors.ts"
55
import {Local4LocalButton} from "../Local4LocalButton.tsx"
6+
import {FaArrowRight} from "react-icons/fa6"
67

78
export const StartButton: FunctionComponent<ComponentProps<typeof Button>> = ({style, ...props}) => (
89
<Local4LocalButton
@@ -21,7 +22,7 @@ export const StartButton: FunctionComponent<ComponentProps<typeof Button>> = ({s
2122
{...props}
2223
>
2324
<NavLink to="/rekentool">
24-
Start
25+
Start <FaArrowRight />
2526
</NavLink>
2627
</Local4LocalButton>
2728
)

webtool/frontend/src/components/resourcefully/dialog.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {ResourcefullyDialogContent} from "./content.tsx"
66
import {Local4LocalButton} from "../Local4LocalButton.tsx"
77
import {local4localLightGreen} from "../../colors.ts"
88
import {PilotState} from "../../services/use-pilot.ts"
9+
import {FaArrowRight} from "react-icons/fa6"
910

1011
const Button: FunctionComponent = () => (
1112
<Local4LocalButton
@@ -20,7 +21,7 @@ const Button: FunctionComponent = () => (
2021
zIndex: 99,
2122
}}
2223
>
23-
Ga naar gevoeligheidsanalyse
24+
Ga naar gevoeligheidsanalyse <FaArrowRight />
2425
</Local4LocalButton>
2526
)
2627

webtool/frontend/src/components/resourcefully/form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {PilotState} from "../../services/use-pilot.ts"
66
import {SdeSupplementForm} from "./SdeSupplementForm.tsx"
77
import {DialogButtonRow} from "./DialogButtonRow.tsx"
88
import {DataSharingButton} from "./DataSharingButton.tsx"
9-
import {ArrowRightIcon} from "@radix-ui/react-icons"
9+
import {FaArrowRight} from "react-icons/fa6"
1010

1111
export type ReactSubmitEvent = SyntheticEvent<HTMLFormElement, SubmitEvent>
1212
export type SubmitEventHandeler = EventHandler<ReactSubmitEvent>
@@ -52,7 +52,7 @@ export const ResourcefullyForm: FunctionComponent<{
5252
<Local4LocalButton name="action" value="preview" style={{backgroundColor: local4localLightBlue}} size="1">Bericht bekijken</Local4LocalButton>
5353
<Local4LocalButton name="action" value="send" style={{backgroundColor: local4localDarkOrange}}>
5454
Opsturen
55-
<ArrowRightIcon />
55+
<FaArrowRight />
5656
</Local4LocalButton>
5757
</DialogButtonRow>
5858
</form>

0 commit comments

Comments
 (0)