create demopage for joining
This commit is contained in:
Generated
+603
-473
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -72,7 +72,7 @@
|
|||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"js-cookie": "^3.0.1",
|
"js-cookie": "^3.0.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"next": "^13.1.6",
|
"next": "^13.4.19",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-csv": "^2.2.2",
|
"react-csv": "^2.2.2",
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export const renderNavigationItems = (mobile = false): JSX.Element => (
|
|||||||
<NavbarChildLink to="/kilta/kunnianosoitukset">Kunnianosoitukset</NavbarChildLink>
|
<NavbarChildLink to="/kilta/kunnianosoitukset">Kunnianosoitukset</NavbarChildLink>
|
||||||
<NavbarChildLink to="https://static.sahkoinsinoorikilta.fi">Dokumenttiarkisto</NavbarChildLink>
|
<NavbarChildLink to="https://static.sahkoinsinoorikilta.fi">Dokumenttiarkisto</NavbarChildLink>
|
||||||
<NavbarChildLink to="https://sik.kuvat.fi">Kuvagalleria</NavbarChildLink>
|
<NavbarChildLink to="https://sik.kuvat.fi">Kuvagalleria</NavbarChildLink>
|
||||||
|
<NavbarChildLink to="/kilta/liity">Jäseneksi</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} />
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
import { NextPage } from "next";
|
|
||||||
import Head from "next/head";
|
|
||||||
import AdminPageWrapper from "@views/common/AdminPageWrapper";
|
|
||||||
|
|
||||||
const AdminFrontPage: NextPage = () => (
|
|
||||||
<>
|
|
||||||
<Head>
|
|
||||||
<link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/admin`} />
|
|
||||||
</Head>
|
|
||||||
<AdminPageWrapper requiresAuthentication>
|
|
||||||
<div data-e2e="admin-front-page">
|
|
||||||
<h1>SIK Admin</h1>
|
|
||||||
</div>
|
|
||||||
</AdminPageWrapper>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
|
|
||||||
export default AdminFrontPage;
|
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
import React from "react";
|
||||||
|
import { NextPage } from "next";
|
||||||
|
import Head from "next/head";
|
||||||
|
import JoinPageView from "@views/JoinPage/JoinPageView";
|
||||||
|
import PageWrapper from "@views/common/PageWrapper";
|
||||||
|
|
||||||
|
const JoinPage: NextPage = () => (
|
||||||
|
<>
|
||||||
|
<Head>
|
||||||
|
<link rel="canonical" href={`${process.env.NEXT_PUBLIC_SITE_URL}/kilta/liity`} />
|
||||||
|
</Head>
|
||||||
|
<PageWrapper>
|
||||||
|
<JoinPageView />
|
||||||
|
</PageWrapper>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
|
||||||
|
export default JoinPage;
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import React from "react";
|
||||||
|
import { TextSection, Link } from "@components/index";
|
||||||
|
|
||||||
|
const JoinPageView: React.FC = () => (
|
||||||
|
<>
|
||||||
|
<TextSection>
|
||||||
|
<h1>Liity jäseneksi ja maksa jäsenmaksu</h1>
|
||||||
|
<p>
|
||||||
|
Killan jäsenhakemuksen voi täyttää <Link to="https://api.sahkoinsinoorikilta.fi/members/application">täältä.</Link> Muistakaa
|
||||||
|
myös maksaa jäsenmaksu!
|
||||||
|
</p>
|
||||||
|
</TextSection>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
|
||||||
|
export default JoinPageView;
|
||||||
Reference in New Issue
Block a user