Fix - Failing build
This commit is contained in:
@ -3,7 +3,7 @@ import { SignUpWrap, Title, Subtitle, Textbox, Button } from './style';
|
|||||||
const SignUpForm = () => (
|
const SignUpForm = () => (
|
||||||
<SignUpWrap>
|
<SignUpWrap>
|
||||||
<Title>Subscribe</Title>
|
<Title>Subscribe</Title>
|
||||||
<Subtitle>You have caught us before we are ready, enter your email below and we will keep you posted</Subtitle>
|
<Subtitle>Enter your email below to get notified about the new roadmaps, guides and updates</Subtitle>
|
||||||
<form action="https://kamranahmed.us9.list-manage.com/subscribe/post?u=6f57b741a6a939744f1f203a0&id=f9ca4d6aee" target="_blank" method="post">
|
<form action="https://kamranahmed.us9.list-manage.com/subscribe/post?u=6f57b741a6a939744f1f203a0&id=f9ca4d6aee" target="_blank" method="post">
|
||||||
<Textbox type="email" name="EMAIL" required placeholder="Your email" />
|
<Textbox type="email" name="EMAIL" required placeholder="Your email" />
|
||||||
<div style={{position: 'absolute', left: '-5000px'}}>
|
<div style={{position: 'absolute', left: '-5000px'}}>
|
||||||
|
@ -62,7 +62,7 @@ const getRoadmapRoutes = () => {
|
|||||||
...roadmapRoutes,
|
...roadmapRoutes,
|
||||||
// Default roadmap path i.e. `{ '/frontend': { page: '/[roadmap]/index', query: 'frontend' }`
|
// Default roadmap path i.e. `{ '/frontend': { page: '/[roadmap]/index', query: 'frontend' }`
|
||||||
[roadmap.url]: {
|
[roadmap.url]: {
|
||||||
page: '/[roadmap]/index',
|
page: '/[roadmap]',
|
||||||
query: slug
|
query: slug
|
||||||
},
|
},
|
||||||
// Route for each of the versions of this roadmap i.e.
|
// Route for each of the versions of this roadmap i.e.
|
||||||
|
@ -72,7 +72,7 @@ describe("Build scripts tests", () => {
|
|||||||
return {
|
return {
|
||||||
...roadmapAcc,
|
...roadmapAcc,
|
||||||
[roadmap.url]: {
|
[roadmap.url]: {
|
||||||
page: '/[roadmap]/index',
|
page: '/[roadmap]',
|
||||||
query: roadmap.url.split('/')[1]
|
query: roadmap.url.split('/')[1]
|
||||||
},
|
},
|
||||||
// Expected roadmap for versions
|
// Expected roadmap for versions
|
||||||
|
Reference in New Issue
Block a user