Compare commits

..

No commits in common. "29f28522d503b28ee8158c5ff98f1264029d3dfe" and "944116657135f32a32e40cf6150ac153eee65fac" have entirely different histories.

5 changed files with 12 additions and 28 deletions

View File

@ -1,4 +1,4 @@
ciimport React, { ReactNode } from 'react'; import React, { ReactNode } from 'react';
import LanguageSwitcher from './LanguageSwitcher'; import LanguageSwitcher from './LanguageSwitcher';
import { containerMaxW } from '../config'; import { containerMaxW } from '../config';
import Logo from './Logo'; import Logo from './Logo';
@ -16,8 +16,8 @@ export default function FooterBar({ children }: Props) {
<div className='text-center md:text-left mb-6 md:mb-0'> <div className='text-center md:text-left mb-6 md:mb-0'>
<b> <b>
&copy;{year},{` `} &copy;{year},{` `}
<a href='https://veracityres.com/' rel='noreferrer' target='_blank'> <a href='https://flatlogic.com/' rel='noreferrer' target='_blank'>
Veracity Real Estate Solutions Flatlogic
</a> </a>
. .
</b> </b>
@ -27,7 +27,7 @@ export default function FooterBar({ children }: Props) {
<div className='flex item-center md:py-2 gap-4'> <div className='flex item-center md:py-2 gap-4'>
<LanguageSwitcher /> <LanguageSwitcher />
<a href='https://veracityres.com.com/' rel='noreferrer' target='_blank'> <a href='https://flatlogic.com/' rel='noreferrer' target='_blank'>
<Logo className='w-auto h-8 md:h-6 mx-auto' /> <Logo className='w-auto h-8 md:h-6 mx-auto' />
</a> </a>
</div> </div>

View File

@ -7,9 +7,9 @@ type Props = {
export default function Logo({ className = '' }: Props) { export default function Logo({ className = '' }: Props) {
return ( return (
<img <img
src={'https://veracityres.com/wp-content/uploads/2024/08/VRES_logo_blk-red-tr.png'} src={'https://flatlogic.com/logo.svg'}
className={className} className={className}
alt={'VRES logo'} alt={'Flatlogic logo'}
></img> ></img>
); );
} }

View File

@ -361,7 +361,7 @@ export default function Login() {
</SectionFullScreen> </SectionFullScreen>
<div className='bg-black text-white flex flex-col text-center justify-center md:flex-row'> <div className='bg-black text-white flex flex-col text-center justify-center md:flex-row'>
<p className='py-6 text-sm'> <p className='py-6 text-sm'>
© 2025 <span>{title}</span>.{' '} © 2024 <span>{title}</span>.{' '}
{t('pages.login.footer.copyright', { {t('pages.login.footer.copyright', {
defaultValue: '© All rights reserved', defaultValue: '© All rights reserved',
})} })}

View File

@ -50,22 +50,6 @@ const OrdersNew = () => {
const router = useRouter(); const router = useRouter();
const dispatch = useAppDispatch(); const dispatch = useAppDispatch();
// State for property options
const [propertyOptions, setPropertyOptions] = useState([]);
// Fetch property options from your backend API
useEffect(() => {
fetch('https://vres.flatlogic.app/api/properties') // <-- uses deployed api
.then(res => res.json())
.then(data => {
const options = data.map(property => ({
value: property.id,
label: property.name,
}));
setPropertyOptions(options);
});
}, []);
const handleSubmit = async (data) => { const handleSubmit = async (data) => {
await dispatch(create(data)); await dispatch(create(data));
await router.push('/orders/orders-list'); await router.push('/orders/orders-list');
@ -104,9 +88,9 @@ const OrdersNew = () => {
name='property' name='property'
id='property' id='property'
component={SelectField} component={SelectField}
options={propertyOptions} options={[]}
itemRef={'properties'} itemRef={'properties'}
/> ></Field>
</FormField> </FormField>
<FormField label='RequestedDate'> <FormField label='RequestedDate'>

View File

@ -51,7 +51,7 @@ module.exports = {
text: '#45B26B', text: '#45B26B',
}, },
pavitra: { pavitra: {
blue: '#244E5E', blue: '#0162FD',
green: '#00B448', green: '#00B448',
orange: '#FFAA00', orange: '#FFAA00',
red: '#F20041', red: '#F20041',
@ -67,8 +67,8 @@ module.exports = {
pastelEmeraldTheme: { pastelEmeraldTheme: {
text: '#515564', text: '#515564',
iconsColor: '#030A0D', iconsColor: '#030A0D',
mainBG: '#FFFFFF', mainBG: '#DFECF2',
buttonColor: '#244E5E', buttonColor: '#030A0D',
outsideCardColor: '#D0E1E9', outsideCardColor: '#D0E1E9',
cardColor: '#DFECF2', cardColor: '#DFECF2',
webSiteComponentBg: '#030A0D', webSiteComponentBg: '#030A0D',