From af61ea8e230f3ec5b6addabdb24d18de53ac8c44 Mon Sep 17 00:00:00 2001 From: Abdulrhmn Ghanem Date: Fri, 24 Feb 2023 10:31:07 +0200 Subject: [PATCH] Port `/newsletter` page from `v1` --- .../src/pages/newsletter/index.module.scss | 7 +++ frontend/src/pages/newsletter/index.tsx | 57 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 frontend/src/pages/newsletter/index.module.scss create mode 100644 frontend/src/pages/newsletter/index.tsx diff --git a/frontend/src/pages/newsletter/index.module.scss b/frontend/src/pages/newsletter/index.module.scss new file mode 100644 index 0000000000..5c90538b21 --- /dev/null +++ b/frontend/src/pages/newsletter/index.module.scss @@ -0,0 +1,7 @@ +.emailInput { + max-width: 300px; +} + +.emailForm { + padding: 15px; +} diff --git a/frontend/src/pages/newsletter/index.tsx b/frontend/src/pages/newsletter/index.tsx new file mode 100644 index 0000000000..78ffbdc301 --- /dev/null +++ b/frontend/src/pages/newsletter/index.tsx @@ -0,0 +1,57 @@ +import React from 'react' +import { Button, Container, Form } from 'semantic-ui-react' + +import Page from '@components/Page' +import styles from './index.module.scss' + +const Newsletter = () => ( + + +

+ Often people say to us: "Wow that's a nice printed circuit board. + I would like to subscribe to your newsletter." Now you can! If + you're curious, you can read the latest edition first:{' '} + + #1: Kitspace Newsletter #1: Assembling Projects. + {' '} +

+

+ Subscribe below, don't worry, it'`s easy to unsubscribe if you + change your mind later. If you prefer, you can also{' '} + subscribe via RSS. If + you just want to get in touch email{' '} + info@kitspace.org instead. +

+
+ + + + + + + +
+
+
+) + +export default Newsletter