File tree 1 file changed +16
-14
lines changed
website/website/src/templates
1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,22 @@ pub fn index_page() -> SycamoreTemplate<G> {
21
21
p( class = "text-7xl xs:text-8xl sm:text-9xl p-2 font-extrabold" ) { ( t!( "perseus" ) ) }
22
22
p( class = "text-lg" ) { ( t!( "index-caption" ) ) }
23
23
br( )
24
- a(
25
- class = "py-3 px-4 m-2 font-semibold rounded-lg shadow-2xl text-white bg-indigo-500 hover:bg-indigo-400 transition-colors duration-200" ,
26
- href = link!( "/docs" )
27
- ) { ( t!( "index-get-started" ) ) }
28
- a(
29
- // The difference in y-axis padding is deliberate, it looks better with the ring
30
- class = "inline-flex items-center py-2 px-4 m-2 font-semibold rounded-lg shadow-2xl dark:text-white ring-4 ring-indigo-500 hover:ring-indigo-400 transition-colors duration-200" ,
31
- href = "https://github.com/arctic-hen7/perseus"
32
- ) {
33
- span(
34
- class = "m-1" ,
35
- dangerously_set_inner_html = GITHUB_SVG
36
- )
37
- span { ( format!( " {}" , t!( "index-github" ) ) ) }
24
+ div( class = "flex items-center justify-center" ) {
25
+ a(
26
+ class = "py-3 px-4 m-2 font-semibold rounded-lg shadow-2xl text-white bg-indigo-500 hover:bg-indigo-400 transition-colors duration-200" ,
27
+ href = link!( "/docs" )
28
+ ) { ( t!( "index-get-started" ) ) }
29
+ a(
30
+ // The difference in y-axis padding is deliberate, it looks better with the ring
31
+ class = "inline-flex items-center py-2 px-4 m-2 font-semibold rounded-lg shadow-2xl dark:text-white ring-4 ring-indigo-500 hover:ring-indigo-400 transition-colors duration-200" ,
32
+ href = "https://github.com/arctic-hen7/perseus"
33
+ ) {
34
+ span(
35
+ class = "mr-1" ,
36
+ dangerously_set_inner_html = GITHUB_SVG
37
+ )
38
+ span { ( format!( " {}" , t!( "index-github" ) ) ) }
39
+ }
38
40
}
39
41
}
40
42
}
You can’t perform that action at this time.
0 commit comments