@@ -31,12 +31,13 @@ pub fn Route(route: ReadSignal<Routes>) -> View {
3131#[ component]
3232fn Header ( ) -> View {
3333 view ! {
34- header( class="z-50 p-2 bg-inherit border-b-2 border-slate-700 text-sm font-mono text-red-200 sm:px-5 " ) {
34+ header( class="z-50 p-2 bg-inherit border-b-2 border-slate-700 text-sm font-mono text-red-200 sm:px-10 md:px-20 lg:px-40 xl:px-60 " ) {
3535 nav( class="flex flex-row justify-between items-center" ) {
36- div( class="self-start" ) {
37- a( class="hover:underline font-bold" , href="/" ) { "$ cd /home/lukechu" }
36+ div( class="self-start hover:underline font-bold" ) {
37+ a( class="hidden sm:inline" , href="/" ) { "$ cd /home/lukechu" }
38+ a( class="inline sm:hidden" , href="/" ) { "lukechu" }
3839 }
39- div( class="self-end flex flex-row gap-4" ) {
40+ div( class="self-end flex flex-row gap-4 sm:gap-6 md:gap-8 " ) {
4041 div { a( class="hover:underline" , href="/about" ) { "about" } }
4142 div { a( class="hover:underline" , href="https://github.com/lukechu10" ) { "github" } }
4243 }
@@ -48,10 +49,10 @@ fn Header() -> View {
4849#[ component]
4950fn Footer ( ) -> View {
5051 view ! {
51- footer( class="p-2 border-t-2 border- slate-700 text-xs font-mono" ) {
52+ footer( class="p-2 bg- slate-900 text-xs font-mono" ) {
5253 div( class="flex flex-row justify-between" ) {
5354 div { "© 2025 Luke Chu" }
54- div {
55+ div( class= "text-[9pt]" ) {
5556 "Made with "
5657 a( class="hover:underline font-bold text-red-200" , href="https://rust-lang.org" ) { "Rust" }
5758 " and "
0 commit comments