Load in improvements
This commit is contained in:
+10
-1
@@ -2,6 +2,7 @@ import type { Component } from 'solid-js';
|
||||
import { A, useLocation, useNavigate } from '@solidjs/router';
|
||||
import { Show } from 'solid-js';
|
||||
import { authStore } from './store/authStore';
|
||||
import { appStore } from './store/appStore';
|
||||
|
||||
interface AppContainerProps {
|
||||
children?: any;
|
||||
@@ -25,7 +26,15 @@ const AppContainer: Component<AppContainerProps> = (props) => {
|
||||
<div class="flex justify-between h-16">
|
||||
<div class="flex items-center gap-8">
|
||||
<div class="flex-shrink-0 flex items-center">
|
||||
<span class="font-bold text-xl text-gray-900 tracking-tight">EstiMaker</span>
|
||||
<button
|
||||
onClick={() => {
|
||||
appStore.resetEstimate();
|
||||
navigate('/');
|
||||
}}
|
||||
class="font-bold text-xl text-gray-900 tracking-tight hover:text-blue-600 transition-colors"
|
||||
>
|
||||
EstiMaker
|
||||
</button>
|
||||
</div>
|
||||
<nav class="flex space-x-4">
|
||||
<A
|
||||
|
||||
Reference in New Issue
Block a user