File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1- use common:: data:: LOGO_NO_BG ;
1+ use common:: data:: {
2+ LOGO_NO_BG ,
3+ VERSION ,
4+ } ;
25use dioxus:: prelude:: * ;
36
47use super :: {
@@ -83,7 +86,7 @@ fn Navbar() -> Element {
8386#[ component]
8487fn Footer ( ) -> Element {
8588 rsx ! {
86- div { class: "group flex items-center justify-center h-18 sm:h-8 border-t-1 border-x-1 border-fg w-full max-w-5xl mx-auto" ,
89+ div { class: "relative group flex items-center justify-center h-18 sm:h-8 border-t-1 border-x-1 border-fg w-full max-w-5xl mx-auto" ,
8790 p { class: "sm:text-xs flex flex-col sm:flex-row items-center" ,
8891 span { class: "md:group-hover:translate-x-[-20px] transition-translate duration-300" ,
8992 "Copyright © 2025-present"
@@ -98,6 +101,9 @@ fn Footer() -> Element {
98101 "<git@plumj.am>"
99102 }
100103 }
104+ p { class: "absolute text-xs bottom-1 sm:bottom-2 right-1" ,
105+ { VERSION }
106+ }
101107 }
102108 }
103109}
You can’t perform that action at this time.
0 commit comments