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 { containerMaxW } from '../config';
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'>
<b>
&copy;{year},{` `}
<a href='https://veracityres.com/' rel='noreferrer' target='_blank'>
Veracity Real Estate Solutions
<a href='https://flatlogic.com/' rel='noreferrer' target='_blank'>
Flatlogic
</a>
.
</b>
@ -27,7 +27,7 @@ export default function FooterBar({ children }: Props) {
<div className='flex item-center md:py-2 gap-4'>
<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' />
</a>
</div>

View File

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

View File

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

View File

@ -50,22 +50,6 @@ const OrdersNew = () => {
const router = useRouter();
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) => {
await dispatch(create(data));
await router.push('/orders/orders-list');
@ -104,9 +88,9 @@ const OrdersNew = () => {
name='property'
id='property'
component={SelectField}
options={propertyOptions}
options={[]}
itemRef={'properties'}
/>
></Field>
</FormField>
<FormField label='RequestedDate'>

View File

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