diff --git a/src/config/appConfig.js b/src/config/appConfig.js index 12764ab..899a34a 100644 --- a/src/config/appConfig.js +++ b/src/config/appConfig.js @@ -1,4 +1,5 @@ export const APP_CONFIG = { contactEmail: "contact@example.com", - contactPhone: "+33 01 02 03 04 05" + contactPhone: "+33 01 02 03 04 05", + newCalendarURL: "https://calendar.google.com/calendar/u/0/r/settings/addbyurl?cid=" } \ No newline at end of file diff --git a/src/pages/Home/components/Calendar/ExportBtn.tsx b/src/pages/Home/components/Calendar/ExportBtn.tsx index 61dd619..c5192aa 100644 --- a/src/pages/Home/components/Calendar/ExportBtn.tsx +++ b/src/pages/Home/components/Calendar/ExportBtn.tsx @@ -1,7 +1,8 @@ import Button from "../../../../components/ui/Button/Button"; import styles from "../../HomePage.module.css" import { useContext } from "react"; -import {AuthContext, AuthContextType} from "../../../../contexts/Auth/AuthContext"; +import { AuthContext, AuthContextType } from "../../../../contexts/Auth/AuthContext"; +import { APP_CONFIG } from "../../../../config/appConfig"; export default function ExportBtn() { @@ -11,7 +12,7 @@ export default function ExportBtn() { return