|
1 | 1 | <!-- Hero Section --> |
2 | 2 | <div class="container-fluid p-0"> |
3 | 3 | <div class="hero-section" style="background: url(<%= asset_path('better_together/unsplash-community-1.jpeg') %>) no-repeat center center; background-size: cover; height: 50vh;"> |
4 | | - <div class="overlay" style="background: rgba(0, 0, 0, 0.15); height: 100%; width: 100%;"> |
| 4 | + <div class="overlay" style="background: rgba(0, 0, 0, 0.3); height: 100%; width: 100%;"> |
5 | 5 | <div class="container h-100 d-flex align-items-center justify-content-center"> |
6 | 6 | <div class="text-center text-white"> |
7 | | - <h1 class="display-4 fw-bold">Welcome to the Community Engine!</h1> |
8 | | - <p class="lead">Let’s build something meaningful together.</p> |
| 7 | + <h1 class="display-4 fw-bold">Welcome to Your Community Space</h1> |
| 8 | + <p class="lead"> |
| 9 | + Let’s create a welcoming home for your community to connect, share, and thrive. |
| 10 | + </p> |
9 | 11 | </div> |
10 | 12 | </div> |
11 | 13 | </div> |
|
15 | 17 | <!-- Form Section --> |
16 | 18 | <div class="container my-5"> |
17 | 19 | <div class="row justify-content-center"> |
18 | | - <div class="col-md-6"> |
| 20 | + <div class="col-md-8 col-lg-6"> |
19 | 21 | <!-- Progress Indicator --> |
20 | 22 | <div class="mb-4"> |
21 | 23 | <div class="progress"> |
22 | | - <div class="progress-bar" role="progressbar" style="width: 50%;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"> |
| 24 | + <div |
| 25 | + class="progress-bar" |
| 26 | + role="progressbar" |
| 27 | + style="width: 50%;" |
| 28 | + aria-valuenow="50" |
| 29 | + aria-valuemin="0" |
| 30 | + aria-valuemax="100" |
| 31 | + > |
23 | 32 | Step 1 of 2 |
24 | 33 | </div> |
25 | 34 | </div> |
26 | 35 | </div> |
27 | 36 |
|
28 | 37 | <p class="text-center mb-4"> |
29 | | - You’re about to create a space where your community can connect, collaborate, and thrive. |
30 | | - Let’s begin by setting up the essential details of your platform — this is the foundation for everything to come. |
| 38 | + A strong community starts with a solid foundation. Let’s begin by filling in |
| 39 | + a few details about your platform. Before you know it, you’ll have a home base |
| 40 | + where everyone can gather and collaborate. |
31 | 41 | </p> |
32 | 42 |
|
33 | 43 | <% if @form.errors.any? %> |
|
43 | 53 |
|
44 | 54 | <%= form_for @form, url: setup_wizard_step_create_host_platform_path, method: :post, class: 'needs-validation', novalidate: true do |f| %> |
45 | 55 | <div class="mb-3"> |
46 | | - <%= f.label :name, class: 'form-label' %> |
47 | | - <%= f.text_field :name, autofocus: true, placeholder: 'Enter your platform name', class: "form-control#{' is-invalid' if @form.errors[:name].any?}", required: true %> |
| 56 | + <%= f.label :name, 'What should we call your platform?', class: 'form-label' %> |
| 57 | + <%= f.text_field :name, autofocus: true, placeholder: 'Example: The Community Hall', class: "form-control#{' is-invalid' if @form.errors[:name].any?}", required: true %> |
48 | 58 | <small class="form-text text-muted"> |
49 | | - This will be the name displayed on your platform. |
| 59 | + This name will appear at the top of your platform and welcome everyone who arrives. |
50 | 60 | </small> |
51 | 61 | </div> |
52 | 62 |
|
53 | 63 | <div class="mb-3"> |
54 | | - <%= f.label :description, class: 'form-label' %> |
55 | | - <%= f.text_area :description, placeholder: 'Provide a brief description of your platform', class: "form-control#{' is-invalid' if @form.errors[:description].any?}", rows: 3, required: true %> |
| 64 | + <%= f.label :description, 'How would you describe your community space?', class: 'form-label' %> |
| 65 | + <%= f.text_area :description, placeholder: 'A place where neighbors and friends support each other.', class: "form-control#{' is-invalid' if @form.errors[:description].any?}", rows: 3, required: true %> |
56 | 66 | <small class="form-text text-muted"> |
57 | | - A short description helps users understand your platform's purpose. |
| 67 | + This helps visitors understand what your community is all about. |
58 | 68 | </small> |
59 | 69 | </div> |
60 | 70 |
|
61 | 71 | <div class="mb-3"> |
62 | | - <%= f.label :url, class: 'form-label' %> |
| 72 | + <%= f.label :url, 'Where can people find you online?', class: 'form-label' %> |
63 | 73 | <%= f.text_field :url, placeholder: 'https://yourplatform.com', class: "form-control#{' is-invalid' if @form.errors[:url].any?}", required: true %> |
64 | 74 | <small class="form-text text-muted"> |
65 | | - This will be the web address of your platform. |
| 75 | + This will be your platform’s web address — its front door on the internet. |
66 | 76 | </small> |
67 | 77 | </div> |
68 | 78 |
|
69 | 79 | <div class="mb-3"> |
70 | | - <%= f.label :privacy, class: 'form-label' %> |
| 80 | + <%= f.label :privacy, 'Who can visit your space?', class: 'form-label' %> |
71 | 81 | <%= f.select :privacy, BetterTogether::Platform.privacies.keys.map { |privacy| [privacy.humanize, privacy] }, {}, { class: 'form-select', required: true } %> |
72 | 82 | <small class="form-text text-muted"> |
73 | | - Choose the privacy setting that best fits your platform. |
| 83 | + Choose whether your space is open to the public or invitation-only. |
74 | 84 | </small> |
75 | 85 | </div> |
76 | 86 |
|
77 | 87 | <!-- Time Zone Section with Stimulus Controller --> |
78 | 88 | <div class="mb-3" data-controller="better-together--time-zone"> |
79 | 89 | <%= f.label :time_zone, 'Which time zone should we use?', class: 'form-label' %> |
80 | 90 | <%= f.time_zone_select :time_zone, ActiveSupport::TimeZone.all, {}, |
81 | | - { |
| 91 | + { |
82 | 92 | class: 'form-select', |
83 | 93 | data: { 'better-together--time-zone-target': 'select' }, |
84 | 94 | id: 'time_zone_select', |
85 | 95 | required: true |
86 | | - } |
| 96 | + } |
87 | 97 | %> |
88 | 98 | <small class="form-text text-muted"> |
89 | 99 | This helps keep events and notifications in sync for everyone. |
|
97 | 107 |
|
98 | 108 | <!-- <div class="mt-4 text-center"> |
99 | 109 | <small class="text-muted"> |
100 | | - Need help? Check our <a href="/help/setup-guide" target="_blank">Setup Guide</a> for more details. |
| 110 | + Need help? Check out our <a href="/help/setup-guide" target="_blank">Setup Guide</a> for tips and examples. |
101 | 111 | </small> |
102 | 112 | </div> --> |
103 | 113 | </div> |
|
0 commit comments