diff --git a/src/components/Login/LoginComponent.tsx b/src/components/Login/LoginComponent.tsx new file mode 100644 index 000000000..61863d285 --- /dev/null +++ b/src/components/Login/LoginComponent.tsx @@ -0,0 +1,37 @@ +import type { FunctionComponent } from 'preact'; + +export default function LoginComponent() { + return ( +
+
+ + +
+
+ +
+ Don't have an account?{' '} + + Sign up + +
+
+ ); +} + +const Button: FunctionComponent<{ className?: string }> = ({ + children, + className, +}) => { + return ( + + ); +}; diff --git a/src/components/Login/LoginPopup.astro b/src/components/Login/LoginPopup.astro new file mode 100644 index 000000000..413df0b72 --- /dev/null +++ b/src/components/Login/LoginPopup.astro @@ -0,0 +1,9 @@ +--- +import Popup from '../Popup/Popup.astro'; +import LoginComponent from './LoginComponent' +--- + + + + + diff --git a/src/components/RoadmapHeader.astro b/src/components/RoadmapHeader.astro index b518ef1bc..9608ebfec 100644 --- a/src/components/RoadmapHeader.astro +++ b/src/components/RoadmapHeader.astro @@ -1,6 +1,8 @@ --- import DownloadPopup from './DownloadPopup.astro'; import Icon from './Icon.astro'; +import LoginComponent from './Login/LoginComponent'; +import LoginPopup from './Login/LoginPopup.astro'; import RoadmapHint from './RoadmapHint.astro'; import RoadmapNote from './RoadmapNote.astro'; import SubscribePopup from './SubscribePopup.astro'; @@ -23,6 +25,7 @@ const { title, description, roadmapId, tnsBannerLink, isUpcoming = false, hasSea const isRoadmapReady = !isUpcoming; --- + @@ -75,6 +78,17 @@ const isRoadmapReady = !isUpcoming; Subscribe + ) }