File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ defmodule AlgoraWeb.Components.UI.Button do
53
53
"hover:destructive" =>
54
54
"bg-background border-input hover:bg-destructive/30 text-accent-foreground hover:border-destructive focus-visible:outline-destructive-600 data-[state=open]:bg-destructive-500/80 data-[state=open]:outline-destructive-600 shadow border" ,
55
55
"outline" => "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground" ,
56
+ "subtle" =>
57
+ "bg-foreground hover:bg-foreground/90 text-background border-background/20 hover:border-background/40 focus-visible:outline-background shadow border" ,
56
58
"secondary" =>
57
59
"bg-secondary hover:bg-secondary/80 text-foreground border-secondary-foreground/20 hover:border-secondary-foreground/40 focus-visible:outline-secondary-foreground shadow border" ,
58
60
"ghost" => "hover:bg-accent hover:text-accent-foreground" ,
Original file line number Diff line number Diff line change @@ -99,13 +99,11 @@ defmodule AlgoraWeb.SwiftBountiesLive do
99
99
Anyone can contribute whether you're a company or an individual.
100
100
</ p >
101
101
< div class = "mt-10 flex items-center gap-x-6 " >
102
- < . link
103
- href = { Algora.Github . authorize_url ( ) }
104
- rel = "noopener "
105
- class = "inline-flex h-12 items-center justify-center whitespace-nowrap rounded-md border border-white/80 bg-white px-6 text-lg font-semibold text-gray-900 shadow transition-colors hover:border-white hover:bg-white/90 focus-visible:outline-white-600 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 phx-submit-loading:opacity-75 "
106
- >
107
- Start Contributing
108
- </ . link >
102
+ < . button variant = "subtle " class = "h-12 px-6 text-lg font-semibold " >
103
+ < . link href = { Algora.Github . authorize_url ( ) } rel = "noopener " >
104
+ Start Contributing
105
+ </ . link >
106
+ </ . button >
109
107
</ div >
110
108
</ div >
111
109
< div class = "mx-auto mt-16 flex max-w-2xl sm:mt-24 lg:mt-0 lg:mr-0 lg:ml-10 lg:max-w-none xl:ml-24 2xl:ml-32 " >
@@ -436,13 +434,15 @@ defmodule AlgoraWeb.SwiftBountiesLive do
436
434
You can create bounties and send tips in any of the Swift repos below once you've connected your GitHub account.
437
435
</ p >
438
436
< div class = "mt-6 flex items-center justify-center gap-x-6 " >
439
- < . link
440
- href = { Algora.Github . authorize_url ( ) }
441
- rel = "noopener "
442
- class = "inline-flex h-12 items-center justify-center whitespace-nowrap rounded-md border border-white/80 bg-white px-6 text-lg font-semibold text-gray-900 shadow transition-colors hover:border-white hover:bg-white/90 focus-visible:outline-white-600 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 phx-submit-loading:opacity-75 "
443
- >
444
- < Logos . github class = "-ml-1 mr-2 h-6 w-6 sm:h-8 sm:w-8 " /> Connect with GitHub
445
- </ . link >
437
+ < . button variant = "subtle " class = "h-12 px-6 text-lg font-semibold " >
438
+ < . link
439
+ href = { Algora.Github . authorize_url ( ) }
440
+ rel = "noopener "
441
+ class = "inline-flex items-center "
442
+ >
443
+ < Logos . github class = "-ml-1 mr-2 h-6 w-6 sm:h-8 sm:w-8 " /> Connect with GitHub
444
+ </ . link >
445
+ </ . button >
446
446
</ div >
447
447
< div class = "mt-10 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 " >
448
448
<%= for repo <- @ repos do %>
You can’t perform that action at this time.
0 commit comments