import React from "react";
import { Page } from "@/pages/base";
import { useTranslation } from "react-i18next";
import { useCurrentStudent } from "@/hooks";
import { Box, Button, Container, Link, Paper, Typography } from "@material-ui/core";
import { Student } from "@/data";
import { Link as RouterLink } from "react-router-dom";
import { route } from "@/routing";
import { Actions } from "@/components";
import { useVerticalSpacing } from "@/styles";
type StudentPreviewProps = {
student: Student;
}
export const StudentPreview = ({ student }: StudentPreviewProps) => {
const { t } = useTranslation();
return <>
{ student.name } { student.surname }
{ t('internship.intern.semester', { semester: student.semester }) }
{ ", " }
{ t('internship.intern.album', { album: student.albumNumber }) }
>;
}
export const UserProfilePage = () => {
const { t } = useTranslation();
const student = useCurrentStudent() as Student;
const spacing = useVerticalSpacing(3);
return
{ t("pages.my-internship.header") }
{ t("pages.user-profile.title") }
{ t('pages.user-profile.title') }
}
export default UserProfilePage;