diff --git a/eslint.config.mts b/eslint.config.mts index 4f02cd4..d6f2849 100644 --- a/eslint.config.mts +++ b/eslint.config.mts @@ -5,7 +5,7 @@ import tseslint from "typescript-eslint" export default tseslint.config( { - ignores: ["build/**", ".plasmo/**", "node_modules/**"] + ignores: ["build/**", ".plasmo/**", "node_modules/**", "test-results/**"] }, { files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"], diff --git a/views/BackToAnOldFlame.tsx b/views/BackToAnOldFlame.tsx index cee1deb..4ad0c3d 100644 --- a/views/BackToAnOldFlame.tsx +++ b/views/BackToAnOldFlame.tsx @@ -13,6 +13,9 @@ */ import { useEffect, useState } from "react" +import clockIcon from "url:../assets/icons/Icons/clock_blue_outline.png" +import handsClappingIcon from "url:../assets/icons/Icons/hands-clapping-green.png" +import trophyIcon from "url:../assets/icons/Icons/shooting_star_red.png" import thoughtfulIcon from "url:../assets/icons/Icons/Thoughtful.svg" import Button from "../components/ui/Button" @@ -176,16 +179,26 @@ const BackToAnOldFlame = ({
Have you made a decision?
- Taking time to think is a superpower. How long would you like to wait? -
- {!saved ? ( <> -- For how long you would like to think about this purchase? +
+ Taking time to think is a superpower.
+
+ How long would you like to wait?
- {countdown !== null && countdown > 0 - ? `Closing tab in ${countdown}` - : "✓ Reminder saved!"} -
+ <> ++ ✓ Reminder saved +
++ You have committed to waiting{" "} + {durationOptions.find((o) => o.value === selectedDuration)?.label ?? + "this duration"} + . You can do it! +
+ {countdown !== null && countdown > 0 && ( +Closing tab in {countdown}
+ )} + > )} )