<% flash.each do |type, data| %>
diff --git a/app/views/layouts/signup.html.erb b/app/views/layouts/signup.html.erb
deleted file mode 100644
index 3c02649..0000000
--- a/app/views/layouts/signup.html.erb
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
Sign up | Kosmos Accounts
- <%= csrf_meta_tags %>
- <%= csp_meta_tag %>
-
-
- <%= stylesheet_link_tag 'legacy', "data-turbo-track": "reload" %>
- <%= stylesheet_link_tag 'application', "data-turbo-track": "reload" %>
- <%= javascript_importmap_tags %>
-
-
-
-
-
- <%= render partial: "shared/icons/comet" %>
- Kosmos
- Sign Up
-
- <% if user_signed_in? %>
-
- Signed in as <%= current_user.cn %>@kosmos.org.
- <%= link_to "Log out", destroy_user_session_path, method: :delete %>
-
- <% end %>
-
-
- <% flash.each do |type, msg| %>
-
- <% end %>
-
-
- <%= yield %>
-
-
-
-
diff --git a/app/views/signup/index.html.erb b/app/views/signup/index.html.erb
index 25ed61e..fa72390 100644
--- a/app/views/signup/index.html.erb
+++ b/app/views/signup/index.html.erb
@@ -1,12 +1,15 @@
-
Welcome
-
- Hey there! You were invited to sign up for a Kosmos account by
- <%= @invited_by_name %>.
-
-
- This invitation can only be used once, and sign-up is currently only possible
- by invitation. Seems like you have good friends!
-
-
- <%= link_to "Get started", signup_steps_path(1), class: "btn btn-md btn-blue" %>
-
+<%= render HeaderCompactComponent.new(title: "Welcome") %>
+
+<%= render MainCompactComponent.new do %>
+
+ Hey there! You were invited to sign up for a Kosmos account by
+ <%= @invited_by_name %>.
+
+
+ This invitation can only be used once, and sign-up is currently only possible
+ by invitation. Seems like you have good friends!
+
+
+ <%= link_to "Get started", signup_steps_path(1), class: "btn btn-md btn-blue" %>
+
+<% end %>
diff --git a/app/views/signup/steps.html.erb b/app/views/signup/steps.html.erb
index 53cf237..00a4d70 100644
--- a/app/views/signup/steps.html.erb
+++ b/app/views/signup/steps.html.erb
@@ -1,54 +1,60 @@
-<% case @step %>
-<% when 1 %>
-
Choose a username
- <%= form_for @user, :url => signup_validate_url do |f| %>
-
- <%= f.label :cn, 'Username', class: 'hidden' %>
- <%= f.text_field :cn, autofocus: true, autocomplete: "username",
- class: 'text-xl' %>
- @
- kosmos.org
-
- <% if @validation_error.present? %>
-
Username <%= @validation_error %>
- <% end %>
-
- <%= f.submit "Continue", class: 'btn btn-md btn-blue' %>
-
- <% end %>
+<%= render HeaderCompactComponent.new(title: "Signup") %>
-<% when 2 %>
-
What's your email?
- <%= form_for @user, :url => signup_validate_url do |f| %>
-
- <%= f.label :email, 'Email address', class: 'hidden' %>
- <%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'text-xl' %>
-
- <% if @validation_error.present? %>
-
Email <%= @validation_error %>
+<%= render MainCompactComponent.new do %>
+ <% case @step %>
+ <% when 1 %>
+
Choose a username
+ <%= form_for @user, :url => signup_validate_url do |f| %>
+
+ <%= f.label :cn, 'Username', class: 'hidden' %>
+ <%= f.text_field :cn, autofocus: true, autocomplete: "username",
+ class: 'text-xl w-full md:w-3/5 mb-1' %>
+ @
+ kosmos.org
+
+ <% if @validation_error.present? %>
+
Username <%= @validation_error %>
+ <% end %>
+
+ <%= f.submit "Continue", class: 'btn btn-md btn-blue' %>
+
<% end %>
-
- <%= f.submit "Continue", class: 'btn btn-md btn-blue' %>
-
- <% end %>
-<% when 3 %>
-
Choose a password
-
- <%= form_for @user, :url => signup_validate_url do |f| %>
-
- <%= f.label :password, 'Password', class: 'hidden' %>
- <%= f.password_field :password, autofocus: true, class: 'text-xl' %>
-
- <% if @validation_error.present? %>
-
Password <%= @validation_error %>
+ <% when 2 %>
+
What's your email?
+ <%= form_for @user, :url => signup_validate_url do |f| %>
+
+ <%= f.label :email, 'Email address', class: 'hidden' %>
+ <%= f.email_field :email, autofocus: true, autocomplete: 'email',
+ class: 'text-xl w-full' %>
+
+ <% if @validation_error.present? %>
+
Email <%= @validation_error %>
+ <% end %>
+
+ <%= f.submit "Continue", class: 'btn btn-md btn-blue' %>
+
+ <% end %>
+
+ <% when 3 %>
+
Choose a password
+
+ <%= form_for @user, :url => signup_validate_url do |f| %>
+
+ <%= f.label :password, 'Password', class: 'hidden' %>
+ <%= f.password_field :password, autofocus: true,
+ class: 'text-xl w-full' %>
+
+ <% if @validation_error.present? %>
+
Password <%= @validation_error %>
+ <% end %>
+
+ By clicking the button below, you accept our future Terms of Service
+ and Privacy Policy. Don't worry, they will be excellent!
+
+
+ <%= f.submit "Create account", class: 'btn-md btn-blue' %>
+
<% end %>
-
- By clicking the button below, you accept our future Terms of Service
- and Privacy Policy. Don't worry, they will be excellent!
-
-
- <%= f.submit "Create account", class: 'btn-md btn-blue' %>
-
<% end %>
<% end %>
diff --git a/app/views/welcome/check_your_email.html.erb b/app/views/welcome/check_your_email.html.erb
index c16305a..c30f511 100644
--- a/app/views/welcome/check_your_email.html.erb
+++ b/app/views/welcome/check_your_email.html.erb
@@ -2,6 +2,9 @@
<%= render MainCompactComponent.new do %>
- You can close this window or tab now.
+ Please check your inbox!
+
+
+ (You can close this window or tab now.)
<% end %>
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb
deleted file mode 100644
index a4984de..0000000
--- a/app/views/welcome/index.html.erb
+++ /dev/null
@@ -1,6 +0,0 @@
-
- <%=link_to "Sign up for a new account" %>
-
-
- <%=link_to "Manage your existing account", new_user_session_path %>
-