@@ -68,10 +68,10 @@ defmodule AlgoraWeb.HomeLive do
68
68
<% end %>
69
69
70
70
< main class = "bg-black relative overflow-hidden " >
71
- < section class = "relative isolate min-h-[100svh] bg-gradient-to-b from-background to-black " >
72
- <%!-- < .pattern /> --% >
71
+ < section class = "relative isolate lg: min-h-[100svh] bg-gradient-to-b from-background to-black " >
72
+ < . pattern />
73
73
< div class = "mx-auto max-w-7xl pt-24 pb-12 xl:pt-24 " >
74
- < div class = "mx-auto lg:mx-0 lg: flex lg:max-w-none lg: items-center lg: justify-center min-h-[calc(100svh-10rem)] text-center " >
74
+ < div class = "mx-auto lg:mx-0 flex lg:max-w-none items-center justify-center min-h-[21rem] lg: min-h-[calc(100svh-10rem)] text-center " >
75
75
< div class = {
76
76
classes ( [
77
77
# "px-6 lg:px-8 lg:pr-0 xl:py-20 relative w-full lg:max-w-xl lg:shrink-0 xl:max-w-[52rem]",
@@ -80,12 +80,13 @@ defmodule AlgoraWeb.HomeLive do
80
80
] )
81
81
} >
82
82
< . wordmark :if = { @ screenshot? } class = "h-8 mb-6 " />
83
- < h1 class = "font-display text-3xl sm:text-4xl md:text-5xl xl:text-7xl font-semibold tracking-tight text-foreground " >
83
+ < h1 class = "font-display text-4xl sm:text-4xl md:text-5xl xl:text-7xl font-semibold tracking-tight text-foreground " >
84
84
< span class = "text-emerald-400 " > Hire the top 1%</ span >
85
85
< br /> open source engineers
86
86
</ h1 >
87
87
< p class = "mt-4 sm:mt-8 text-base sm:text-lg xl:text-2xl/8 font-medium text-muted-foreground sm:max-w-md lg:max-w-none " >
88
- Algora connects companies and engineers for full-time and contract work
88
+ Algora connects companies and engineers< br class = "lg:hidden " />
89
+ for full-time and contract work
89
90
</ p >
90
91
< div :if = { ! @ screenshot? } class = "mt-6 sm:mt-10 flex gap-4 " >
91
92
< . button
@@ -432,7 +433,7 @@ defmodule AlgoraWeb.HomeLive do
432
433
< br /> using open source
433
434
</ h2 >
434
435
< p class = "text-center font-medium text-base text-muted-foreground sm:text-xl mb-12 mx-auto " >
435
- Source, screen, interview and onboard with Algora.< br />
436
+ Source, screen, interview and onboard < span class = " hidden lg:inline " > with Algora</ span > .< br />
436
437
Guarantee role fit and job performance.
437
438
</ p >
438
439
< ul class = "space-y-3 mt-4 text-xl grid grid-cols-1 md:grid-cols-2 gap-4 " >
@@ -474,78 +475,79 @@ defmodule AlgoraWeb.HomeLive do
474
475
</ li >
475
476
</ ul >
476
477
</ . section >
477
- </ div >
478
478
479
- < . section class = "pt-12 pb-20 " >
480
- < div class = "max-w-2xl mx-auto border ring-1 ring-transparent rounded-xl overflow-hidden " >
481
- < div class = "bg-card/75 flex flex-col h-full p-4 rounded-xl border-t-4 sm:border-t-0 sm:border-l-4 border-emerald-400 " >
482
- < div class = "flex flex-col md:flex-row gap-8 p-4 sm:p-6 " >
483
- < div class = "flex-1 flex flex-col justify-center items-center " >
484
- < . simple_form
485
- for = { @ form }
486
- phx-change = "validate_job "
487
- phx-submit = "create_job "
488
- class = "w-full space-y-6 "
489
- >
490
- < div class = "grid grid-cols-1 md:grid-cols-2 gap-4 " >
491
- < . input
492
- id = "final_section_email "
493
- field = { @ form [ :email ] }
494
- label = "Email "
495
- data-domain-target
496
- phx-hook = "DeriveDomain "
497
- phx-change = "email_changed "
498
- phx-debounce = "300 "
499
- />
500
- < . input id = "final_section_url " field = { @ form [ :url ] } label = "Job Posting URL " />
501
- < . input
502
- id = "final_section_company_url "
503
- field = { @ form [ :company_url ] }
504
- label = "Company URL "
505
- data-domain-source
506
- />
507
- < . input
508
- id = "final_section_company_name "
509
- field = { @ form [ :company_name ] }
510
- label = "Company Name "
511
- />
512
- </ div >
479
+ < . section class = "pt-12 pb-20 " >
480
+ < div class = "max-w-2xl mx-auto border ring-1 ring-transparent rounded-xl overflow-hidden " >
481
+ < div class = "bg-card/75 flex flex-col h-full p-4 rounded-xl border-t-4 sm:border-t-0 sm:border-l-4 border-emerald-400 " >
482
+ < div class = "flex flex-col md:flex-row gap-8 p-4 sm:p-6 " >
483
+ < div class = "flex-1 flex flex-col justify-center items-center " >
484
+ < . simple_form
485
+ for = { @ form }
486
+ phx-change = "validate_job "
487
+ phx-submit = "create_job "
488
+ class = "w-full space-y-6 "
489
+ >
490
+ < div class = "grid grid-cols-1 md:grid-cols-2 gap-4 " >
491
+ < . input
492
+ id = "final_section_email "
493
+ field = { @ form [ :email ] }
494
+ label = "Email "
495
+ data-domain-target
496
+ phx-hook = "DeriveDomain "
497
+ phx-change = "email_changed "
498
+ phx-debounce = "300 "
499
+ />
500
+ < . input id = "final_section_url " field = { @ form [ :url ] } label = "Job Posting URL " />
501
+ < . input
502
+ id = "final_section_company_url "
503
+ field = { @ form [ :company_url ] }
504
+ label = "Company URL "
505
+ data-domain-source
506
+ />
507
+ < . input
508
+ id = "final_section_company_name "
509
+ field = { @ form [ :company_name ] }
510
+ label = "Company Name "
511
+ />
512
+ </ div >
513
513
514
- < div class = "flex flex-col items-center gap-4 " >
515
- < . button size = "xl " class = "w-full " >
516
- < div class = "flex flex-col items-center gap-1 font-semibold " >
517
- < span > Hire now</ span >
518
- </ div >
519
- </ . button >
520
- < div >
521
- < div
522
- :if = {
523
- @ user_metadata . ok? && get_in ( @ user_metadata . result , [ :org , :favicon_url ] )
524
- }
525
- class = "flex items-center gap-3 "
526
- >
527
- <%= if logo = get_in ( @ user_metadata . result , [ :org , :favicon_url ] ) do %>
528
- < img src = { logo } class = "h-16 w-16 rounded-2xl " />
529
- <% end %>
530
- < div >
531
- < div class = "text-lg text-foreground font-bold font-display line-clamp-1 " >
532
- { get_change ( @ form . source , :company_name ) }
533
- </ div >
534
- <%= if description = get_in ( @ user_metadata . result , [ :org , :og_description ] ) do %>
535
- < div class = "text-sm text-muted-foreground line-clamp-1 " >
536
- { description }
537
- </ div >
514
+ < div class = "flex flex-col items-center gap-4 " >
515
+ < . button size = "xl " class = "w-full " >
516
+ < div class = "flex flex-col items-center gap-1 font-semibold " >
517
+ < span > Hire now</ span >
518
+ </ div >
519
+ </ . button >
520
+ < div >
521
+ < div
522
+ :if = {
523
+ @ user_metadata . ok? &&
524
+ get_in ( @ user_metadata . result , [ :org , :favicon_url ] )
525
+ }
526
+ class = "flex items-center gap-3 "
527
+ >
528
+ <%= if logo = get_in ( @ user_metadata . result , [ :org , :favicon_url ] ) do %>
529
+ < img src = { logo } class = "h-16 w-16 rounded-2xl " />
538
530
<% end %>
531
+ < div >
532
+ < div class = "text-lg text-foreground font-bold font-display line-clamp-1 " >
533
+ { get_change ( @ form . source , :company_name ) }
534
+ </ div >
535
+ <%= if description = get_in ( @ user_metadata . result , [ :org , :og_description ] ) do %>
536
+ < div class = "text-sm text-muted-foreground line-clamp-1 " >
537
+ { description }
538
+ </ div >
539
+ <% end %>
540
+ </ div >
539
541
</ div >
540
542
</ div >
541
543
</ div >
542
- </ div >
543
- </ . simple_form >
544
+ </ . simple_form >
545
+ </ div >
544
546
</ div >
545
547
</ div >
546
548
</ div >
547
- </ div >
548
- </ . section >
549
+ </ . section >
550
+ </ div >
549
551
550
552
< div class = "relative isolate overflow-hidden bg-gradient-to-br from-black to-background " >
551
553
< Footer . footer />
0 commit comments