diff --git a/src/components/HeaderLogo.tsx b/src/components/HeaderLogo.tsx
index 18d064d..120e73d 100644
--- a/src/components/HeaderLogo.tsx
+++ b/src/components/HeaderLogo.tsx
@@ -1,28 +1,27 @@
import React from "react";
+import Image from "next/image";
import styled from "styled-components";
import { Link } from "@components/index";
-import breakpoints from "@theme/breakpoints";
const TitleImage = "/img/SIK_RGB_W_side.png";
-// TODO: Responsive size
-const Logo = styled.img`
- max-width: 300px;
- margin: 1rem 1rem;
-
- @media screen and (max-width: ${breakpoints.mobile}) {
- max-width: 100% !important;
- margin: 1rem 0 !important;
- }
+const Logo = styled(Link)`
+ position: relative;
+ min-width: 200px;
+ min-height: 100px;
+ margin: 1rem 0 !important;
+ flex: 1 0 auto;
`;
const HeaderLogo: React.FC = () => (
-
-
+
-
+
);
export default HeaderLogo;
diff --git a/src/views/FreshmenPage/FreshmenPageView.tsx b/src/views/FreshmenPage/FreshmenPageView.tsx
index e1bf1fa..3bbdfed 100644
--- a/src/views/FreshmenPage/FreshmenPageView.tsx
+++ b/src/views/FreshmenPage/FreshmenPageView.tsx
@@ -1,14 +1,11 @@
import React from "react";
+import Image from "next/image";
import styled from "styled-components";
import FreshmenPageHero from "./FreshmenPageHero";
import {
CTASection, TextSection, InfoBox, PageLink, Link,
} from "@components/index";
-const KippariImage = styled.img`
- max-width:100%;
-`;
-
const FOPAS_LINK = "";
const FUKSI_POINTS_LINK = "";
const TG_GROUP_CHAT_LINK = "https://t.me/joinchat/GsmJjhst3-BYIHQSefVhHg";
@@ -16,6 +13,10 @@ const TG_NOTIFICATIONS_LINK = "";
const EMAIL_LINK = "sik-ftmk@list.ayy.fi";
const EMAIL_LINK_MAILTO = `mailto:${EMAIL_LINK}`;
+const ImageContainer = styled.div`
+ width: 100%;
+`;
+
const FreshmenPageView: React.FC = () => (
<>
@@ -53,7 +54,18 @@ const FreshmenPageView: React.FC = () => (
Fuksipisteohje
-
+
+
+
+
+
Telegram?
diff --git a/src/views/StudiesPage/StudiesPageView.tsx b/src/views/StudiesPage/StudiesPageView.tsx
index bb63c64..973e7a8 100644
--- a/src/views/StudiesPage/StudiesPageView.tsx
+++ b/src/views/StudiesPage/StudiesPageView.tsx
@@ -1,17 +1,10 @@
import React from "react";
-import styled from "styled-components";
+import Image from "next/image";
import {
CTASection, TextSection, PageLink, Accordion, Link,
} from "@components/index";
import StudiesPageHero from "./StudiesPageHero";
-// TODO: Responsive
-const TestimonialImage = styled.img`
- max-width: 500px;
- max-height: 500px;
- width: 100%;
-`;
-
const StudiesPageView: React.FC = () => (
<>
@@ -53,10 +46,13 @@ const StudiesPageView: React.FC = () => (
Alumnien tarinoita
SIKin alumneja löytyy vaikka mistä! Tässä muutama esimerkki erilaisista työtehtävistä ja tarinoista.
-
-
Ville Viikari