Update landing & login pages

This commit is contained in:
Chris Richmond 2025-07-11 13:00:20 -05:00
parent da09409759
commit 7cbaa6cecc
3 changed files with 14 additions and 44 deletions

View File

@ -14,7 +14,7 @@ export const localStorageStyleKey = 'style';
export const containerMaxW = 'xl:max-w-full xl:mx-auto 2xl:mx-20'; export const containerMaxW = 'xl:max-w-full xl:mx-auto 2xl:mx-20';
export const appTitle = 'created by Flatlogic generator!'; export const appTitle = '';
export const getPageTitle = (currentPageTitle: string) => export const getPageTitle = (currentPageTitle: string) =>
`${currentPageTitle}${appTitle}`; `${currentPageTitle}${appTitle}`;

View File

@ -26,7 +26,7 @@ export default function Starter() {
const [contentPosition, setContentPosition] = useState('right'); const [contentPosition, setContentPosition] = useState('right');
const textColor = useAppSelector((state) => state.style.linkColor); const textColor = useAppSelector((state) => state.style.linkColor);
const title = 'PaperClaimsai'; const title = 'PaperClaims.ai';
// Fetch Pexels image/video // Fetch Pexels image/video
useEffect(() => { useEffect(() => {
@ -129,27 +129,20 @@ export default function Starter() {
: null} : null}
<div className='flex items-center justify-center flex-col space-y-4 w-full lg:w-full'> <div className='flex items-center justify-center flex-col space-y-4 w-full lg:w-full'>
<CardBox className='w-full md:w-3/5 lg:w-2/3'> <CardBox className='w-full md:w-3/5 lg:w-2/3'>
<CardBoxComponentTitle title='Welcome to your PaperClaimsai app!' /> <CardBoxComponentTitle title='PaperClaims.ai | Turn paper into payments' />
<div className='space-y-3'> <div className='space-y-3'>
<p className='text-center text-gray-500'> <p className='text-center text-gray-500'>
This is a React.js/Node.js app generated by the{' '} This is a temporary landing page for the main app portal.
<a
className={`${textColor}`}
href='https://flatlogic.com/generator'
>
Flatlogic Web App Generator
</a>
</p> </p>
<p className='text-center text-gray-500'> <p className='text-center text-gray-500'>
For guides and documentation please check your local README.md Use the Login button below to access the portal, or visit the {' '}
and the{' '}
<a <a
className={`${textColor}`} className={`${textColor}`}
href='https://flatlogic.com/documentation' href='https://www.paperclaims.ai'
> >
Flatlogic documentation PaperClaims.ai public website
</a> </a>.
</p> </p>
</div> </div>
@ -161,6 +154,7 @@ export default function Starter() {
className='w-full' className='w-full'
/> />
</BaseButtons> </BaseButtons>
{/*
<div className='grid grid-cols-1 gap-2 lg:grid-cols-4 mt-2'> <div className='grid grid-cols-1 gap-2 lg:grid-cols-4 mt-2'>
<div className='text-center'> <div className='text-center'>
<a className={`${textColor}`} href='https://react.dev/'> <a className={`${textColor}`} href='https://react.dev/'>
@ -187,13 +181,14 @@ export default function Starter() {
</a> </a>
</div> </div>
</div> </div>
*/}
</CardBox> </CardBox>
</div> </div>
</div> </div>
</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'>
© 2024 <span>{title}</span>. All rights reserved © 2025 <span>{title}</span>. All rights reserved
</p> </p>
<Link className='py-6 ml-4 text-sm' href='/privacy-policy/'> <Link className='py-6 ml-4 text-sm' href='/privacy-policy/'>
Privacy Policy Privacy Policy

View File

@ -52,7 +52,7 @@ export default function Login() {
remember: true, remember: true,
}); });
const title = 'PaperClaimsai'; const title = 'PaperClaims.ai | Login';
// Fetch Pexels image/video // Fetch Pexels image/video
useEffect(() => { useEffect(() => {
@ -199,37 +199,12 @@ export default function Login() {
: null} : null}
<div className='flex items-center justify-center flex-col space-y-4 w-full lg:w-full'> <div className='flex items-center justify-center flex-col space-y-4 w-full lg:w-full'>
<CardBox id='loginRoles' className='w-full md:w-3/5 lg:w-2/3'> <CardBox id='loginRoles' className='w-full md:w-3/5 lg:w-2/3'>
<h2 className='text-4xl font-semibold my-4'>{title} hello world! adding from GitHub.dev editor</h2> <h2 className='text-4xl font-semibold my-4'>{title}</h2>
<div className='flex flex-row text-gray-500 justify-between'> <div className='flex flex-row text-gray-500 justify-between'>
<div> <div>
<p className='mb-2'> <p className='mb-2'>
Use{' '} Login below to access your account.
<code
className={`cursor-pointer ${textColor} `}
data-password='c8f96137'
onClick={(e) => setLogin(e.target)}
>
admin@flatlogic.com
</code>
{' / '}
<code className={`${textColor}`}>c8f96137</code>
{' / '}
to login as Admin
</p>
<p>
Use{' '}
<code
className={`cursor-pointer ${textColor} `}
data-password='57fd86e330a1'
onClick={(e) => setLogin(e.target)}
>
client@hello.com
</code>
{' / '}
<code className={`${textColor}`}>57fd86e330a1</code>
{' / '}
to login as User
</p> </p>
</div> </div>
<div> <div>