update public folder,

This commit is contained in:
louiscklaw
2025-06-08 19:08:41 +08:00
parent bc35e25616
commit fca048074e
150 changed files with 1648 additions and 6697 deletions

View File

@@ -53,7 +53,7 @@ import {
settingsOutline,
} from 'ionicons/icons';
import AboutPopover from '../../../components/AboutPopover';
import paths from '../../../paths';
import PATHS from '../../../PATHS';
import { getProfileById } from '../../../api/getProfileById';
import { defaultMember, Member } from '../../MemberProfile/type';
import SignUpPng from './SignUp.png';
@@ -79,11 +79,11 @@ const MyProfile: React.FC<SpeakerListProps> = ({ speakers, speakerSessions }) =>
const router = useIonRouter();
function handleShowSettingButtonClick() {
router.push(paths.SETTINGS);
router.push(PATHS.SETTINGS);
}
function handleNotImplementedClick() {
router.push(paths.NOT_IMPLEMENTED);
router.push(PATHS.NOT_IMPLEMENTED);
}
function handleRefresh(event: CustomEvent<RefresherEventDetail>) {
@@ -97,7 +97,7 @@ const MyProfile: React.FC<SpeakerListProps> = ({ speakers, speakerSessions }) =>
function handleForwardLoginPage() {
try {
setDisableForwardLoginButton(true);
router.push(paths.SIGN_IN);
router.push(PATHS.SIGN_IN);
setDisableForwardLoginButton(false);
} catch (error) {
console.error(error);

View File

@@ -53,7 +53,7 @@ import {
settingsOutline,
} from 'ionicons/icons';
import AboutPopover from '../../components/AboutPopover';
import paths from '../../paths';
import PATHS from '../../PATHS';
import { getProfileById } from '../../api/getProfileById';
import { defaultMember, Member } from '../MemberProfile/type';
import NotLoggedIn from './NotLoggedIn';
@@ -83,11 +83,11 @@ const MyProfilePage: React.FC<SpeakerListProps> = ({ speakers, speakerSessions,
const router = useIonRouter();
function handleShowSettingButtonClick() {
router.push(paths.SETTINGS);
router.push(PATHS.SETTINGS);
}
function handleNotImplementedClick() {
router.push(paths.NOT_IMPLEMENTED);
router.push(PATHS.NOT_IMPLEMENTED);
}
function handleRefresh(event: CustomEvent<RefresherEventDetail>) {