nataliaElv HF staff commited on
Commit
ba0fd97
1 Parent(s): 41e47d8

Update messaging

Browse files
Files changed (2) hide show
  1. index.html +1 -1
  2. script.js +7 -7
index.html CHANGED
@@ -16,7 +16,7 @@
16
  <p>1️⃣ Translate all texts and images to your target language.</p>
17
  <p>2️⃣ Add an image to your post to make it more eye-catching. Try the ones below!</p>
18
  <p>3️⃣ Share it with coworkers, family, friends and on any social network or channels of your choosing.</p>
19
- <p>If you have any questions, find Natalia over discord (@nelvirita) or email (natalia.elvira@huggingface.co).</p>
20
  <div id="card-container"></div>
21
  </body>
22
  </html>
 
16
  <p>1️⃣ Translate all texts and images to your target language.</p>
17
  <p>2️⃣ Add an image to your post to make it more eye-catching. Try the ones below!</p>
18
  <p>3️⃣ Share it with coworkers, family, friends and on any social network or channels of your choosing.</p>
19
+ <p>If you have any questions, find Natalia in our <a href="https://huggingface.co/spaces/HuggingFaceFW/discussion" target="_blank">Rocket Chat</a> or send her an email (natalia.elvira@huggingface.co).</p>
20
  <div id="card-container"></div>
21
  </body>
22
  </html>
script.js CHANGED
@@ -1,11 +1,11 @@
1
 
2
- const lead_announcement = `I’m thrilled to share that I’ll be leading <var>Asturian and Aragonese</var> in Hugging Face’s collaborative annotation sprint! 🤗</p><p>I’ll be helping to build an open dataset to improve language models for our language. Do you want to join me? I’ll share more details about this soon!`
3
- const recruit_collaborators = `Do you want to improve the quality of language models in <var>Asturian and Aragonese</var>?</p><p>Join me in this collaborative annotation sprint! No experience needed - simply follow the link to start annotating!`
4
- const recruit_leads = `I’m thrilled to share that I’ll be leading <var>Asturian and Aragonese</var> in Hugging Face’s collaborative annotation sprint! 🤗</p><p>Would you like to lead the efforts in your own language? Check if it’s still listed!`
5
 
6
  function createCard(title, text, url, image_src, image_url) {
7
  let url_text = text.replaceAll('<p>', '').replaceAll('</p>', '%0A%0A')
8
- var text_block = (url) ? `<p>${text}</p><p>${url}</p>` : `<p>${text}</p>`
9
  var image_button = (image_url) ? `<a href="${image_url}" target="_blank"><button class="button-4" role="button">Edit this image</button></a>` : `<a href="${image_src}" download><button class="button-4" role="button">Download this image</button></a>`
10
 
11
  let template = `
@@ -32,6 +32,6 @@ function addCardToContainer(title, text, url, image_src, image_url) {
32
  cardContainer.innerHTML += cardHTML;
33
  }
34
 
35
- addCardToContainer("Announce you've been selected to be a lead!", lead_announcement, null, "images/lead_announcement.png", "https://docs.google.com/presentation/d/1CA4xLLf6rpUlDBym0SORrJZskNDKiBc51tngZkyGDXU/edit#slide=id.p");
36
- addCardToContainer("Recuit collaborators for your language", recruit_collaborators, url='https://nataliaelv-language-leads-dashboard.hf.space/', image_src="images/recruit_collaborators.png", image_url="https://docs.google.com/presentation/d/1Mouh1HpmJYPZFJ-99y9bRZyeb2lLqD2KB3btnXwVJyU/edit#slide=id.p");
37
- addCardToContainer("Recuit leads for other languages", recruit_leads, 'https://nataliaelv-language-leads-dashboard.hf.space/', image_src="images/recruit_leads.png");
 
1
 
2
+ const lead_announcement = `<p>I’m thrilled to share that I’ll be leading <var>Asturian and Aragonese</var> in the Multilingual FineWeb collaborative annotation sprint! 🤗</p><p>I’ll be helping to build an open dataset to improve language models for our language. Do you want to join me?</p>`
3
+ const recruit_collaborators = `<p>Do you want to improve the quality of language models in <var>Asturian and Aragonese</var>?</p><p>Join me in this collaborative annotation sprint! No experience needed - simply follow the link to start annotating!</p>`
4
+ const recruit_leads = `<p>I’m thrilled to share that I’ll be leading <var>Asturian and Aragonese</var> in the Multilingual FineWeb collaborative annotation sprint! 🤗</p><p>Would you like to lead the efforts in your own language? Check if it’s still listed!</p>`
5
 
6
  function createCard(title, text, url, image_src, image_url) {
7
  let url_text = text.replaceAll('<p>', '').replaceAll('</p>', '%0A%0A')
8
+ var text_block = (url) ? `${text}<p>${url}</p>` : `${text}`
9
  var image_button = (image_url) ? `<a href="${image_url}" target="_blank"><button class="button-4" role="button">Edit this image</button></a>` : `<a href="${image_src}" download><button class="button-4" role="button">Download this image</button></a>`
10
 
11
  let template = `
 
32
  cardContainer.innerHTML += cardHTML;
33
  }
34
 
35
+ addCardToContainer("Announce you've been selected to be a lead!", lead_announcement, "https://huggingface.co/spaces/HuggingFaceFW/discussion", "images/lead_announcement.png", "https://docs.google.com/presentation/d/1CA4xLLf6rpUlDBym0SORrJZskNDKiBc51tngZkyGDXU/edit#slide=id.p");
36
+ addCardToContainer("Recuit collaborators for your language", recruit_collaborators, 'https://huggingface.co/spaces/data-is-better-together/demo-argilla-space', "images/recruit_collaborators.png", "https://docs.google.com/presentation/d/1Mouh1HpmJYPZFJ-99y9bRZyeb2lLqD2KB3btnXwVJyU/edit#slide=id.p");
37
+ addCardToContainer("Recuit leads for other languages", recruit_leads, 'https://nataliaelv-language-leads-dashboard.hf.space/', "images/recruit_leads.png", null);