diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 4f64d1d8..4ecbef8b 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -1,7 +1,11 @@ # frozen_string_literal: true class DashboardController < ApplicationController + skip_before_action :authenticate_user!, only: %i[index] + def index + return render 'pages/landing' unless signed_in? + @templates = current_account.templates.active end end diff --git a/app/views/icons/_brand_docker.html.erb b/app/views/icons/_brand_docker.html.erb new file mode 100644 index 00000000..852f26f5 --- /dev/null +++ b/app/views/icons/_brand_docker.html.erb @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/app/views/icons/_brand_github.html.erb b/app/views/icons/_brand_github.html.erb new file mode 100644 index 00000000..7fd84f58 --- /dev/null +++ b/app/views/icons/_brand_github.html.erb @@ -0,0 +1,4 @@ + + + + diff --git a/app/views/icons/_devices.html.erb b/app/views/icons/_devices.html.erb new file mode 100644 index 00000000..8dc04ee1 --- /dev/null +++ b/app/views/icons/_devices.html.erb @@ -0,0 +1,6 @@ + + + + + + diff --git a/app/views/icons/_login.html.erb b/app/views/icons/_login.html.erb new file mode 100644 index 00000000..b2353b02 --- /dev/null +++ b/app/views/icons/_login.html.erb @@ -0,0 +1,5 @@ + + + + + diff --git a/app/views/icons/_shield_check.html.erb b/app/views/icons/_shield_check.html.erb new file mode 100644 index 00000000..55b20c95 --- /dev/null +++ b/app/views/icons/_shield_check.html.erb @@ -0,0 +1,5 @@ + + + + + diff --git a/app/views/pages/landing.html.erb b/app/views/pages/landing.html.erb new file mode 100644 index 00000000..54d35ca8 --- /dev/null +++ b/app/views/pages/landing.html.erb @@ -0,0 +1,76 @@ +
+
+
+
+
+ <%= render 'shared/logo', width: "100", height: "100" %> +

+ DocuSeal +

+
+

+ A self-hosted, web-based platform providing secure and efficient digital document signing and transaction management. +

+
+
+
+
+
+
+
+ <%= svg_icon('brand_docker', class: 'w-10 h-10 text-base-100') %> +
+

Easy to Install

+

+ Simply initiate the process on your platform, deploy the solution via Docker, + or opt for its packaged version for ease of use. +

+
+
+
+
+
+
+
+ <%= svg_icon('devices', class: 'w-10 h-10 text-base-100') %> +
+

Mobile Optimized

+

+ This self-hosted solution is mobile-ready, designed to offer a seamless user experience on any device. + Manage documents with ease, right from your smartphone or tablet. +

+
+
+
+
+
+
+
+ <%= svg_icon('shield_check', class: 'w-10 h-10 text-base-100') %> +
+

Secure

+

+ With a focus on security, this solution integrates top-level encryption within your own hosting infrastructure. + Comprehensive tracking of every action assures a secure environment for all digital transactions. +

+
+
+
+
+
+
+
+ <%= svg_icon('brand_github', class: 'w-10 h-10 text-base-100') %> +
+

Open Source

+

+ Don't hesitate to fetch github.com/docusealhq. + We warmly invite you to participate and help us enhance this project. + There's no need to shy away from becoming a contributor! +

+
+
+
+
+
+
diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index 6716731e..ccf06d7f 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -20,5 +20,12 @@ + <% else %> + <%= link_to new_user_session_path, class: 'font-medium text-lg' do %> + + <%= svg_icon('login', class: 'w-6 h-6') %> + Sign in + + <% end %> <% end %>