Changes to page setup

This commit is contained in:
SimeonPursiainen
2025-09-11 19:57:40 +03:00
parent eb1348445f
commit 1f72bfbf05
5 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -19,10 +19,10 @@ export const renderNavigationItems = (mobile = false): JSX.Element => (
<NavbarChildLink to="https://sik.kuvat.fi">Kuvagalleria</NavbarChildLink> <NavbarChildLink to="https://sik.kuvat.fi">Kuvagalleria</NavbarChildLink>
<NavbarChildLink to="/kilta/kilta-avustus">Kilta-avustus</NavbarChildLink> <NavbarChildLink to="/kilta/kilta-avustus">Kilta-avustus</NavbarChildLink>
</NavbarDropdownLink> </NavbarDropdownLink>
<NavbarDropdownLink to="/kilta" text="New students"> <NavbarDropdownLink to="/newStudent" text="New students " exploded={mobile}>
<NavbarChildLink to="/kilta/fuksi">Fukseille</NavbarChildLink> <NavbarChildLink to="/newStudent/fuksi">Fukseille</NavbarChildLink>
<NavbarChildLink to="/fukseille_en">For Freshmen</NavbarChildLink> <NavbarChildLink to="/newStudent/fukseille_en">For Freshmen</NavbarChildLink>
<NavbarChildLink to="/forExchangers">For Exchange/MSc students</NavbarChildLink> <NavbarChildLink to="/newStudent/forExchangers">For Exchange/MSc students</NavbarChildLink>
</NavbarDropdownLink> </NavbarDropdownLink>
<NavbarDropdownLink to="/opinnot_ja_ura" text="Opinnot ja ura" exploded={mobile} /> <NavbarDropdownLink to="/opinnot_ja_ura" text="Opinnot ja ura" exploded={mobile} />
<NavbarDropdownLink to="/yritysyhteistyo" text="Yritysyhteistyö" exploded={mobile} /> <NavbarDropdownLink to="/yritysyhteistyo" text="Yritysyhteistyö" exploded={mobile} />
@@ -7,7 +7,7 @@ import PageWrapper from "@views/common/PageWrapper";
const ForInternationalPage: NextPage = () => ( const ForInternationalPage: NextPage = () => (
<> <>
<Head> <Head>
<link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/ForFreshmen`} /> <link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/newStudent/ForIntl`} />
</Head> </Head>
<PageWrapper> <PageWrapper>
<ForInternationalPageView /> <ForInternationalPageView />
@@ -7,7 +7,7 @@ import PageWrapper from "@views/common/PageWrapper";
const ContactsPage: NextPage = () => ( const ContactsPage: NextPage = () => (
<> <>
<Head> <Head>
<link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/ForFreshmen`} /> <link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/newStudent/ForFreshmen`} />
</Head> </Head>
<PageWrapper> <PageWrapper>
<ContactsPageView /> <ContactsPageView />
@@ -7,7 +7,7 @@ import PageWrapper from "@views/common/PageWrapper";
const FreshmenPage: NextPage = () => ( const FreshmenPage: NextPage = () => (
<> <>
<Head> <Head>
<link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/kilta/fuksi`} /> <link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/newStudent/fuksi`} />
</Head> </Head>
<PageWrapper> <PageWrapper>
<FreshmenPageView /> <FreshmenPageView />
@@ -28,7 +28,7 @@ const FopasImage = styled.img`
margin-bottom: 1em; margin-bottom: 1em;
`; `;
const ForFreshmenPageView: React.FC = () => ( const ForIntlPageView: React.FC = () => (
<> <>
<ForIntlPageHero /> <ForIntlPageHero />
<TextSection> <TextSection>
@@ -188,4 +188,4 @@ const ForFreshmenPageView: React.FC = () => (
</> </>
); );
export default ForFreshmenPageView; export default ForIntlPageView;