This commit is contained in:
Flatlogic Bot 2025-05-13 21:37:57 +00:00
parent fe66b3cc75
commit 27ddfa0c81
7 changed files with 20 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,8 @@
import React from 'react'; import React from 'react';
import Link from 'next/link'; import Link from 'next/link';
import { useRouter } from 'next/router'; import { useRouter } from 'next/router';
import BaseIcon from './BaseIcon';
import { useAppSelector } from '../stores/hooks'; import { useAppSelector } from '../stores/hooks';
import { MenuAsideItem } from '../interfaces'; import { MenuAsideItem } from '../interfaces';
@ -17,14 +19,16 @@ const AsideMenuItem = ({ item }: Props) => {
const activeClass = isActive ? 'border-b-2 border-blue-600' : ''; const activeClass = isActive ? 'border-b-2 border-blue-600' : '';
return ( return (
<li> <li title={item.label}>
{item.withDevider && <hr className={`${borders} my-2`} />} {item.withDevider && <hr className={`${borders} my-2`} />}
{item.href ? ( {item.href ? (
<Link href={item.href} target={item.target} className={`${baseClass} ${activeClass}`}> <Link href={item.href} target={item.target} title={item.label} className={`${baseClass} ${activeClass}`}>
{item.label} <BaseIcon path={item.icon} size="20" />
</Link> </Link>
) : ( ) : (
<span className={`${baseClass} ${activeClass}`}>{item.label}</span> <span title={item.label} className={`${baseClass} ${activeClass}`}>
<BaseIcon path={item.icon} size="20" />
</span>
)} )}
</li> </li>
); );

View File

@ -6,10 +6,6 @@ type Props = {
export default function Logo({ className = '' }: Props) { export default function Logo({ className = '' }: Props) {
return ( return (
<img <div className={className}>App</div>
src={'https://flatlogic.com/logo.svg'}
className={className}
alt={'Flatlogic logo'}
></img>
); );
} }

View File

@ -1,3 +1,10 @@
@layer base {
/* Global reset */
* { @apply m-0 p-0; }
/* System font and smaller text */
body { @apply font-sans text-sm; }
}
html { html {
@apply h-full; @apply h-full;
} }

View File

@ -8,8 +8,7 @@
} }
tr { tr {
@apply max-w-full block relative border-b-4 border-gray-100 @apply max-w-full block relative lg:table-row;
lg:table-row lg:border-b-0 dark:border-slate-800;
} }
tr:last-child { tr:last-child {

View File

@ -8,7 +8,6 @@ import BaseIcon from '../components/BaseIcon';
import NavBar from '../components/NavBar'; import NavBar from '../components/NavBar';
import NavBarItemPlain from '../components/NavBarItemPlain'; import NavBarItemPlain from '../components/NavBarItemPlain';
import AsideMenu from '../components/AsideMenu'; import AsideMenu from '../components/AsideMenu';
import FooterBar from '../components/FooterBar';
import { useAppDispatch, useAppSelector } from '../stores/hooks'; import { useAppDispatch, useAppSelector } from '../stores/hooks';
import Search from '../components/Search'; import Search from '../components/Search';
import { useRouter } from 'next/router'; import { useRouter } from 'next/router';
@ -125,7 +124,6 @@ export default function LayoutAuthenticated({
onAsideLgClose={() => setIsAsideLgActive(false)} onAsideLgClose={() => setIsAsideLgActive(false)}
/> />
{children} {children}
<FooterBar>Hand-crafted & Made with </FooterBar>
</div> </div>
</div> </div>
); );

View File

@ -41,7 +41,7 @@ export const white: StyleObject = {
cardsColor: 'bg-white', cardsColor: 'bg-white',
focusRingColor: 'focus:ring focus:ring-blue-300 focus:outline-none', focusRingColor: 'focus:ring focus:ring-blue-300 focus:outline-none',
corners: '', corners: '',
cardsStyle: 'bg-white border border-gray-200', cardsStyle: 'bg-white',
linkColor: 'text-blue-600', linkColor: 'text-blue-600',
websiteHeder: 'border-b border-gray-200', websiteHeder: 'border-b border-gray-200',
borders: 'border-gray-200', borders: 'border-gray-200',