-
+
{ referrer.name }
diff --git a/assets/package-lock.json b/assets/package-lock.json
index bf9b41bfd..df7cb006c 100644
--- a/assets/package-lock.json
+++ b/assets/package-lock.json
@@ -1069,6 +1069,26 @@
"purgecss": "^2.1.0"
}
},
+ "@tailwindcss/custom-forms": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/custom-forms/-/custom-forms-0.2.1.tgz",
+ "integrity": "sha512-XdP5XY6kxo3x5o50mWUyoYWxOPV16baagLoZ5uM41gh6IhXzhz/vJYzqrTb/lN58maGIKlpkxgVsQUNSsbAS3Q==",
+ "requires": {
+ "lodash": "^4.17.11",
+ "mini-svg-data-uri": "^1.0.3",
+ "traverse": "^0.6.6"
+ }
+ },
+ "@tailwindcss/ui": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/ui/-/ui-0.1.3.tgz",
+ "integrity": "sha512-ggEEFj0N6YY6fFjHtoGArv9j7wr5nj+TswpGzEezN2l15jHJK1NZ+Lnt0XKsbJy2zWFSNy/KKpPCbh3d6/66tw==",
+ "requires": {
+ "@tailwindcss/custom-forms": "^0.2.1",
+ "hex-to-rgba": "^2.0.1",
+ "postcss-selector-parser": "^6.0.2"
+ }
+ },
"@types/color-name": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
@@ -1452,7 +1472,7 @@
},
"util": {
"version": "0.10.3",
- "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",
+ "resolved": "http://registry.npmjs.org/util/-/util-0.10.3.tgz",
"integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",
"dev": true,
"requires": {
@@ -2786,8 +2806,7 @@
"cssesc": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
- "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
- "dev": true
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="
},
"cssnano": {
"version": "4.1.10",
@@ -4644,6 +4663,11 @@
"integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==",
"dev": true
},
+ "hex-to-rgba": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/hex-to-rgba/-/hex-to-rgba-2.0.1.tgz",
+ "integrity": "sha512-5XqPJBpsEUMsseJUi2w2Hl7cHFFi3+OO10M2pzAvKB1zL6fc+koGMhmBqoDOCB4GemiRM/zvDMRIhVw6EkB8dQ=="
+ },
"history": {
"version": "4.10.1",
"resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz",
@@ -4838,8 +4862,7 @@
"indexes-of": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz",
- "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=",
- "dev": true
+ "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc="
},
"infer-owner": {
"version": "1.0.4",
@@ -5262,7 +5285,7 @@
"dependencies": {
"json5": {
"version": "0.5.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
+ "resolved": "http://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
"integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
"dev": true
}
@@ -5281,8 +5304,7 @@
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
- "dev": true
+ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
},
"lodash.memoize": {
"version": "4.1.2",
@@ -5472,6 +5494,11 @@
"webpack-sources": "^1.1.0"
}
},
+ "mini-svg-data-uri": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.1.3.tgz",
+ "integrity": "sha512-EeKOmdzekjdPe53/GdxmUpNgDQFkNeSte6XkJmOBt4BfWL6FQ9G9RtLNh+JMjFS3LhdpSICMIkZdznjiecASHQ=="
+ },
"minimalistic-assert": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
@@ -8050,7 +8077,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",
"integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==",
- "dev": true,
"requires": {
"cssesc": "^3.0.0",
"indexes-of": "^1.0.1",
@@ -8538,7 +8564,7 @@
"dependencies": {
"jsesc": {
"version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
"integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
"dev": true
}
@@ -9582,6 +9608,11 @@
"shapefile": "0.3"
}
},
+ "traverse": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz",
+ "integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc="
+ },
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
@@ -9730,8 +9761,7 @@
"uniq": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz",
- "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=",
- "dev": true
+ "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8="
},
"uniqs": {
"version": "2.0.0",
diff --git a/assets/package.json b/assets/package.json
index b0c7d3fae..1afd8734c 100644
--- a/assets/package.json
+++ b/assets/package.json
@@ -6,6 +6,7 @@
"watch": "webpack --mode development --watch"
},
"dependencies": {
+ "@tailwindcss/ui": "^0.1.3",
"autoprefixer": "^9.7.4",
"chart.js": "^2.9.3",
"datamaps": "^0.5.9",
diff --git a/assets/postcss.config.js b/assets/postcss.config.js
index 2f347c00c..8a10f0c35 100644
--- a/assets/postcss.config.js
+++ b/assets/postcss.config.js
@@ -4,7 +4,7 @@ const purgecss = require('@fullhuman/postcss-purgecss')({
'../lib/plausible_web/templates/**/*.html.eex',
],
- defaultExtractor: content => content.match(/[\w-/:]+(? content.match(/[\w-/.:]+(?
Ghost Logo
diff --git a/assets/static/images/icon/google_sc.png b/assets/static/images/icon/google_sc.png
new file mode 100644
index 000000000..77d924215
Binary files /dev/null and b/assets/static/images/icon/google_sc.png differ
diff --git a/assets/static/images/icon/squarespace.png b/assets/static/images/icon/squarespace.png
new file mode 100644
index 000000000..0dbd4e0df
Binary files /dev/null and b/assets/static/images/icon/squarespace.png differ
diff --git a/assets/static/images/screenshot-countries.png b/assets/static/images/screenshot-countries.png
new file mode 100644
index 000000000..e53ca1eec
Binary files /dev/null and b/assets/static/images/screenshot-countries.png differ
diff --git a/assets/static/images/screenshot.png b/assets/static/images/screenshot.png
new file mode 100644
index 000000000..198ae9d91
Binary files /dev/null and b/assets/static/images/screenshot.png differ
diff --git a/assets/tailwind.config.js b/assets/tailwind.config.js
index 46bca05f8..d9f49d7bc 100644
--- a/assets/tailwind.config.js
+++ b/assets/tailwind.config.js
@@ -4,49 +4,20 @@ module.exports = {
center: true,
padding: '1rem',
},
- margin: (theme, { negative }) => ({
- auto: 'auto',
- '44': '11rem',
- ...theme('spacing'),
- ...negative(theme('spacing')),
- }),
- width: theme => ({
- auto: 'auto',
- ...theme('spacing'),
- '1/2': '50%',
- '1/3': '33.333333%',
- '31percent': '31%',
- '2/3': '66.666667%',
- '1/4': '25%',
- '2/4': '50%',
- '3/4': '75%',
- '1/5': '20%',
- '2/5': '40%',
- '3/5': '60%',
- '4/5': '80%',
- '1/6': '16.666667%',
- '2/6': '33.333333%',
- '3/6': '50%',
- '4/6': '66.666667%',
- '5/6': '83.333333%',
- '1/12': '8.333333%',
- '2/12': '16.666667%',
- '3/12': '25%',
- '4/12': '33.333333%',
- '5/12': '41.666667%',
- '6/12': '50%',
- '7/12': '58.333333%',
- '8/12': '66.666667%',
- '9/12': '75%',
- '10/12': '83.333333%',
- '11/12': '91.666667%',
- full: '100%',
- screen: '100vw',
- }),
+ extend: {
+ spacing: {
+ '44': '11rem'
+ },
+ width: {
+ '31percent': '31%',
+ }
+ },
},
variants: {
textColor: ['responsive', 'hover', 'focus', 'group-hover']
},
corePlugins: {},
- plugins: [],
+ plugins: [
+ require('@tailwindcss/ui')
+ ],
}
diff --git a/lib/plausible_web/templates/auth/login_form.html.eex b/lib/plausible_web/templates/auth/login_form.html.eex
index 4878b6899..24977759f 100644
--- a/lib/plausible_web/templates/auth/login_form.html.eex
+++ b/lib/plausible_web/templates/auth/login_form.html.eex
@@ -1,18 +1,18 @@
<%= form_for @conn, "/login", [class: "w-full max-w-md mx-auto bg-white shadow-md rounded px-8 py-6 mt-8"], fn f -> %>
<%= get_flash(@conn, :login_title) || "Enter your email and password" %>
<%= if get_flash(@conn, :login_instructions) do %>
-
<%= get_flash(@conn, :login_instructions) %>
+
<%= get_flash(@conn, :login_instructions) %>
<% end %>
<%= if @conn.assigns[:error] do %>
<%= @conn.assigns[:error] %>
<% end %>
<%= label f, :email, class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= email_input f, :email, class: "bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "user@example.com" %>
+ <%= email_input f, :email, class: "bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "user@example.com" %>
<%= label f, :password, class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= password_input f, :password, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
+ <%= password_input f, :password, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
Forgot password? Click here to reset it.
<%= submit "Login →", class: "button mt-4 w-full" %>
diff --git a/lib/plausible_web/templates/auth/password_form.html.eex b/lib/plausible_web/templates/auth/password_form.html.eex
index d819e091c..f4c4f651e 100644
--- a/lib/plausible_web/templates/auth/password_form.html.eex
+++ b/lib/plausible_web/templates/auth/password_form.html.eex
@@ -2,7 +2,7 @@
Set your password
Min 6 characters
- <%= password_input f, :password, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
+ <%= password_input f, :password, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
<%= if @conn.assigns[:changeset] do %>
<%= error_tag @changeset, :password %>
<% end %>
diff --git a/lib/plausible_web/templates/auth/password_reset_form.html.eex b/lib/plausible_web/templates/auth/password_reset_form.html.eex
index c25aa1cfd..84c172acf 100644
--- a/lib/plausible_web/templates/auth/password_reset_form.html.eex
+++ b/lib/plausible_web/templates/auth/password_reset_form.html.eex
@@ -2,7 +2,7 @@
Reset your password
Min 6 characters
- <%= password_input f, :password, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
+ <%= password_input f, :password, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
<%= if @conn.assigns[:changeset] do %>
<%= error_tag @changeset, :password %>
<% end %>
diff --git a/lib/plausible_web/templates/auth/password_reset_request_form.html.eex b/lib/plausible_web/templates/auth/password_reset_request_form.html.eex
index 0329d9f96..bad3a28cf 100644
--- a/lib/plausible_web/templates/auth/password_reset_request_form.html.eex
+++ b/lib/plausible_web/templates/auth/password_reset_request_form.html.eex
@@ -2,7 +2,7 @@
Reset your password
Enter your email so we can send a password reset link
- <%= email_input f, :email, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "user@example.com" %>
+ <%= email_input f, :email, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "user@example.com" %>
<%= if @conn.assigns[:error] do %>
<%= @conn.assigns[:error] %>
diff --git a/lib/plausible_web/templates/auth/password_reset_request_success.html.eex b/lib/plausible_web/templates/auth/password_reset_request_success.html.eex
index 4669cf670..7e4d9f333 100644
--- a/lib/plausible_web/templates/auth/password_reset_request_success.html.eex
+++ b/lib/plausible_web/templates/auth/password_reset_request_success.html.eex
@@ -4,7 +4,7 @@
We have sent an email with password reset instructions to
<%= @email %> if it exists in our database.
- Didn't recieve an email?
+ Didn't receive an email?
Please check your spam folder and contact
uku@plausible.io if the problem persists
diff --git a/lib/plausible_web/templates/auth/register_form.html.eex b/lib/plausible_web/templates/auth/register_form.html.eex
index 003335230..1c334cd85 100644
--- a/lib/plausible_web/templates/auth/register_form.html.eex
+++ b/lib/plausible_web/templates/auth/register_form.html.eex
@@ -8,13 +8,13 @@
Enter your details
<%= label f, :name, "Full name", class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= text_input f, :name, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "Jane Doe" %>
+ <%= text_input f, :name, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "Jane Doe" %>
<%= error_tag f, :name %>
<%= label f, :email, class: "block text-gray-700 text-sm font-bold mb-2" %>
No spam, guaranteed.
- <%= email_input f, :email, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "example@email.com" %>
+ <%= email_input f, :email, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "example@email.com" %>
<%= error_tag f, :email %>
diff --git a/lib/plausible_web/templates/auth/user_settings.html.eex b/lib/plausible_web/templates/auth/user_settings.html.eex
index cd333bbee..f627749f4 100644
--- a/lib/plausible_web/templates/auth/user_settings.html.eex
+++ b/lib/plausible_web/templates/auth/user_settings.html.eex
@@ -4,7 +4,7 @@
-
+
Current plan
<%= if @subscription do %>
<%= subscription_name(@subscription) %>
@@ -14,7 +14,7 @@
<%= link("Upgrade", to: "/billing/upgrade", class: "text-sm text-indigo-500 font-medium") %>
<% end %>
-
+
Next bill amount
<%= if @subscription do %>
$<%= @subscription.next_bill_amount %>
@@ -25,7 +25,7 @@
$0
<% end %>
-
+
Next bill date
<%= if @subscription && @subscription.next_bill_date do %>
@@ -58,12 +58,12 @@
<%= form_for @changeset, "/settings", [class: "max-w-sm"], fn f -> %>
<%= label f, :name, class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= text_input f, :name, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300" %>
+ <%= text_input f, :name, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300" %>
<%= error_tag f, :name %>
<%= label f, :email, class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= email_input f, :email, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300" %>
+ <%= email_input f, :email, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300" %>
<%= error_tag f, :email %>
<%= submit "Save changes", class: "button mt-4" %>
@@ -80,7 +80,7 @@
Deleting your account removes all sites and stats you've collected
<%= if @subscription && @subscription.status == "active" do %>
-
Delete my account
+
Delete my account
Your account cannot be deleted because you have an active subscription. If you want to delete your account, please cancel your subscription first.
<% else %>
<%= link "Delete my account ", to: "/me", method: :delete, class: "button bg-red-600 mt-6", data: [confirm: "Deleting your account cannot be reversed. Are you sure?"] %>
diff --git a/lib/plausible_web/templates/layout/app.html.eex b/lib/plausible_web/templates/layout/app.html.eex
index edc836ea9..34a0e6690 100644
--- a/lib/plausible_web/templates/layout/app.html.eex
+++ b/lib/plausible_web/templates/layout/app.html.eex
@@ -11,7 +11,7 @@
<%= render("_tracking.html", assigns) %>
-
+
<%= render("_svg_icons.html") %>
@@ -38,9 +38,9 @@
-
- <%= link("Settings", to: "/settings", class: "block py-2 px-2 border-b border-gray-400 hover:bg-gray-200") %>
- <%= link("Log out", to: "/logout", method: :post, class: "block py-2 px-2 hover:bg-gray-200") %>
+
+ <%= link("Settings", to: "/settings", class: "block py-2 px-2 border-b border-gray-300 hover:bg-gray-100") %>
+ <%= link("Log out", to: "/logout", method: :post, class: "block py-2 px-2 hover:bg-gray-100") %>
@@ -48,8 +48,12 @@
<% true -> %>
- <%= link("Login", to: "/login", class: "font-bold rounded py-2 px-3 hover:bg-gray-200", style: "line-height: 33px;") %>
- <%= link("Start free trial", to: "/register", class: "button button-md hidden sm:inline") %>
+
+ <%= link("Login", to: "/login", class: "inline-flex items-center justify-center px-5 py-2 border border-transparent text-base leading-6 font-medium rounded-md hover:bg-gray-200 focus:outline-none focus:shadow-outline transition duration-150 ease-in-out") %>
+
+
+ <%= link("Start free trial", to: "/register", class: "inline-flex items-center justify-center px-5 py-2 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:shadow-outline transition duration-150 ease-in-out") %>
+
<% end %>
diff --git a/lib/plausible_web/templates/page/contact_form.html.eex b/lib/plausible_web/templates/page/contact_form.html.eex
index f730319ec..3b7d88dd6 100644
--- a/lib/plausible_web/templates/page/contact_form.html.eex
+++ b/lib/plausible_web/templates/page/contact_form.html.eex
@@ -2,13 +2,13 @@
<%= form_for @conn, "/contact", [class: "bg-white shadow-md rounded px-8 py-6 mb-4 mt-16"], fn f -> %>
Contact us
Please get in touch with any questions and thoughts, we'll get back to you as soon as possible!
- <%= textarea f, :text, rows: 4, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300 text-xs mt-4" %>
+ <%= textarea f, :text, rows: 4, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300 text-xs mt-4" %>
<%= if @conn.assigns[:current_user] do %>
<%= hidden_input f, :email, value: @conn.assigns[:current_user].email %>
<% else %>
<%= label f, :email, "Your email (optional)", class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= email_input f, :email, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "example@email.com" %>
+ <%= email_input f, :email, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "example@email.com" %>
<% end %>
<%= submit "Send", class: "button mt-4 w-full" %>
diff --git a/lib/plausible_web/templates/page/index.html.eex b/lib/plausible_web/templates/page/index.html.eex
index 942537131..2ead1031b 100644
--- a/lib/plausible_web/templates/page/index.html.eex
+++ b/lib/plausible_web/templates/page/index.html.eex
@@ -1,251 +1,600 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
-
-
Top Referrers
-
-
Referrer
-
Visitors
+
+
+
+
+
+ Plausible is a lightweight and open-source website analytics tool. It doesn’t use cookies and is fully compliant with GDPR, CCPA and PECR.
+
+
+
+
+
+
+
+
+
+ <%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/screenshot.png")) %>
+
+
- <%= for {referrer, count} <- @demo_referrers do %>
-
-
- <%= PlausibleWeb.StatsView.bar(count, @demo_referrers, :blue) %>
-
<%= referrer %>
+
+
+
+
+
+
+ Plausible is built for privacy-conscious website owners. Here’s what makes it a great Google Analytics alternative
+
+
+
+
+
+
+
+
+
+
Check website traffic and site analytics in 1 minute
+
+ Plausible is simple and it cuts through the noise. No layers of menus, no need
+ for custom reports. Get all the important insights on one single page. No training necessary.
+
-
<%= count %>
- <% end %>
-
-
-
-
Top Pages
-
- Page
- Visitors
-
- <%= for {country, count} <- @demo_pages do %>
-
-
- <%= PlausibleWeb.StatsView.bar(count, @demo_pages, :orange) %>
-
<%= Plausible.Stats.CountryName.from_iso3166(country) %>
+
+
+
+
+
+
+
Lightweight script which keeps your site speed fast
+
+ Plausible script is 14 times smaller than Google Analytics script. You will reduce your page weight and your site will load faster.
+
-
<%= count %>
- <% end %>
-
-
-
-
-
- Simple analytics for your website
-
-
- Plausible is a lightweight, fully open-source alternative to Google Analytics
-
- <%= link("Start free trial", to: "/register", class: "button w-full sm:w-auto mt-6 mr-2") %>
- <%= link("View live demo", to: "/plausible.io", class: "button button-outline w-full sm:w-auto mt-4 md:mt-0") %>
-
-
-
-
-
-
Why Plausible?
-
- Plausible is built by and for privacy-conscious minimalists
- Here’s what makes it different from other solutions
-
+
+
+
+
+
+
+
Doesn’t track nor collect any personal data
+
+ Plausible respects the privacy of your visitors. Your traffic data is not used for any other purposes. You fully own and control it. See our data policy for details.
+
+
+
+
+
+
+
+
+
+
No cookie banners or GDPR/CCPA consent needed
+
+ Plausible does not use cookies and is fully compliant with GDPR, CCPA, PECR and other privacy regulations out of the box.
+
+
+
+
+
+
+
+
+
+
Define key goals and track conversions
+
+ Set custom events or page URLs as your goals and see how they convert over time to understand and identify the trends that matter.
+
+
+
+
+
+
+
+
+
+
Get weekly or monthly reports directly into your inbox
+
+ Keep an eye on your traffic with automated email reports. Email reports can be scheduled to be sent to multiple recipients.
+
+
+
+
+
+
+
+
+
+
Open your web analytics to everyone
+
+ Your stats are private by default but you can choose to be transparent and make them public so anyone with your custom link can view them.
+
+
+
+
+
+
+
+
+
+
Share the stats privately with your clients
+
+ You can share your stats privately by generating a shared link. This link is impossible to guess but
+ you can add password protection for extra security.
+
+
+
+
+
+
+
-
-
-
-
-
Clutter-free
-
- Stop digging through complex reports to find what you’re looking for. Plausible presents the most important information to you on a single page.
-
-
+
-
-
-
Lightweight
-
- Plausible works by loading a script on your website, like Google Analytics. Our script is 14x smaller, making your website quicker to load.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Google Analytics is overkill for most site owners. Plausible is easy to use and understand with no training or prior experience.
-
-
-
-
Open source
-
- Plausible is fully open source and <%= link("available on Github", to: "https://github.com/plausible-insights/plausible", class: "text-indigo-500") %>. Feel free to check out the code and <%= link("read in depth about our data policy", to: "/data-policy", class: "text-indigo-500") %>
-
+
+
+
+
+
+
Unique visitors, total page views and the bounce rate
+
+ Choose the time range that you want to analyze. The visitor numbers are automatically presented on an hourly, daily or monthly graph.
+
+
+
+
+
+
+
+
+
Top referral sources and most visited pages
+
+ Answer the most important question about your website – where are your visitors coming from and what are they viewing?
+
+
+
+
+
+
+
+
+
Visitor location and device stats
+
+ See the list of countries your traffic is coming from. See the device, browser and operating system your visitors are using. All the basics in a completely anonymous way.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/screenshot-countries.png"), class: "relative mx-auto shadow-xl", alt: "Screenshot of referrers") %>
+
-
-
-
-
-
Goals & Conversions
-
- Find out which referrers are driving the most conversions to your site. Works with custom events or page URLs you want your visitors to reach.
-
-
+
-
-
-
Search keywords
-
- Integrate your dashboard with Google Search Console to get the most accurate reporting on your search keywords.
-
+
+
+
+
+
+
+
+
+ <%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/ghost.svg"), class: "max-h-12", alt: "Ghost") %>
+
+
+ <%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/squarespace.png"), class: "max-h-12", alt: "Squarespace") %>
+
+
+
+
+
+
+
+
+
+
-
-
-
-
Email reports
-
- Keep an eye on your traffic with a weekly email report including pageviews, visitor numbers, top pages and top referrers for the week.
+
+
+
+ Plausible is simple to set up and integrate with popular tools such as WordPress, Ghost, Squarespace, Wix, Weebly and Google Search Console.
-
-
-
Check out our analytics
- <%= link("View live demo →", to: "/plausible.io", class: "button mt-6") %>
-
-
-
-
Simple, traffic based pricing
-
Try Plausible free for 30 days
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Up to 10k pageviews/mo
-
-
-
-
- Unlimited websites
-
+
-
-
- 100% data ownership
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ “Plausible is focused on exactly what I need: clear insights into my site visitors, without getting in my way.
+
+
+
-
-
-
-
-
-
-
-
- Up to 100k pageviews/mo
-
-
-
-
- Unlimited websites
-
+
+
+
+
+
-
-
-
100% data ownership
+
+
+
+
+
+ Pricing
+
+
+
+ Sign up for 30-day unlimited trial. No credit card required.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Personal
+
-
-
-
-
Priority support
+
-
-
- <%= link("Start free trial →", to: "/register", class: "button mt-6 inline-block") %>
-
No credit card required
+
+
-
-
-
-
-
-
-
-
$36
-
per month
+
+
+
+
+ Startup
+
-
-
-
Up to 1m pageviews/mo
+
-
-
-
- Unlimited websites
+
+
+
+
-
-
-
- 100% data ownership
+
+
+
+
+
+
+ Business
+
-
-
-
-
Priority support
+
-
-
- <%= link("Start free trial →", to: "/register", class: "button mt-6 inline-block") %>
-
No credit card required
+
+
@@ -253,92 +602,94 @@
+
-
-
-
What people are saying
-
-
-
-
-
-
Plausible is focused on exactly what I need: clear insights into my site visitors, without getting in my way
-
-
- <%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/felipe.jpg"), class: "inline w-12 h-12 object-cover rounded-full mr-3", alt: "Image of Felipe Sere") %>
-
+
+
+
+
+
+
-
- Felipe Sere
-
- <%= link("@felipesere", to: "https://twitter.com/felipesere", class: "text-sm text-gray-600") %>
+
+ 1. Can I use Plausible on more than one website?
+
+
+
+ Yes. You can add as many websites as you want under a single account. You will be charged for the total pageviews on all of your websites combined. For example, on the 10k plan you can either have 10 websites that each get 1000 pageviews per month, or one website that gets 10,000 pageviews per month.
+
+
-
-
-
-
-
-
-
-
All the stats you need in a single page. Plausible's user experience and user interface are the stark opposite of Google Analytics.
-
-
- <%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/makis.jpg"), class: "inline w-12 h-12 rounded-full mr-3", alt: "Image of Makis Otman") %>
-
-
-
- Makis Otman
-
- <%= link("@makisotman", to: "https://twitter.com/makisotman", class: "text-sm text-gray-600") %>
+
+
+ 2. What happens if I go over my plan limit?
+
+
+
+ You don't have to pay for a one-time spike in traffic, but if you go over your plan limit for 2 months in a row, we will contact you to discuss upgrade options.
+
+
+
+
+
+ 3. Is Plausible open-source?
+
+
+
+ Plausible is fully open-source and available <%= link("on Github", to: "https://github.com/plausible-insights/plausible", class: "text-indigo-600") %> so you can check out the code. We welcome feedback, have a public roadmap and are available to you via email.
+
+
-
-
-
-
-
-
-
I love Plausible because it is lightweight and looks beautiful. It shows me all the statistics that I need in a simple and unique style.
-
-
- <%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/markus.jpg"), class: "inline w-12 h-12 rounded-full mr-3", alt: "Image of Markus Schranz") %>
-
-
-
Markus Schranz
- <%= link("@ma_schranz", to: "https://twitter.com/ma_schranz", class: "text-sm text-gray-600") %>
+
+
+
+ 4. Why is Plausible not free like Google Analytics?
+
+
+
+ Google Analytics is free because Google has built their company and their wealth by collecting and analyzing huge amounts of personal information from web users and using these personal and behavioral insights to sell advertisements.
+
+ With Plausible, you 100% own and control all of your website data. This data is not being shared with or sold to any third-parties. Since we don't make money from targeted advertisement, we must ask for a small fee to keep the servers running.
+
+
+
+
+
+ 5. How do you make sure my visitors' privacy is protected?
+
+
+
+ We take painstaking care to not collect or store any personal information that could be tied back to the visitor. You own your data and we will never sell it or use it in nefarious ways. <%= link("Read more about our data policy", to: "/data-policy", class: "text-indigo-600") %>.
+
+
-
+
+
-
-
Frequently asked questions
-
-
-
1. Can I use Plausible on more than one website?
-
- Yes. You can add as many websites as you want under a single account. You will be charged for the total pageviews on all of your websites combined. For example, on the 10k plan you can either have 10 websites that each get 1000 pageviews per month, or one website that gets 10,000 pageviews per month.
+
+
+
+
-
-
-
2. What happens if I go over my plan limit?
-
- You don't have to pay for a one-time spike in traffic, but if you go over your plan limit for 2 months in a row, we will
- contact you to discuss upgrade options.
+
-
-
-
3. How do you make sure my visitors' privacy is protected?
-
- We take painstaking care to not collect or store any personal information that could be tied back to the visitor. You own your data and we will never sell it or use it in nefarious ways. <%= link("Read more about our data policy", to: "/data-policy", class: "text-indigo-500") %>.
-
-
-
-
- <%= link("Ask a question to the founder", to: "mailto:uku@plausible.io", class: "text-indigo-500") %>
-
diff --git a/lib/plausible_web/templates/page/sites.html.eex b/lib/plausible_web/templates/page/sites.html.eex
index 278005c28..786a1870b 100644
--- a/lib/plausible_web/templates/page/sites.html.eex
+++ b/lib/plausible_web/templates/page/sites.html.eex
@@ -7,10 +7,10 @@
<%= for site <- @sites do %>
-
+
<%= site.domain %>
- <%= link(to: "/#{URI.encode_www_form(site.domain)}/settings", class: "flex absolute hover:bg-gray-200 transition rounded py-2 px-5", style: "top: 12px; right: 6px;") do %>
+ <%= link(to: "/#{URI.encode_www_form(site.domain)}/settings", class: "flex absolute hover:bg-gray-100 transition rounded py-2 px-5", style: "top: 12px; right: 6px;") do %>
diff --git a/lib/plausible_web/templates/site/custom_domain_snippet.html.eex b/lib/plausible_web/templates/site/custom_domain_snippet.html.eex
index 5a6b69035..773cb288d 100644
--- a/lib/plausible_web/templates/site/custom_domain_snippet.html.eex
+++ b/lib/plausible_web/templates/site/custom_domain_snippet.html.eex
@@ -12,7 +12,7 @@
- <%= textarea f, :domain, id: "snippet_code", class: "transition overflow-hidden bg-gray-200 appearance-none border border-transparent rounded w-full p-2 pr-6 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300 text-xs mt-4 resize-none", value: snippet(@site), rows: 2, readonly: "readonly" %>
+ <%= textarea f, :domain, id: "snippet_code", class: "transition overflow-hidden bg-gray-100 appearance-none border border-transparent rounded w-full p-2 pr-6 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300 text-xs mt-4 resize-none", value: snippet(@site), rows: 2, readonly: "readonly" %>
diff --git a/lib/plausible_web/templates/site/new.html.eex b/lib/plausible_web/templates/site/new.html.eex
index 68dbaf0e2..3a1f4b787 100644
--- a/lib/plausible_web/templates/site/new.html.eex
+++ b/lib/plausible_web/templates/site/new.html.eex
@@ -3,7 +3,7 @@
<%= label f, :domain, class: "block text-gray-700 text-sm font-bold" %>
Just the naked domain without www or https://
- <%= text_input f, :domain, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-400", placeholder: "example.com" %>
+ <%= text_input f, :domain, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-400", placeholder: "example.com" %>
<%= error_tag f, :domain %>
@@ -11,7 +11,7 @@
To make sure we agree on what 'today' means
- <%= select f, :timezone, Plausible.Timezones.options(), id: "tz-select", selected: "Etc/Greenwich", class: "block appearance-none w-full bg-gray-200 text-gray-700 cursor-pointer hover:border-gray-500 p-2 pr-8 rounded leading-normal focus:outline-none" %>
+ <%= select f, :timezone, Plausible.Timezones.options(), id: "tz-select", selected: "Etc/Greenwich", class: "block appearance-none w-full bg-gray-100 text-gray-700 cursor-pointer hover:border-gray-500 p-2 pr-8 rounded leading-normal focus:outline-none" %>
diff --git a/lib/plausible_web/templates/site/new_custom_domain.html.eex b/lib/plausible_web/templates/site/new_custom_domain.html.eex
index 3ba5f9401..361a0f37b 100644
--- a/lib/plausible_web/templates/site/new_custom_domain.html.eex
+++ b/lib/plausible_web/templates/site/new_custom_domain.html.eex
@@ -7,7 +7,7 @@
<%= label f, :domain, class: "block text-sm font-bold" %>
- <%= text_input f, :domain, class: "transition mt-3 bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "stats.[yourdomain].com" %>
+ <%= text_input f, :domain, class: "transition mt-3 bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "stats.[yourdomain].com" %>
<%= error_tag f, :domain %>
diff --git a/lib/plausible_web/templates/site/new_goal.html.eex b/lib/plausible_web/templates/site/new_goal.html.eex
index ff4c25871..ba32c24c3 100644
--- a/lib/plausible_web/templates/site/new_goal.html.eex
+++ b/lib/plausible_web/templates/site/new_goal.html.eex
@@ -2,18 +2,18 @@
Add goal for <%= @site.domain %>
Goal trigger
-
Pageview
-
Custom event
+
Pageview
+
Custom event
<%= label f, :page_path, class: "block text-sm font-bold" %>
- <%= text_input f, :page_path, class: "transition mt-3 bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "/success" %>
+ <%= text_input f, :page_path, class: "transition mt-3 bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "/success" %>
<%= error_tag f, :page_path %>
<%= label f, :event_name, class: "block text-sm font-bold" %>
- <%= text_input f, :event_name, class: "transition mt-3 bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "Signup" %>
+ <%= text_input f, :event_name, class: "transition mt-3 bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300", placeholder: "Signup" %>
<%= error_tag f, :event_name %>
diff --git a/lib/plausible_web/templates/site/new_shared_link.html.eex b/lib/plausible_web/templates/site/new_shared_link.html.eex
index a5e617abf..6b224e4b4 100644
--- a/lib/plausible_web/templates/site/new_shared_link.html.eex
+++ b/lib/plausible_web/templates/site/new_shared_link.html.eex
@@ -6,7 +6,7 @@
<%= label f, :password, "Password (optional)", class: "block text-sm font-bold" %>
- <%= password_input f, :password, class: "transition mt-3 bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
+ <%= password_input f, :password, class: "transition mt-3 bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
<%= error_tag f, :password %>
diff --git a/lib/plausible_web/templates/site/settings.html.eex b/lib/plausible_web/templates/site/settings.html.eex
index a484eee9f..4e6a4d5b8 100644
--- a/lib/plausible_web/templates/site/settings.html.eex
+++ b/lib/plausible_web/templates/site/settings.html.eex
@@ -12,13 +12,13 @@
<%= form_for @changeset, "/#{URI.encode_www_form(@site.domain)}/settings", [class: "max-w-xs"], fn f -> %>
<%= label f, :domain, class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= text_input f, :domain, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300 ", disabled: "disabled" %>
+ <%= text_input f, :domain, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300 ", disabled: "disabled" %>
<%= error_tag f, :domain %>
<%= label f, :timezone, "Reporting Timezone", class: "block text-gray-700 text-sm font-bold mb-2" %>
- <%= select f, :timezone, Plausible.Timezones.options(), class: "block appearance-none w-full bg-gray-200 text-gray-700 cursor-pointer hover:border-gray-500 p-2 pr-8 rounded leading-normal focus:outline-none" %>
+ <%= select f, :timezone, Plausible.Timezones.options(), class: "block appearance-none w-full bg-gray-100 text-gray-700 cursor-pointer hover:border-gray-500 p-2 pr-8 rounded leading-normal focus:outline-none" %>
@@ -35,7 +35,7 @@
<%= if @site.public do %>
Stats for <%= @site.domain %> are currently
public . Anyone with the following link can view the stats:
-
+
@@ -61,11 +61,11 @@
<%= for link <- @shared_links do %>
-
-
+
+
- <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/shared-links/#{link.slug}", method: :delete, class: "py-2 px-4 bg-gray-200 text-red-600 rounded-l-none", data: [confirm: "Are you sure you want to delete this shared link? The stats will not be accessible with this link anymore."]) do %>
+ <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/shared-links/#{link.slug}", method: :delete, class: "py-2 px-4 bg-gray-100 text-red-600 rounded-l-none", data: [confirm: "Are you sure you want to delete this shared link? The stats will not be accessible with this link anymore."]) do %>
<% end %>
@@ -119,7 +119,7 @@
<%= form_for Plausible.Site.GoogleAuth.changeset(@site.google_auth), "/#{URI.encode_www_form(@site.domain)}/settings/google", [class: "max-w-xs"], fn f -> %>
- <%= select f, :property, @search_console_domains, prompt: "(Choose property)", class: "block appearance-none w-full bg-gray-200 text-gray-700 cursor-pointer hover:border-gray-500 p-2 pr-8 rounded leading-normal focus:outline-none" %>
+ <%= select f, :property, @search_console_domains, prompt: "(Choose property)", class: "block appearance-none w-full bg-gray-100 text-gray-700 cursor-pointer hover:border-gray-500 p-2 pr-8 rounded leading-normal focus:outline-none" %>
@@ -158,14 +158,14 @@
Weekly report recipients
<%= for recipient <- @weekly_report.recipients do %>
-
+
<%= recipient %>
<%= button("❌", to: "/sites/#{URI.encode_www_form(@site.domain)}/weekly-report/recipients/#{recipient}", method: :delete) %>
<% end %>
<%= form_for @conn, "/sites/#{URI.encode_www_form(@site.domain)}/weekly-report/recipients", fn f -> %>
- <%= email_input f, :recipient, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300", style: "flex-grow: 2", placeholder: "recipient@example.com" %>
+ <%= email_input f, :recipient, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300", style: "flex-grow: 2", placeholder: "recipient@example.com" %>
<%= submit "Add recipient", class: "button rounded-l-none whitespace-no-wrap" %>
<% end %>
@@ -188,14 +188,14 @@
Monthly report recipients
<%= for recipient <- @monthly_report.recipients do %>
-
+
<%= recipient %>
<%= button("❌", to: "/sites/#{URI.encode_www_form(@site.domain)}/monthly-report/recipients/#{recipient}", method: :delete) %>
<% end %>
<%= form_for @conn, "/sites/#{URI.encode_www_form(@site.domain)}/monthly-report/recipients", fn f -> %>
- <%= email_input f, :recipient, class: "transition bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300", style: "flex-grow: 2", placeholder: "recipient@example.com" %>
+ <%= email_input f, :recipient, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300", style: "flex-grow: 2", placeholder: "recipient@example.com" %>
<%= submit "Add recipient", class: "button rounded-l-none whitespace-no-wrap" %>
<% end %>
@@ -222,7 +222,7 @@
Include this snippet in the <head> of your website.
- <%= textarea f, :domain, id: "snippet_code", class: "transition overflow-hidden bg-gray-200 appearance-none border border-transparent rounded w-full p-2 pr-6 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300 text-xs mt-2 resize-none", value: snippet(@site), rows: 2 %>
+ <%= textarea f, :domain, id: "snippet_code", class: "transition overflow-hidden bg-gray-100 appearance-none border border-transparent rounded w-full p-2 pr-6 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300 text-xs mt-2 resize-none", value: snippet(@site), rows: 2 %>
diff --git a/lib/plausible_web/templates/site/snippet.html.eex b/lib/plausible_web/templates/site/snippet.html.eex
index cf95b9500..3fc5bec69 100644
--- a/lib/plausible_web/templates/site/snippet.html.eex
+++ b/lib/plausible_web/templates/site/snippet.html.eex
@@ -4,7 +4,7 @@
Paste this snippet in the <head> of your website.
- <%= textarea f, :domain, id: "snippet_code", class: "transition overflow-hidden bg-gray-200 appearance-none border border-transparent rounded w-full p-2 pr-6 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-400 text-xs mt-4 resize-none", value: snippet(@site), rows: 2, readonly: "readonly" %>
+ <%= textarea f, :domain, id: "snippet_code", class: "transition overflow-hidden bg-gray-100 appearance-none border border-transparent rounded w-full p-2 pr-6 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-400 text-xs mt-4 resize-none", value: snippet(@site), rows: 2, readonly: "readonly" %>
diff --git a/lib/plausible_web/templates/stats/shared_link_password.html.eex b/lib/plausible_web/templates/stats/shared_link_password.html.eex
index 8ba823066..cf66b0334 100644
--- a/lib/plausible_web/templates/stats/shared_link_password.html.eex
+++ b/lib/plausible_web/templates/stats/shared_link_password.html.eex
@@ -6,7 +6,7 @@
<%= label f, :password, "Password", class: "block text-sm font-bold" %>
- <%= password_input f, :password, class: "transition mt-3 bg-gray-200 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
+ <%= password_input f, :password, class: "transition mt-3 bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:bg-white focus:border-gray-300" %>
<%= if @conn.assigns[:error] do %>
<%= @conn.assigns[:error] %>