diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 42690a6d..15e389d9 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -1,123 +1,128 @@ - - + - -
-
-
-
-

Medical Education Without Borders

-

Empowering healthcare professionals worldwide with accessible continuing medical education

- <%= link_to "Get Started", new_session_path, class: "btn btn-light btn-lg" %> -
-
- Medical professionals using SkillRx -
-
-
-
+ +
+
+
+
+

Medical Education Without Borders

+

Empowering healthcare professionals worldwide with accessible continuing medical education

+ <%= link_to "Get Started", new_session_path, class: "btn btn-light btn-lg" %> +
+
+ Medical professionals using SkillRx +
+
+
+
- -
-
-

How SkillRx Works

-
-
-
-
-

Offline Access

-

Access medical education content anytime, anywhere - no internet required

-
-
-
-
-
-
-

Smart Sync

-

Automatically update content when connected to optimize your learning

-
-
-
-
-
-
-

Multi-Platform

-

Available via USB drive, mobile app, or local server for maximum flexibility

-
-
-
-
+ +
+
+

How SkillRx Works

+
+
+
+
+

Offline Access

+

Access medical education content anytime, anywhere - no internet required

+
-
- - -
-
-
-
-

Our Mission

-

Enabling medical practitioners in resource-constrained areas to maintain competence and improve patient care through accessible continuing education.

-
    -
  • ✓ Free and open access
  • -
  • ✓ Cutting-edge medical literature
  • -
  • ✓ Adaptable to local needs
  • -
-
-
- Healthcare professionals collaborating -
-
+
+
+
+
+

Smart Sync

+

Automatically update content when connected to optimize your learning

+
+
+
+
+
+
+

Multi-Platform

+

Available via USB drive, mobile app, or local server for maximum flexibility

+
-
+
+ + +
- -
-
-
-
-

Get In Touch

-

Questions? We're here to help.

- -
-
+ +
+
+
+
+

Our Mission

+

Enabling medical practitioners in resource-constrained areas to maintain competence and improve patient care through accessible continuing education.

+
    +
  • ✓ Free and open access
  • +
  • ✓ Cutting-edge medical literature
  • +
  • ✓ Adaptable to local needs
  • +
+
+
+ Healthcare professionals collaborating +
+
+
+
+ + +
+
+
+
+

Get In Touch

+

Questions? We're here to help.

+ -
+
+ + +
- -
- - -
+ +
+ + +
diff --git a/app/views/layouts/home.html.erb b/app/views/layouts/home.html.erb index 4eaec27c..e11bd4b7 100644 --- a/app/views/layouts/home.html.erb +++ b/app/views/layouts/home.html.erb @@ -26,7 +26,7 @@ <%= javascript_importmap_tags %> - + diff --git a/config/routes.rb b/config/routes.rb index c504402b..f74514b6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,7 +1,4 @@ Rails.application.routes.draw do - root "home#index" - get "home/index", as: :home - get "dashboard/index", as: :dashboard resources :languages, only: %i[index show new create edit update] resources :passwords, param: :token resources :providers @@ -21,8 +18,13 @@ # Can be used by load balancers and uptime monitors to verify that the app is live. get "up" => "rails/health#show", as: :rails_health_check + get "home/index", as: :home + get "dashboard/index", as: :dashboard + # Render dynamic PWA files from app/views/pwa/* (remember to link manifest in application.html.erb) # get "manifest" => "rails/pwa#manifest", as: :pwa_manifest # get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker # Defines the root path route ("/") + + root "home#index" end