Skip to content

Commit 9c3fee2

Browse files
committed
Updated code snippet, created partial for reuse, updated positioning.
1 parent e278ea3 commit 9c3fee2

File tree

7 files changed

+41
-15
lines changed

7 files changed

+41
-15
lines changed

modules/ROOT/pages/getting-started.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ Learn how to install {productname} via {cloudname}, package managers, self-hoste
2323
// Empty cell to even out rows
2424
// |
2525

26-
|===
26+
|===
27+
28+
include::partial$misc/admon-getting-started-with-tinymce.adoc[]
29+
30+
include::partial$misc/admon-account-creation-and-social-option.adoc[]

modules/ROOT/pages/invalid-api-key.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,8 @@ You can view the list of approved domains by logging into https://www.tiny.cloud
6868
* If you want to self-host {productname} and use our Premium features, https://www.tiny.cloud/contact/[get in touch with our Sales team] for a custom quote.
6969

7070
TIP: For additional information on Troubleshooting Tiny Cloud visit: xref:cloud-troubleshooting.adoc[Cloud Troubleshooting].
71+
72+
73+
include::partial$misc/admon-getting-started-with-tinymce.adoc[]
74+
75+
include::partial$misc/admon-account-creation-and-social-option.adoc[]

modules/ROOT/pages/usage-based-billing.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,6 @@ If you have an annual plan, your editor loads are calculated on a monthly basis
7171

7272
You will not automatically be upgraded. You will remain on your current plan and will automatically be charged $40 USD for each additional block of 1,000 editor loads over your plan limit. To avoid these charges, we encourage you to periodically review your editor load count to ensure you’re on the most appropriate pricing plan. You can always upgrade your plan in our Customer Portal > Settings > Billing Portal > Change Plans.
7373

74+
include::partial$misc/admon-getting-started-with-tinymce.adoc[]
75+
7476
include::partial$misc/admon-account-creation-and-social-option.adoc[]

modules/ROOT/partials/install/basic-quickstart-base.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ endif::[]
3434

3535
{productname} {productmajorversion} is a powerful and flexible rich text editor that can be embedded in web applications. This quick start covers how to add a {productname} editor to a web page using {sourcename}.
3636

37+
include::partial$misc/admon-account-creation-and-social-option.adoc[]
38+
3739
ifeval::["{productSource}" == "composer"]
3840

3941
To add {productname} to a PHP project using Composer, run the following on a command line:

modules/ROOT/partials/misc/admon-account-creation-and-social-option.adoc

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<p style="margin-bottom: 16px;">
44
It only takes 2 minutes to create your free Tiny account and get the API key:
55
</p>
6-
<div class="account-creation-buttons">
6+
<div>
77
<a href="https://tiny.cloud/signup?_gl=1*1m4fqt3*_ga*NDE5MTIxMjQwLjE3MzIxOTkwODE.*_ga_GQ50XYHWQZ*MTczMjI2OTAwMi4yLjEuMTczMjI2OTQwNy40LjAuMA..*_gcl_au*NTYyNTc2NTQyLjE3MzIxOTkwODE." class="account-creation-button" target="_blank" title="Sign up with Google">
8-
Sign up with email
8+
Sign up<span class="account-creation-button--full-text">&nbsp;with email</span>
99
<span class="social-signup">
1010
<img src="https://www.tiny.cloud/images/icons/google.svg" alt="Google" width="24" height="24">
1111
<img src="https://www.tiny.cloud/images/icons/github.svg" alt="GitHub" width="24" height="24">
@@ -14,16 +14,18 @@
1414
</a>
1515
</div>
1616
</div>
17+
1718
<style>
1819
.signup-promo {
1920
--radius: 3px;
2021
position: relative;
21-
padding: 16px;
22+
padding: 1rem;
2223
background: #f9f9fb;
23-
margin-bottom: 16px;
24+
margin: 1rem 0;
2425
border: 1px solid #e2e5ed;
2526
border-radius: var(--radius) 0 0 var(--radius)
2627
}
28+
2729
.signup-promo::before {
2830
content: '';
2931
position: absolute;
@@ -32,37 +34,36 @@
3234
background: linear-gradient(to bottom, #F66 15%, #4D66CB 85%);
3335
border-radius: var(--radius) 0 0 var(--radius)
3436
}
35-
.signup-promo .account-creation-buttons {
36-
display: flex;
37-
gap: 10px;
38-
--options-gap: 10px;
39-
}
37+
4038
.signup-promo .account-creation-button {
41-
--shine-size: 120px;
39+
--options-gap: 10px;
4240
text-decoration: none !important;
4341
padding: 8px 16px;
44-
background: #0c132c linear-gradient(120deg, #0c132c 45%, #335dff 55%) 0 0 / calc(200% + var(--shine-size)) 100% no-repeat;
42+
background: #0c132c;
4543
color: #fff;
4644
border-radius: 2px;
47-
display: flex;
45+
display: inline-flex;
4846
align-items: center;
4947
transition: background-color 0.15s;
5048
font-family: Fira Code;
5149
font-variant-ligatures: common-ligatures;
52-
transition: background-position .15s;
5350
}
51+
5452
.signup-promo .account-creation-button:hover {
55-
background-position: calc(-1 * var(--shine-size)) 0;
53+
background-color: #335dff;
5654
color: #fff;
5755
}
56+
5857
.signup-promo .account-creation-button:active {
5958
background-position: 100% 0;
6059
color: #fff;
6160
}
61+
6262
.signup-promo .account-creation-button .social-signup {
6363
display: flex;
6464
margin: 0 12px 0 0;
6565
}
66+
6667
.signup-promo .account-creation-button .social-signup img {
6768
width: 16px;
6869
height: 16px;
@@ -72,5 +73,11 @@
7273
border-left: 1px solid #0008;
7374
box-sizing: content-box;
7475
}
76+
77+
@media screen and (max-width: 700px) {
78+
.signup-promo .account-creation-button .account-creation-button--full-text {
79+
display: none;
80+
}
81+
}
7582
</style>
7683
++++
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
== Getting Started with {productname}
2+
3+
{productname} is a powerful, flexible rich text editor for web applications. This quick-start guide explains how to integrate {productname} into a web page with {companyname} Cloud.
4+
Install {productname} to add a feature-rich, sleek, and intuitive editor to your app with just a few lines of code. After registering, you'll receive a personalized code snippet with your API key and a guide to help you integrate {productname}.

modules/ROOT/partials/what-is-tinymce.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ The output created is in HTML5 and can include lists, tables, and other useful e
1010
* Installed with a package manager (self-hosted).
1111
* Extracted from a .zip file (self-hosted).
1212
13+
include::partial$misc/admon-getting-started-with-tinymce.adoc[]
14+
1315
include::partial$misc/admon-account-creation-and-social-option.adoc[]

0 commit comments

Comments
 (0)