Skip to content

Commit 6705491

Browse files
Adjust margin between sections
1 parent 6b23a0d commit 6705491

File tree

2 files changed

+192
-142
lines changed

2 files changed

+192
-142
lines changed

pkg/emailtemplate/installation_email.gotemplate

Lines changed: 93 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,17 @@
102102
margin: 1em 0;
103103
}
104104

105+
section {
106+
margin: 2rem 0;
107+
}
108+
105109
p {
106-
margin: 1rem 0;
110+
margin: 0 0;
111+
}
112+
113+
.my-1em {
114+
margin-top: 1em;
115+
margin-bottom: 1em;
107116
}
108117

109118
.list-number {
@@ -143,71 +152,89 @@
143152
<tr>
144153
<td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;">
145154
<div style="font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;font-size:13px;line-height:1;text-align:left;color:#000000;">
146-
<p>Hey there,</p>
147-
<p>Thank you for purchasing Authgear ONCE. This email contains everything you need to install and host Authgear on your own server.</p>
148-
<p>You can see this 7-minute video to follow along: <a href="https://youtu.be/VpSZYHJu7DM">https://youtu.be/VpSZYHJu7DM</a></p>
149-
<p>Before you begin, you will need a few things:</p>
150-
<ul>
151-
<li>A domain name</li>
152-
<li>A VM/computer with Docker installed</li>
153-
</ul>
154-
<p>Follow these steps to get Authgear running:</p>
155-
<ol class="list-number">
156-
<li>
157-
<p><strong>Choose a machine to host Authgear</strong>, for example cloud services like <a target="_blank" href="https://docs.authgear.com/authgear-once/install-authgear-once-on-vultr">Vultr</a>, <a target="_blank" href="https://docs.authgear.com/authgear-once/install-authgear-once-on-amazon-web-services-aws">AWS</a>, or <a target="_blank" href="https://docs.authgear.com/authgear-once/install-authgear-once-on-a-vm">any Linux machine</a>.</p>
158-
</li>
159-
<li>
160-
<p><strong>Add the following DNS records for your domain</strong> and point them to the IP of the machine.</p>
161-
<table class="mytable">
162-
<thead>
163-
<tr>
164-
<th>Type</th>
165-
<th>Name</th>
166-
<th>Value</th>
167-
<th>Usage</th>
168-
</tr>
169-
</thead>
170-
<tbody>
171-
<tr>
172-
<td>A</td>
173-
<td>auth</td>
174-
<td>IP of the machine</td>
175-
<!-- Add https://en.wikipedia.org/wiki/Word_joiner to prevent email client from turning it into a link -->
176-
<td>The auth endpoint, your users will see <strong>auth&#x2060;.yourdomain&#x2060;.com</strong> when they login</td>
177-
</tr>
178-
<tr>
179-
<td>A</td>
180-
<td>authgear-portal</td>
181-
<td>IP of the machine</td>
182-
<!-- Add https://en.wikipedia.org/wiki/Word_joiner to prevent email client from turning it into a link -->
183-
<td>The admin portal, you will login at <strong>authgear-portal&#x2060;.yourdomain&#x2060;.com</strong> to configure and manage users</td>
184-
</tr>
185-
<tr>
186-
<td>A</td>
187-
<td>authgear-portal-accounts</td>
188-
<td>IP of the machine</td>
189-
<td>A domain for logging into the Authgear portal. You don't need to access it directly.</td>
190-
</tr>
191-
</tbody>
192-
</table>
193-
</li>
194-
<li><strong>Connect a terminal to the machine.</strong> Either via SSH or the web console provided by your cloud provider.</li>
195-
<li><strong>Install Docker on the machine.</strong> Visit <a target="_blank" href="https://docs.docker.com/get-started/get-docker/">https://docs.docker.com/get-started/get-docker/</a> for instructions.</li>
196-
<li><strong>Run the following command in the terminal</strong></li>
197-
</ol>
198-
<pre>{{ $.InstallationOneliner }}</pre>
199-
<p> The personalized command above contains your unique license key. <strong>DO NOT share this command on public forums, websites, or repositories</strong> as it's tied to the license you purchased. </p>
200-
<p> After installation, you can check for updates and upgrade your Authgear instance by running: </p>
201-
<pre>authgear-once upgrade</pre>
202-
<p> If you'd like to run multiple installations of Authgear, you'll need to get one license per installation/domain. </p>
203-
<p> We're excited to see what you build with Authgear! Here's how to get help if needed: </p>
204-
<ul>
205-
<li>Documentation: <a target="_blank" href="https://docs.authgear.com">docs.authgear.com</a></li>
206-
<li>Community: Join our <a target="_blank" href="https://discord.gg/Kdn5vcYwAS">Discord community</a> to share your project and connect with other developers</li>
207-
<li>Email: <a target="_blank" href="mailto:once@authgear.com">once@authgear.com</a></li>
208-
</ul>
209-
<p>Happy building!</p>
210-
<p>Authgear team</p>
155+
<section>
156+
<p>Hey there,</p>
157+
</section>
158+
<section>
159+
<p>Thank you for purchasing Authgear ONCE. This email contains everything you need to install and host Authgear on your own server.</p>
160+
</section>
161+
<section>
162+
<p>You can see this 7-minute video to follow along: <a href="https://youtu.be/VpSZYHJu7DM">https://youtu.be/VpSZYHJu7DM</a></p>
163+
</section>
164+
<section>
165+
<p>Before you begin, you will need a few things:</p>
166+
<ul>
167+
<li>A domain name</li>
168+
<li>A VM/computer with Docker installed</li>
169+
</ul>
170+
</section>
171+
<section>
172+
<p>Follow these steps to get Authgear running:</p>
173+
<ol class="list-number">
174+
<li>
175+
<strong>Choose a machine to host Authgear</strong>, for example cloud services like <a target="_blank" href="https://docs.authgear.com/authgear-once/install-authgear-once-on-vultr">Vultr</a>, <a target="_blank" href="https://docs.authgear.com/authgear-once/install-authgear-once-on-amazon-web-services-aws">AWS</a>, or <a target="_blank" href="https://docs.authgear.com/authgear-once/install-authgear-once-on-a-vm">any Linux machine</a>.
176+
</li>
177+
<li>
178+
<p class="my-1em"><strong>Add the following DNS records for your domain</strong> and point them to the IP of the machine.</p>
179+
<table class="mytable">
180+
<thead>
181+
<tr>
182+
<th>Type</th>
183+
<th>Name</th>
184+
<th>Value</th>
185+
<th>Usage</th>
186+
</tr>
187+
</thead>
188+
<tbody>
189+
<tr>
190+
<td>A</td>
191+
<td>auth</td>
192+
<td>IP of the machine</td>
193+
<!-- Add https://en.wikipedia.org/wiki/Word_joiner to prevent email client from turning it into a link -->
194+
<td>The auth endpoint, your users will see <strong>auth&#x2060;.yourdomain&#x2060;.com</strong> when they login</td>
195+
</tr>
196+
<tr>
197+
<td>A</td>
198+
<td>authgear-portal</td>
199+
<td>IP of the machine</td>
200+
<!-- Add https://en.wikipedia.org/wiki/Word_joiner to prevent email client from turning it into a link -->
201+
<td>The admin portal, you will login at <strong>authgear-portal&#x2060;.yourdomain&#x2060;.com</strong> to configure and manage users</td>
202+
</tr>
203+
<tr>
204+
<td>A</td>
205+
<td>authgear-portal-accounts</td>
206+
<td>IP of the machine</td>
207+
<td>A domain for logging into the Authgear portal. You don't need to access it directly.</td>
208+
</tr>
209+
</tbody>
210+
</table>
211+
</li>
212+
<li><strong>Connect a terminal to the machine.</strong> Either via SSH or the web console provided by your cloud provider.</li>
213+
<li><strong>Install Docker on the machine.</strong> Visit <a target="_blank" href="https://docs.docker.com/get-started/get-docker/">https://docs.docker.com/get-started/get-docker/</a> for instructions.</li>
214+
<li><strong>Run the following command in the terminal</strong></li>
215+
</ol>
216+
<pre>{{ $.InstallationOneliner }}</pre>
217+
<p class="my-1em"> The personalized command above contains your unique license key. <strong>DO NOT share this command on public forums, websites, or repositories</strong> as it's tied to the license you purchased. </p>
218+
</section>
219+
<section>
220+
<p class="my-1em"> After installation, you can check for updates and upgrade your Authgear instance by running: </p>
221+
<pre>authgear-once upgrade</pre>
222+
</section>
223+
<section>
224+
<p> If you'd like to run multiple installations of Authgear, you'll need to get one license per installation/domain. </p>
225+
</section>
226+
<section>
227+
<p class="my-1em"> We're excited to see what you build with Authgear! Here's how to get help if needed: </p>
228+
<ul>
229+
<li>Documentation: <a target="_blank" href="https://docs.authgear.com">docs.authgear.com</a></li>
230+
<li>Community: Join our <a target="_blank" href="https://discord.gg/Kdn5vcYwAS">Discord community</a> to share your project and connect with other developers</li>
231+
<li>Email: <a target="_blank" href="mailto:once@authgear.com">once@authgear.com</a></li>
232+
</ul>
233+
<p>Happy building!</p>
234+
</section>
235+
<section>
236+
<p>Authgear team</p>
237+
</section>
211238
</div>
212239
</td>
213240
</tr>

0 commit comments

Comments
 (0)