Skip to content

Commit

Permalink
feat: hero update
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamsGeeky committed Feb 29, 2024
1 parent b547f0a commit cd56aac
Show file tree
Hide file tree
Showing 11 changed files with 253 additions and 96 deletions.
10 changes: 10 additions & 0 deletions docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ hide_table_of_contents: true
title: Course
description: Courses
---

GeekInk proudly introduces a stellar lineup of courses meticulously crafted by industry leaders and open-source advocates.

Get ready to be guided by the experts who have shaped the tech landscape and are eager to share their invaluable insights with you!

- [General Computing Basic](./basic/intro.mdx)

- [Advanced Excel](./excel/intro.mdx)

- [Python programming](./python/intro.mdx)
4 changes: 2 additions & 2 deletions docs/python/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Immerse yourself in a cutting-edge learning environment with top-tier computers
::::::tip[Join the Tech Revolution Secure Your Future Today!]

:::warning[🚨 Limited Seats ]
[Enroll now](./intro.mdx)
[Enroll now](https://chat.whatsapp.com/DswdOmcTabcEuwSfdJyp3R)
:::
to guarantee your spot in this transformative Python Programming Course. Seize the opportunity to be mentored by a leader in the industry, and elevate your skills to meet the demands of the ever-evolving tech landscape.
::::::
Expand All @@ -178,7 +178,7 @@ to guarantee your spot in this transformative Python Programming Course. Seize t
Don't miss your chance to be part of this exclusive learning experience. Limited seats are available in our state-of-the-art lab.

:::tip[🚨 Limited Seats ]
[Enroll today](./intro.mdx)
[Enroll today](https://chat.whatsapp.com/DswdOmcTabcEuwSfdJyp3R)
:::

Step confidently into the future of programming! Your journey to digital mastery begins here. 🌟
Expand Down
21 changes: 10 additions & 11 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,17 +160,16 @@ const config = {
({
// Replace with your project's social card
image: 'img/logo.png',
// Announcement
// announcementBar: {
// id: 'announcementBar-1', // Increment on change
// isCloseable: false,
// content:
// 'Join C Programming Bootcamp Today ! <a target="_blank" rel="noopener noreferrer" href="https://forms.gle/YUX3ma7jDNz6Sjyf9">Register here</a>',
// backgroundColor: 'orange',
// // #4fddbf ,#fafbfc
// textColor: 'black',
// // `⭐️️⭐️️⭐️️⭐️️⭐️️`,
// },
announcementBar: {
id: 'announcementBar-1', // Increment on change
isCloseable: false,
content:
'Join Python Programming Bootcamp Today ! <a target="_blank" rel="noopener noreferrer" href="https://chat.whatsapp.com/DswdOmcTabcEuwSfdJyp3R">Register here</a>',
backgroundColor: 'orange',
// #4fddbf ,#fafbfc
textColor: 'black',
// `⭐️️⭐️️⭐️️⭐️️⭐️️`,
},
navbar: {
logo: {
alt: 'Geek ink',
Expand Down
4 changes: 1 addition & 3 deletions src/components/Courses/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ export default function Courses() {
width: { sm: '100%', md: '60%' },
textAlign: { sm: 'left', md: 'center' },
}}>
Explore why our product stands out: adaptability, durability,
user-friendly design, and innovation. Enjoy reliable customer support and
precision in every detail.
Are you ready to not just learn but be mentored by the best? GeekInk proudly introduces a stellar lineup of courses meticulously crafted by industry leaders and open-source advocates. Get ready to be guided by the experts who have shaped the tech landscape and are eager to share their invaluable insights with you!
</Typography>
<Box
sx={{
Expand Down
8 changes: 4 additions & 4 deletions src/components/Partners/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ const PartnersList = [
pic: require('@site/static/img/opls.png').default,
url: 'https://github.com/open-source-learners'
},
// {
// pic: require('@site/static/img/gdg.png').default,
// url: 'https://gdg.community.dev/gdg-gombe/'
// }
{
pic: require('@site/static/img/gdg.png').default,
url: 'https://gdg.community.dev/gdg-gombe/'
}
]

function Partner({pic, url}) {
Expand Down
156 changes: 156 additions & 0 deletions src/components/Why/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
import * as React from 'react';
import Accordion from '@mui/material/Accordion';
import AccordionDetails from '@mui/material/AccordionDetails';
import AccordionSummary from '@mui/material/AccordionSummary';
import Box from '@mui/material/Box';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';

import ExpandMoreIcon from '@mui/icons-material/ExpandMore';

export default function FAQ() {
const [expanded, setExpanded] = React.useState(false);

const handleChange = (panel) => (event, isExpanded) => {
setExpanded(isExpanded ? panel : false);
};

return (
<Container
id="faq"
sx={{
pt: { xs: 4, sm: 12 },
pb: { xs: 8, sm: 16 },
position: 'relative',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: { xs: 3, sm: 6 },
}}
>
<Typography
component="h2"
variant="h4"
color="text.primary"
sx={{
width: { sm: '100%', md: '60%' },
textAlign: { sm: 'left', md: 'center' },
}}
>
Why Geeks Ink Courses
</Typography>
<Box sx={{ width: '100%' }}>
<Accordion
expanded={expanded === 'panel1'}
onChange={handleChange('panel1')}
>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
aria-controls="panel1d-content"
id="panel1d-header"
>
<Typography component="h3" variant="subtitle2"
sx={{
fontSize: '25px',
fontWeight: '400',
}}
>
✨ Expert-Led Instruction
</Typography>
</AccordionSummary>
<AccordionDetails>
<Typography
variant="body2"
gutterBottom
sx={{ maxWidth: { sm: '100%', md: '70%' } }}
>
Immerse yourself in courses taught by tech industry leaders, gaining practical knowledge from those who have pioneered innovations.
</Typography>
</AccordionDetails>
</Accordion>
<Accordion
expanded={expanded === 'panel2'}
onChange={handleChange('panel2')}
>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
aria-controls="panel2d-content"
id="panel2d-header"
>
<Typography component="h3" variant="subtitle2"
sx={{
fontSize: '25px',
fontWeight: '400',
}}>
✨ Open Source Advocacy
</Typography>
</AccordionSummary>
<AccordionDetails>
<Typography
variant="body2"
gutterBottom
sx={{ maxWidth: { sm: '100%', md: '70%' } }}
>
Embrace the philosophy of open-source development advocated by our instructors, understanding its significance in the ever-evolving tech landscape.
</Typography>
</AccordionDetails>
</Accordion>
<Accordion
expanded={expanded === 'panel3'}
onChange={handleChange('panel3')}
>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
aria-controls="panel3d-content"
id="panel3d-header"
>
<Typography component="h3" variant="subtitle2"
sx={{
fontSize: '25px',
fontWeight: '400',
}}
>
✨ Practical Assignments
</Typography>
</AccordionSummary>
<AccordionDetails>
<Typography
variant="body2"
gutterBottom
sx={{ maxWidth: { sm: '100%', md: '70%' } }}
>
Apply your learning through hands-on projects, receiving guidance and feedback directly from industry experts.
</Typography>
</AccordionDetails>
</Accordion>
<Accordion
expanded={expanded === 'panel4'}
onChange={handleChange('panel4')}
>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
aria-controls="panel4d-content"
id="panel4d-header"
>
<Typography component="h3" variant="subtitle2"
sx={{
fontSize: '25px',
fontWeight: '400',
}}>
✨ Career Path Support
</Typography>
</AccordionSummary>
<AccordionDetails>
<Typography
variant="body2"
gutterBottom
sx={{ maxWidth: { sm: '100%', md: '70%' } }}
>
Navigate your tech career with features like progress tracking, assignment feedback, and a dedicated helpdesk, all under the guidance of seasoned professionals.
</Typography>
</AccordionDetails>
</Accordion>
</Box>
</Container>
);
}
4 changes: 3 additions & 1 deletion src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Partners from '../components/Partners'
import Courses from '../components/Courses';
import FAQ from '../components/Why';
import styles from './index.module.css';
function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
Expand All @@ -17,7 +18,7 @@ function HomepageHeader() {
we believe in the transformative power of technology
</p>
<div>
<Link to={"/docs/python"} className={clsx('item shadow--tl')}>
<Link to={"/docs/intro"} className={clsx('item shadow--tl')}>
<button class="button button--secondary button--lg ">
Explore Our Courses
</button>
Expand All @@ -40,6 +41,7 @@ export default function Home() {
<main>
<HomepageFeatures />
<Courses/>
<FAQ/>
<Partners/>
</main>
</Layout>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
.heroBanner {
padding: 4rem 0;
height: 80vh;
width: 100%;
text-align: center;
position: relative;
overflow: hidden;
/* background: url('/img/backgroud.jpg') no-repeat; */
background: url('/img/backgroud.jpg') no-repeat;
}

@media screen and (max-width: 996px) {
Expand Down
Loading

0 comments on commit cd56aac

Please sign in to comment.