Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
986 changes: 964 additions & 22 deletions pages/about-us.js

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions pages/why-eduvacity.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
WHY_EDUVACITY_VALUE_DESC,
} from '../src/utils/contants';
import HomePageLayout from '../src/views/home/layout';
import { capitalizeTitle } from '../src/utils/capitalizeTitle';

export default function WhyEduvasityPage() {
const router = useRouter();
Expand Down Expand Up @@ -243,8 +244,9 @@ export default function WhyEduvasityPage() {
textAlign: 'left',
}}
>
Collaborates with experts institutions to offer courses
aligned with industry needs
{capitalizeTitle(
'Collaborates with experts institutions to offer courses aligned with industry needs'
)}
</Typography>
</Box>
<Box
Expand Down Expand Up @@ -455,8 +457,9 @@ export default function WhyEduvasityPage() {
textAlign: 'left',
}}
>
Collaborates with experts institutions to offer courses
aligned with industry needs
{capitalizeTitle(
'Collaborates with experts institutions to offer courses aligned with industry needs'
)}
</Typography>
</Box>
<Box
Expand Down
Binary file added public/images/alhaja.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/community3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/goal1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/goal2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/goal3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/staff1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/staff2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/staff3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/staff4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 17 additions & 9 deletions src/components/testimony.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const testimonies = [
'Eduvacity removed financial barriers and empowered me as a learner',
},
{
name: '-Hassan Rufai(BSc, Business Administration)',
name: '-Hassan Rufai (BSc, Business Administration)',
avatar: '/images/hassan.jpeg',
comment:
'Studying at Eduvacity allows me to earn my B.sc while balancing my busy work schedule',
Expand All @@ -28,12 +28,14 @@ export default function Testimony() {
// px: { xs: '1rem', sm: 8.5, md: 5.5, lg: 15.5 },
px: { xs: '1rem', sm: '1rem', lg: 12.5, xl: 16 },
py: { xs: '40px', lg: '96px' },
}}>
}}
>
<Typography
sx={{
font: `normal normal 400 normal 36px/44px ${Fonts.primary}`,
color: '#091E42',
}}>
}}
>
Why{' '}
<span style={{ color: '#41A36E', fontWeight: 700 }}>Learners</span>{' '}
Love Eduvacity?
Expand All @@ -51,13 +53,15 @@ export default function Testimony() {
px: '20px',
maxHeight: '180px',
radius: '6px',
}}>
}}
>
<Box
sx={{
position: 'relative',
// height: '180px',
width: '33%',
}}>
}}
>
<Image
src={testimony.avatar}
alt={testimony.name}
Expand All @@ -73,29 +77,33 @@ export default function Testimony() {
width: '67%',
display: 'flex',
flexDirection: 'column',
}}>
}}
>
<Typography
sx={{
fontSize: '30px',
fontWeight: '600',
color: '#41A36E',
}}>
}}
>
&ldquo;
</Typography>
<Typography
sx={{
mt: 'auto',
font: `normal normal 600 normal 16px/19.2px ${Fonts.inter}`,
color: '#091E42',
}}>
}}
>
{testimony.comment}
</Typography>
<Typography
sx={{
mt: '18px',
font: `normal normal 500 normal 16px/19.2px ${Fonts.inter}`,
color: '#091E42',
}}>
}}
>
{testimony.name}
</Typography>
</Box>
Expand Down
26 changes: 26 additions & 0 deletions src/utils/capitalizeTitle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export const capitalizeTitle = (title) => {
const skipWords = [
'a',
'an',
'the',
'and',
'but',
'or',
'for',
'nor',
'on',
'at',
'to',
'by',
'with',
];
return title
.split(' ')
.map((word, i) => {
if (skipWords.includes(word) && i !== 0) {
return word;
}
return word.charAt(0).toUpperCase() + word.slice(1);
})
.join(' ');
};
2 changes: 1 addition & 1 deletion src/utils/contants.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const FOOTER_COMPANY = [
{ title: 'Why eduvacity', href: '/why-eduvacity' },
{ title: 'Careers', href: '#' },
{ title: 'Partners', href: '#' },
{ title: 'Become an instructors', href: '#' },
{ title: 'Become an instructor', href: '#' },
{ title: 'Scholarships', href: '#' },
];

Expand Down
11 changes: 7 additions & 4 deletions src/views/home/features/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const cards = [
icon: <ComputerIcon />,
},
{
name: 'Lifelong leaning',
name: 'Lifelong learning',
description:
'The learning journey is perpetual. Eduvacity empowers you with a wealth of knowledge and mentorship throughout your career journey, ensuring that your educational pursuit transcends industry relevance.',
icon: <AnchorIcon />,
Expand All @@ -70,7 +70,8 @@ export default function FeaturesCard() {
gap: '64px',
boxShadow: 'none',
background: '#F6F7F7',
}}>
}}
>
<Box>{card.icon}</Box>
<Box sx={{ width: '100%' }}>
<Typography
Expand All @@ -84,7 +85,8 @@ export default function FeaturesCard() {
textTransform: 'capitalize',
},
color: Colors.dark,
}}>
}}
>
{card.name}
</Typography>
<Typography
Expand All @@ -93,7 +95,8 @@ export default function FeaturesCard() {
width: 341,
font: `normal normal 400 normal 16px/24px ${Fonts.primary}`,
color: Colors.textColor,
}}>
}}
>
{card.description}
</Typography>
</Box>
Expand Down
Loading