Skip to content

Commit ec595c8

Browse files
committed
format: files
1 parent 1d2be64 commit ec595c8

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export {default as default} from './CertificateButton';
1+
export { default as default } from "./CertificateButton";

app/components/OutlineDrawer/OutlineDrawer.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ export default function OutlineDrawer({
4343
<DrawerContent>
4444
<DrawerCloseButton />
4545
<DrawerHeader display={"flex"} justifyContent={"space-between"}>
46-
4746
Outline
48-
<CertificateButton />
49-
</DrawerHeader>
47+
<CertificateButton />
48+
</DrawerHeader>
5049

5150
<DrawerBody>
5251
<nav>

app/styles/theme.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ const Modal = {
141141
dialog: {
142142
bg: "hsl(var(--background))",
143143
color: "hsl(var(--text))",
144-
borderRadius: "16px"
145-
}
146-
}
147-
}
144+
borderRadius: "16px",
145+
},
146+
},
147+
};
148148

149149
export const theme = extendTheme({
150150
config: {

lib/client-functions.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,15 @@ export function isChapterCompleted(chapterIndex: number, totalSteps: number) {
137137
return true;
138138
}
139139

140-
141140
export function isTheTourCompleted() {
142-
const totalStepsForAllChapters = contentManager.getNumberOfStepsFromAllChapters();
141+
const totalStepsForAllChapters =
142+
contentManager.getNumberOfStepsFromAllChapters();
143143
if (!localStorage.getItem("progress")) {
144144
return false;
145145
}
146-
const completedSteps = Object.keys(JSON.parse(localStorage.getItem("progress")!)).length;
146+
const completedSteps = Object.keys(
147+
JSON.parse(localStorage.getItem("progress")!),
148+
).length;
147149
return totalStepsForAllChapters === completedSteps;
148150
}
149151

lib/contentVariables.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ export const contentFolderPath: string = "./content";
44
export const contentFolderName: string = contentFolderPath.replace("./", "");
55
export const indexFileName = "index.mdx";
66
export const instructionsFileName = "instructions.mdx";
7-
export const googleSheetAPIRoute = "https://script.google.com/macros/s/AKfycbxjH778iyBlZ8_oY946fTLW6H0HcfByaNk0collEgIwERwnpeErkaYEuKjWxAQ2qg/exec"
7+
export const googleSheetAPIRoute =
8+
"https://script.google.com/macros/s/AKfycbxjH778iyBlZ8_oY946fTLW6H0HcfByaNk0collEgIwERwnpeErkaYEuKjWxAQ2qg/exec";

0 commit comments

Comments
 (0)