Skip to content

Commit

Permalink
subscribe form
Browse files Browse the repository at this point in the history
  • Loading branch information
junsan1 committed Jul 9, 2024
1 parent 6f8542f commit 6a0bb5f
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 3 deletions.
5 changes: 5 additions & 0 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ <h1 class="site-title">{{ locale.title }}</h1>
{{ locale.pedia }}
</a>
</li>
<li>
<a href="{{ home_url }}/subscribe/" {% if current_section == 'subscribe' %}class="active"{% endif %}>
{{ locale.subscribe }}
</a>
</li>
<li class="mobile-language-selector">
<select id="lang-select-mobile">
<option value="en" {% if page.lang == "en" %}selected{% endif %}>English</option>
Expand Down
12 changes: 12 additions & 0 deletions _layouts/subscribe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: base
---
<div class="subscribe-container">
<h1>{{ page.locale.subscribe_title }}</h1>
<p>{{ page.locale.subscribe_intro }}</p>
<div class="form-container">
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSdSB_lG9KbQ5mfUVav_skJdv2cpcoKcibUmirX8R2C2yL7hYw/viewform?embedded=true" width="640" height="641" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
</div>
<p>{{ page.locale.subscribe_outro }}</p>
<p><em>{{ page.locale.subscribe_nospam }}</em></p>
</div>
7 changes: 6 additions & 1 deletion en/locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ github: GitHub
title: Algorithmic Trading Library
footer_copyright: All rights reserved.
footer_contact: Contact
contribute: Contribute on GitHub
contribute: Contribute on GitHub
subscribe: Subscribe
subscribe_title: Join the Algo-rific Newsletter!
subscribe_intro: "Welcome to the most electrifying newsletter in the algorithmic trading universe! 🚀 Are you ready to have your mind blown by the latest and greatest in the world of algorithms? Well, buckle up, buttercup, because you're in for a wild ride!"
subscribe_outro: "Don't miss out on this once-in-a-lifetime opportunity to be part of the coolest algo-club in town. If you don't subscribe now, you'll be kicking yourself harder than a malfunctioning trading bot during a market crash!"
subscribe_nospam: "P.S. We promise no spam, even if you beg us to sprinkle your inbox with a little algo-flavored junk mail. We're classy like that."
5 changes: 5 additions & 0 deletions en/subscribe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: subscribe
title: Subscribe
lang: en
---
7 changes: 6 additions & 1 deletion ru/locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ github: GitHub
title: Библиотека алготрейдинга
footer_copyright: Все права защищены.
footer_contact: Контакты
contribute: Помогай проекту
contribute: Помогай проекту
subscribe: Подписаться
subscribe_title: Присоединяйтесь к нашей Алго-тастической рассылке!
subscribe_intro: "Добро пожаловать в самую захватывающую рассылку во вселенной алгоритмической торговли! 🚀 Готовы ли вы к тому, что ваш мозг взорвется от последних и самых крутых новостей в мире алгоритмов? Пристегните ремни, дорогие друзья, потому что вас ждет дикая поездка!"
subscribe_outro: "Не упустите этот уникальный шанс стать частью самого крутого алго-клуба в городе. Если вы не подпишетесь прямо сейчас, вы будете кусать локти сильнее, чем неисправный торговый бот во время обвала рынка!"
subscribe_nospam: "P.S. Мы обещаем не рассылать спам, даже если вы будете умолять нас посыпать ваш почтовый ящик небольшим количеством алго-приправленного мусора. Мы слишком элегантны для этого."
5 changes: 5 additions & 0 deletions ru/subscribe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: subscribe
title: Подписка
lang: ru
---
7 changes: 6 additions & 1 deletion zh/locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ github: GitHub
title: 算法交易库
footer_copyright: 版权所有。
footer_contact: 联系我们
contribute: 在GitHub上贡献
contribute: 在GitHub上贡献
subscribe: 订阅
subscribe_title: 加入我们的算法交易奇妙通讯!
subscribe_intro: "欢迎来到算法交易宇宙中最令人兴奋的通讯!🚀 准备好让你的大脑被算法世界的最新最伟大的消息炸翻了吗?系好安全带,亲爱的,因为你将要开始一段疯狂的旅程!"
subscribe_outro: "不要错过这个千载难逢的机会,成为镇上最酷算法俱乐部的一员。如果你现在不订阅,你会比市场崩溃时故障的交易机器人更懊悔!"
subscribe_nospam: "P.S. 我们保证不会发送垃圾邮件,即使你恳求我们在你的收件箱里撒一些算法调味的垃圾邮件。我们就是这么有品位。"
5 changes: 5 additions & 0 deletions zh/subscribe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: subscribe
title: 订阅
lang: zh
---

0 comments on commit 6a0bb5f

Please sign in to comment.