upd login

This commit is contained in:
Flatlogic Bot 2025-04-03 21:07:14 +00:00
parent fe45d24e67
commit 87b2e7f448
23 changed files with 268 additions and 77 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/
*/node_modules/
*/build/
**/node_modules/
**/build/
.DS_Store
.env

View File

@ -1,6 +1,6 @@
# app for Allison
# Welcome
## This project was generated by [Flatlogic Platform](https://flatlogic.com).

View File

@ -1,4 +1,4 @@
#app for Allison - template backend,
#Welcome - template backend,
#### Run App on local machine:
@ -38,10 +38,10 @@
- Type this command to creating a new database.
- `postgres=> CREATE DATABASE db_app_for_allison;`
- `postgres=> CREATE DATABASE db_welcome;`
- Then give that new user privileges to the new database then quit the `psql`.
- `postgres=> GRANT ALL PRIVILEGES ON DATABASE db_app_for_allison TO admin;`
- `postgres=> GRANT ALL PRIVILEGES ON DATABASE db_welcome TO admin;`
- `postgres=> \q`
---

View File

@ -1,6 +1,6 @@
{
"name": "appforallison",
"description": "app for Allison - template backend",
"name": "welcome",
"description": "Welcome - template backend",
"scripts": {
"start": "npm run db:migrate && npm run db:seed && npm run watch",
"db:migrate": "sequelize-cli db:migrate",

View File

@ -3,7 +3,7 @@ const os = require('os');
const config = {
gcloud: {
bucket: 'fldemo-files',
hash: '88f66c693c2211a3d0b6ee246243595b',
hash: 'afeefb9d49f5b7977577876b99532ac7',
},
bcrypt: {
saltRounds: 12,
@ -36,7 +36,7 @@ const config = {
},
uploadDir: os.tmpdir(),
email: {
from: 'app for Allison <app@flatlogic.app>',
from: 'Welcome <app@flatlogic.app>',
host: 'email-smtp.us-east-1.amazonaws.com',
port: 587,
auth: {

View File

@ -13,7 +13,7 @@ module.exports = {
username: 'postgres',
dialect: 'postgres',
password: '',
database: 'db_app_for_allison',
database: 'db_welcome',
host: process.env.DB_HOST || 'localhost',
logging: console.log,
seederStorage: 'sequelize',

View File

@ -35,7 +35,7 @@ const ApplicationsData = [
applied_date: new Date('2023-10-02T11:00:00Z'),
stage: 'Offer',
stage: 'Applied',
// type code here for "relation_one" field
},
@ -47,7 +47,7 @@ const ApplicationsData = [
applied_date: new Date('2023-10-03T12:00:00Z'),
stage: 'Applied',
stage: 'Rejected',
// type code here for "relation_one" field
},
@ -63,6 +63,18 @@ const ApplicationsData = [
// type code here for "relation_one" field
},
{
// type code here for "relation_one" field
// type code here for "relation_one" field
applied_date: new Date('2023-10-05T14:00:00Z'),
stage: 'Applied',
// type code here for "relation_one" field
},
];
const CandidatesData = [
@ -85,7 +97,7 @@ const CandidatesData = [
email: 'liam.harris@candidates.com',
status: 'Qualified',
status: 'Hired',
// type code here for "relation_one" field
@ -99,7 +111,7 @@ const CandidatesData = [
email: 'olivia.walker@candidates.com',
status: 'Hired',
status: 'Interviewing',
// type code here for "relation_one" field
@ -113,6 +125,20 @@ const CandidatesData = [
email: 'noah.young@candidates.com',
status: 'Hired',
// type code here for "relation_one" field
// type code here for "relation_many" field
// type code here for "relation_one" field
},
{
name: 'Ava King',
email: 'ava.king@candidates.com',
status: 'New',
// type code here for "relation_one" field
@ -163,6 +189,16 @@ const HrManagersData = [
// type code here for "relation_one" field
},
{
name: 'Mia Adams',
email: 'mia.adams@hr.com',
// type code here for "relation_many" field
// type code here for "relation_one" field
},
];
const JobsData = [
@ -205,6 +241,16 @@ const JobsData = [
// type code here for "relation_one" field
},
{
title: 'Marketing Specialist',
description: 'Develop marketing strategies and campaigns.',
// type code here for "relation_many" field
// type code here for "relation_one" field
},
];
const RecruitersData = [
@ -247,15 +293,21 @@ const RecruitersData = [
// type code here for "relation_one" field
},
{
name: 'Ethan Clark',
email: 'ethan.clark@recruitment.com',
// type code here for "relation_many" field
// type code here for "relation_one" field
},
];
const OrganizationsData = [
{
name: 'Lucretius',
},
{
name: 'William Herschel',
name: 'Emil Fischer',
},
{
@ -265,13 +317,21 @@ const OrganizationsData = [
{
name: 'John Dalton',
},
{
name: 'Edward Teller',
},
{
name: 'Anton van Leeuwenhoek',
},
];
const LikesData = [
{
// type code here for "relation_one" field
amount: 'Wilhelm Wundt',
amount: 'Francis Crick',
// type code here for "relation_one" field
},
@ -279,7 +339,7 @@ const LikesData = [
{
// type code here for "relation_one" field
amount: 'Thomas Hunt Morgan',
amount: 'Carl Linnaeus',
// type code here for "relation_one" field
},
@ -287,7 +347,7 @@ const LikesData = [
{
// type code here for "relation_one" field
amount: 'Franz Boas',
amount: 'Edwin Hubble',
// type code here for "relation_one" field
},
@ -295,7 +355,15 @@ const LikesData = [
{
// type code here for "relation_one" field
amount: 'Frederick Gowland Hopkins',
amount: 'Werner Heisenberg',
// type code here for "relation_one" field
},
{
// type code here for "relation_one" field
amount: 'Anton van Leeuwenhoek',
// type code here for "relation_one" field
},
@ -347,6 +415,17 @@ async function associateUserWithOrganization() {
if (User3?.setOrganization) {
await User3.setOrganization(relatedOrganization3);
}
const relatedOrganization4 = await Organizations.findOne({
offset: Math.floor(Math.random() * (await Organizations.count())),
});
const User4 = await Users.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (User4?.setOrganization) {
await User4.setOrganization(relatedOrganization4);
}
}
async function associateApplicationWithCandidate() {
@ -393,6 +472,17 @@ async function associateApplicationWithCandidate() {
if (Application3?.setCandidate) {
await Application3.setCandidate(relatedCandidate3);
}
const relatedCandidate4 = await Candidates.findOne({
offset: Math.floor(Math.random() * (await Candidates.count())),
});
const Application4 = await Applications.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Application4?.setCandidate) {
await Application4.setCandidate(relatedCandidate4);
}
}
async function associateApplicationWithJob() {
@ -439,6 +529,17 @@ async function associateApplicationWithJob() {
if (Application3?.setJob) {
await Application3.setJob(relatedJob3);
}
const relatedJob4 = await Jobs.findOne({
offset: Math.floor(Math.random() * (await Jobs.count())),
});
const Application4 = await Applications.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Application4?.setJob) {
await Application4.setJob(relatedJob4);
}
}
async function associateApplicationWithOrganization() {
@ -485,6 +586,17 @@ async function associateApplicationWithOrganization() {
if (Application3?.setOrganization) {
await Application3.setOrganization(relatedOrganization3);
}
const relatedOrganization4 = await Organizations.findOne({
offset: Math.floor(Math.random() * (await Organizations.count())),
});
const Application4 = await Applications.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Application4?.setOrganization) {
await Application4.setOrganization(relatedOrganization4);
}
}
async function associateCandidateWithRecruiter() {
@ -531,6 +643,17 @@ async function associateCandidateWithRecruiter() {
if (Candidate3?.setRecruiter) {
await Candidate3.setRecruiter(relatedRecruiter3);
}
const relatedRecruiter4 = await Recruiters.findOne({
offset: Math.floor(Math.random() * (await Recruiters.count())),
});
const Candidate4 = await Candidates.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Candidate4?.setRecruiter) {
await Candidate4.setRecruiter(relatedRecruiter4);
}
}
// Similar logic for "relation_many"
@ -579,6 +702,17 @@ async function associateCandidateWithOrganization() {
if (Candidate3?.setOrganization) {
await Candidate3.setOrganization(relatedOrganization3);
}
const relatedOrganization4 = await Organizations.findOne({
offset: Math.floor(Math.random() * (await Organizations.count())),
});
const Candidate4 = await Candidates.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Candidate4?.setOrganization) {
await Candidate4.setOrganization(relatedOrganization4);
}
}
// Similar logic for "relation_many"
@ -627,6 +761,17 @@ async function associateHrManagerWithOrganization() {
if (HrManager3?.setOrganization) {
await HrManager3.setOrganization(relatedOrganization3);
}
const relatedOrganization4 = await Organizations.findOne({
offset: Math.floor(Math.random() * (await Organizations.count())),
});
const HrManager4 = await HrManagers.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (HrManager4?.setOrganization) {
await HrManager4.setOrganization(relatedOrganization4);
}
}
// Similar logic for "relation_many"
@ -675,6 +820,17 @@ async function associateJobWithOrganization() {
if (Job3?.setOrganization) {
await Job3.setOrganization(relatedOrganization3);
}
const relatedOrganization4 = await Organizations.findOne({
offset: Math.floor(Math.random() * (await Organizations.count())),
});
const Job4 = await Jobs.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Job4?.setOrganization) {
await Job4.setOrganization(relatedOrganization4);
}
}
// Similar logic for "relation_many"
@ -723,6 +879,17 @@ async function associateRecruiterWithOrganization() {
if (Recruiter3?.setOrganization) {
await Recruiter3.setOrganization(relatedOrganization3);
}
const relatedOrganization4 = await Organizations.findOne({
offset: Math.floor(Math.random() * (await Organizations.count())),
});
const Recruiter4 = await Recruiters.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Recruiter4?.setOrganization) {
await Recruiter4.setOrganization(relatedOrganization4);
}
}
async function associateLikeWithOrganization() {
@ -769,6 +936,17 @@ async function associateLikeWithOrganization() {
if (Like3?.setOrganization) {
await Like3.setOrganization(relatedOrganization3);
}
const relatedOrganization4 = await Organizations.findOne({
offset: Math.floor(Math.random() * (await Organizations.count())),
});
const Like4 = await Likes.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Like4?.setOrganization) {
await Like4.setOrganization(relatedOrganization4);
}
}
async function associateLikeWithUser() {
@ -815,6 +993,17 @@ async function associateLikeWithUser() {
if (Like3?.setUser) {
await Like3.setUser(relatedUser3);
}
const relatedUser4 = await Users.findOne({
offset: Math.floor(Math.random() * (await Users.count())),
});
const Like4 = await Likes.findOne({
order: [['id', 'ASC']],
offset: 4,
});
if (Like4?.setUser) {
await Like4.setUser(relatedUser4);
}
}
module.exports = {

View File

@ -51,9 +51,9 @@ const options = {
openapi: '3.0.0',
info: {
version: '1.0.0',
title: 'app for Allison',
title: 'Welcome',
description:
'app for Allison Online REST API for Testing and Prototyping application. You can perform all major operations with your entities - create, delete and etc.',
'Welcome Online REST API for Testing and Prototyping application. You can perform all major operations with your entities - create, delete and etc.',
},
servers: [
{

View File

@ -1,6 +1,6 @@
const errors = {
app: {
title: 'app for Allison',
title: 'Welcome',
},
auth: {

View File

@ -15,7 +15,7 @@ services:
- ./data/db:/var/lib/postgresql/data
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_DB=db_app_for_allison
- POSTGRES_DB=db_welcome
ports:
- "5432:5432"
backend:

View File

@ -1,4 +1,4 @@
# app for Allison
# Welcome
## This project was generated by Flatlogic Platform.

View File

@ -75,7 +75,7 @@ export default function AsideMenuLayer({
>
<div className='text-center flex-1 lg:text-left lg:pl-6 xl:text-center xl:pl-0'>
<Link href={'/home'}>
<b className='font-black'>app for Allison</b>
<b className='font-black'>Welcome</b>
</Link>
{organizationName && <p>{organizationName}</p>}

View File

@ -19,7 +19,7 @@ export default function WebSiteHeader({
const websiteHeder = useAppSelector((state) => state.style.websiteHeder);
const borders = useAppSelector((state) => state.style.borders);
const style = HeaderStyle.PAGES_RIGHT;
const style = HeaderStyle.PAGES_LEFT;
const design = HeaderDesigns.DEFAULT_DESIGN;
return (

View File

@ -71,9 +71,9 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
}
}, []);
const title = 'app for Allison';
const title = 'Welcome';
const description = 'app for Allison generated by Flatlogic';
const description = 'Welcome generated by Flatlogic';
const url = 'https://flatlogic.com/';

View File

@ -27,7 +27,7 @@ import FaqSection from '../components/WebPageComponents/FaqComponent';
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'app for Allison';
const projectName = 'Welcome';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -125,10 +125,10 @@ export default function WebSite() {
content={`Discover our comprehensive recruitment platform designed to help recruiters source, qualify, and assess candidates efficiently. Learn about our features, team, and how we can assist in your hiring journey.`}
/>
</Head>
<WebSiteHeader projectName={'app for Allison'} pages={pages} />
<WebSiteHeader projectName={'Welcome'} pages={pages} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Diverse professionals collaborating in office']}
mainText={`Transform Your Hiring with ${projectName}`}
subTitle={`Streamline your recruitment process with ${projectName}. Source, qualify, and assess candidates efficiently to find the perfect fit for your team.`}
@ -137,7 +137,7 @@ export default function WebSite() {
/>
<AboutUsSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Team collaborating in modern office']}
mainText={`Empowering Recruitment with ${projectName}`}
subTitle={`At ${projectName}, we are dedicated to revolutionizing the recruitment process. Our platform is designed to connect recruiters with top talent efficiently and effectively, ensuring a seamless hiring experience.`}
@ -146,7 +146,7 @@ export default function WebSite() {
/>
<FeaturesSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Recruitment dashboard with analytics']}
withBg={1}
features={features_points}
@ -156,21 +156,21 @@ export default function WebSite() {
/>
<FaqSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={FaqDesigns.ACCORDION || ''}
faqs={faqs}
mainText={`Frequently Asked Questions about ${projectName} `}
/>
<ContactFormSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={ContactFormDesigns.WITH_IMAGE || ''}
image={['Person typing on a laptop']}
mainText={`Get in Touch with ${projectName} `}
subTitle={`Reach out to us anytime for inquiries or support. Our team at ${projectName} is here to assist you promptly and effectively.`}
/>
</main>
<WebSiteFooter projectName={'app for Allison'} pages={pages} />
<WebSiteFooter projectName={'Welcome'} pages={pages} />
</div>
);
}

View File

@ -50,7 +50,7 @@ export default function Login() {
remember: true,
});
const title = 'app for Allison';
const title = 'Welcome';
// Fetch Pexels image/video
useEffect(() => {
@ -195,10 +195,7 @@ export default function Login() {
<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'>
<Link href={'/home'}>
<h2 className='text-4xl font-semibold my-4'>
{' '}
app for Allison
</h2>
<h2 className='text-4xl font-semibold my-4'> Welcome</h2>
</Link>
<div className='flex flex-row text-gray-500 justify-between'>

View File

@ -5,7 +5,7 @@ import LayoutGuest from '../layouts/Guest';
import { getPageTitle } from '../config';
export default function PrivacyPolicy() {
const title = 'app for Allison';
const title = 'Welcome';
const [projectUrl, setProjectUrl] = useState('');
useEffect(() => {

View File

@ -5,7 +5,7 @@ import LayoutGuest from '../layouts/Guest';
import { getPageTitle } from '../config';
export default function PrivacyPolicy() {
const title = 'app for Allison';
const title = 'Welcome';
const [projectUrl, setProjectUrl] = useState('');
useEffect(() => {

View File

@ -24,7 +24,7 @@ import ContactFormSection from '../../components/WebPageComponents/ContactFormCo
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'app for Allison';
const projectName = 'Welcome';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -89,10 +89,10 @@ export default function WebSite() {
content={`Discover the mission, values, and team behind ${projectName}. Learn how our innovative recruitment platform is transforming the hiring process for businesses worldwide.`}
/>
</Head>
<WebSiteHeader projectName={'app for Allison'} pages={pages} />
<WebSiteHeader projectName={'Welcome'} pages={pages} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Team brainstorming in modern office']}
mainText={`Meet the Visionaries Behind ${projectName}`}
subTitle={`Explore the story, mission, and values that drive ${projectName}. Discover how our dedicated team is revolutionizing the recruitment industry with innovative solutions.`}
@ -101,7 +101,7 @@ export default function WebSite() {
/>
<AboutUsSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Diverse team collaborating happily']}
mainText={`Our Journey with ${projectName}`}
subTitle={`At ${projectName}, we are committed to transforming the recruitment landscape. Our mission is to connect businesses with the best talent through innovative technology and a dedicated team.`}
@ -110,7 +110,7 @@ export default function WebSite() {
/>
<FeaturesSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Dashboard showcasing key features']}
withBg={0}
features={features_points}
@ -120,14 +120,14 @@ export default function WebSite() {
/>
<ContactFormSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={ContactFormDesigns.HIGHLIGHTED || ''}
image={['Person typing on a laptop']}
mainText={`Connect with ${projectName} Today `}
subTitle={`Have questions or need assistance? Reach out to us anytime, and our team at ${projectName} will respond promptly to support your needs.`}
/>
</main>
<WebSiteFooter projectName={'app for Allison'} pages={pages} />
<WebSiteFooter projectName={'Welcome'} pages={pages} />
</div>
);
}

View File

@ -18,7 +18,7 @@ import ContactFormSection from '../../components/WebPageComponents/ContactFormCo
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'app for Allison';
const projectName = 'Welcome';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -62,10 +62,10 @@ export default function WebSite() {
content={`Reach out to ${projectName} for any inquiries or support. Our team is here to assist you with your recruitment needs and ensure a seamless experience.`}
/>
</Head>
<WebSiteHeader projectName={'app for Allison'} pages={pages} />
<WebSiteHeader projectName={'Welcome'} pages={pages} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Customer service representative smiling']}
mainText={`Connect with ${projectName} Today`}
subTitle={`We're here to help with any questions or support you need. Reach out to ${projectName} and let us assist you in enhancing your recruitment process.`}
@ -74,14 +74,14 @@ export default function WebSite() {
/>
<ContactFormSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={ContactFormDesigns.WITH_IMAGE || ''}
image={['Person typing on a laptop']}
mainText={`Get in Touch with ${projectName} `}
subTitle={`Have questions or need support? Contact us anytime, and our team at ${projectName} will respond promptly to assist you.`}
/>
</main>
<WebSiteFooter projectName={'app for Allison'} pages={pages} />
<WebSiteFooter projectName={'Welcome'} pages={pages} />
</div>
);
}

View File

@ -18,7 +18,7 @@ import FaqSection from '../../components/WebPageComponents/FaqComponent';
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'app for Allison';
const projectName = 'Welcome';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -95,10 +95,10 @@ export default function WebSite() {
content={`Find answers to common questions about ${projectName}. Learn more about our features, services, and how we can assist you in optimizing your recruitment process.`}
/>
</Head>
<WebSiteHeader projectName={'app for Allison'} pages={pages} />
<WebSiteHeader projectName={'Welcome'} pages={pages} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Person reading FAQ on laptop']}
mainText={`Your Questions Answered with ${projectName}`}
subTitle={`Explore our comprehensive FAQ section to find answers to your questions about ${projectName}. Learn how our platform can enhance your recruitment process.`}
@ -107,13 +107,13 @@ export default function WebSite() {
/>
<FaqSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={FaqDesigns.ACCORDION || ''}
faqs={faqs}
mainText={`Common Questions About ${projectName} `}
/>
</main>
<WebSiteFooter projectName={'app for Allison'} pages={pages} />
<WebSiteFooter projectName={'Welcome'} pages={pages} />
</div>
);
}

View File

@ -27,7 +27,7 @@ import FaqSection from '../../components/WebPageComponents/FaqComponent';
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'app for Allison';
const projectName = 'Welcome';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -125,10 +125,10 @@ export default function WebSite() {
content={`Discover our comprehensive recruitment platform designed to help recruiters source, qualify, and assess candidates efficiently. Learn about our features, team, and how we can assist in your hiring journey.`}
/>
</Head>
<WebSiteHeader projectName={'app for Allison'} pages={pages} />
<WebSiteHeader projectName={'Welcome'} pages={pages} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Diverse professionals collaborating in office']}
mainText={`Transform Your Hiring with ${projectName}`}
subTitle={`Streamline your recruitment process with ${projectName}. Source, qualify, and assess candidates efficiently to find the perfect fit for your team.`}
@ -137,7 +137,7 @@ export default function WebSite() {
/>
<AboutUsSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Team collaborating in modern office']}
mainText={`Empowering Recruitment with ${projectName}`}
subTitle={`At ${projectName}, we are dedicated to revolutionizing the recruitment process. Our platform is designed to connect recruiters with top talent efficiently and effectively, ensuring a seamless hiring experience.`}
@ -146,7 +146,7 @@ export default function WebSite() {
/>
<FeaturesSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Recruitment dashboard with analytics']}
withBg={1}
features={features_points}
@ -156,21 +156,21 @@ export default function WebSite() {
/>
<FaqSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={FaqDesigns.ACCORDION || ''}
faqs={faqs}
mainText={`Frequently Asked Questions about ${projectName} `}
/>
<ContactFormSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={ContactFormDesigns.WITH_IMAGE || ''}
image={['Person typing on a laptop']}
mainText={`Get in Touch with ${projectName} `}
subTitle={`Reach out to us anytime for inquiries or support. Our team at ${projectName} is here to assist you promptly and effectively.`}
/>
</main>
<WebSiteFooter projectName={'app for Allison'} pages={pages} />
<WebSiteFooter projectName={'Welcome'} pages={pages} />
</div>
);
}

View File

@ -21,7 +21,7 @@ import FeaturesSection from '../../components/WebPageComponents/FeaturesComponen
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
const projectName = 'app for Allison';
const projectName = 'Welcome';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
@ -104,10 +104,10 @@ export default function WebSite() {
content={`Explore the range of services offered by ${projectName} to enhance your recruitment process. From candidate sourcing to data-driven insights, learn how we can support your hiring needs.`}
/>
</Head>
<WebSiteHeader projectName={'app for Allison'} pages={pages} />
<WebSiteHeader projectName={'Welcome'} pages={pages} />
<main className={`flex-grow bg-white rounded-none `}>
<HeroSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Recruitment team strategizing together']}
mainText={`Unlock Recruitment Success with ${projectName}`}
subTitle={`Discover the comprehensive services offered by ${projectName} to streamline your hiring process. From sourcing to onboarding, we provide solutions tailored to your needs.`}
@ -116,7 +116,7 @@ export default function WebSite() {
/>
<FeaturesSection
projectName={'app for Allison'}
projectName={'Welcome'}
image={['Icons representing various services']}
withBg={0}
features={features_points}
@ -126,14 +126,14 @@ export default function WebSite() {
/>
<ContactFormSection
projectName={'app for Allison'}
projectName={'Welcome'}
design={ContactFormDesigns.HIGHLIGHTED_DIVERSITY || ''}
image={['Person using a laptop']}
mainText={`Reach Out to ${projectName} `}
subTitle={`Have questions about our services? Contact us anytime, and our team at ${projectName} will respond promptly to assist you.`}
/>
</main>
<WebSiteFooter projectName={'app for Allison'} pages={pages} />
<WebSiteFooter projectName={'Welcome'} pages={pages} />
</div>
);
}