From ca40c6614bde8955a1eaa8a1aef1590ee0a228b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Vannicatte?= Date: Thu, 20 Jan 2022 10:07:24 +0100 Subject: [PATCH] docs(apply): require repository link --- packages/website/src/components/ApplyForm.js | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/packages/website/src/components/ApplyForm.js b/packages/website/src/components/ApplyForm.js index 30bb3ed7..8bf13aff 100644 --- a/packages/website/src/components/ApplyForm.js +++ b/packages/website/src/components/ApplyForm.js @@ -15,6 +15,7 @@ function ApplyForm() { const [state, setState] = useState({ status: 'stalled', message: '' }); const [url, setUrl] = useState(''); const [email, setEmail] = useState(''); + const [repo, setRepo] = useState(''); const handleSetUrl = (event) => { setUrl(event.target.value); @@ -22,6 +23,9 @@ function ApplyForm() { const handleSetEmail = (event) => { setEmail(event.target.value); }; + const handleSetRepo = (event) => { + setRepo(event.target.value); + }; const onSubmit = (event) => { event.preventDefault(); @@ -151,6 +155,29 @@ function ApplyForm() { and grant access to your Algolia application. + + Repository URL + + + + + We will use this link to determine if your project is open-source. + +