-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from JumboCode/myi/level-page
styled levels page, added conversation classes
- Loading branch information
Showing
18 changed files
with
390 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
const ConversationClass = ({ conversation }) => { | ||
return ( | ||
<div className="w-full h-full rounded-2xl shadow-lg grid grid-rows-[2fr_3fr]"> | ||
<div className="bg-[url('/images/blue_mountains.png')] bg-no-repeat bg-cover bg-center rounded-t-2xl"></div> | ||
<div className="bg-white px-6 py-5 row-start-2 rounded-b-2xl"> | ||
<h3 className='text-2xl font-semibold'>Talk to {conversation.instructor}</h3> | ||
<p>{conversation.ageGroup.charAt(0).toUpperCase() + conversation.ageGroup.slice(1)} ages</p> | ||
{conversation.schedule.map((schedule, index) => ( | ||
<p key={index} className="text-black opacity-50">{schedule.day} {schedule.time}</p> | ||
))} | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default ConversationClass; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,30 @@ | ||
import founder from '../assets/founder.jpg' | ||
import founder from '../assets/founder.jpg'; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
function About() { | ||
const { t } = useTranslation(); | ||
return ( | ||
<> | ||
<div className="flex flex-col sm:flex-row-reverse sm:justify-between h-full sm:px-16 px-4"> | ||
<div className="flex items-center justify-center sm:w-1/3"> | ||
<img src={founder} alt="dummy-founder-image" title="dummy-image"></img> | ||
</div> | ||
<div className="my-auto sm:w-7/12 sm:text-lg"> | ||
<h1 className="text-4xl py-5 sm:text-5xl text-center sm:text-left">{t("about_heading")}</h1> | ||
<p>Dillar English Academy was founded by Dilnawa and Dilziba Dilmurat | ||
Kizghin to help Uyghurs around the world learn English without cost. | ||
With the help and commitment of our volunteer teachers, our goal is | ||
to bridge the educational disparity gap among Uyghurs worldwide. | ||
<br /><br /> | ||
Dillar Academy has grown exponentially in a short time! Recognizing a | ||
need in the international Uyghur community, we have recruited Uyghur | ||
college students in America to volunteer their time and teach various | ||
levels of English. Although our teachers are not certified English | ||
language instructors, they are native English speakers who invest | ||
time into teaching the best information that they can. | ||
</p> | ||
</div> | ||
<div className="flex flex-col sm:flex-row-reverse sm:justify-between h-full xl:px-16 md:px-6 px-4"> | ||
<div className="flex items-center justify-center sm:w-1/3"> | ||
<img src={founder} alt="dummy-founder-image" title="dummy-image"></img> | ||
</div> | ||
|
||
</> | ||
<div className="my-auto sm:w-7/12 sm:text-lg"> | ||
<h1 className="text-4xl py-5 sm:text-5xl text-center sm:text-left">{t("about_heading")}</h1> | ||
<p>Dillar English Academy was founded by Dilnawa and Dilziba Dilmurat | ||
Kizghin to help Uyghurs around the world learn English without cost. | ||
With the help and commitment of our volunteer teachers, our goal is | ||
to bridge the educational disparity gap among Uyghurs worldwide. | ||
<br /><br /> | ||
Dillar Academy has grown exponentially in a short time! Recognizing a | ||
need in the international Uyghur community, we have recruited Uyghur | ||
college students in America to volunteer their time and teach various | ||
levels of English. Although our teachers are not certified English | ||
language instructors, they are native English speakers who invest | ||
time into teaching the best information that they can. | ||
</p> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default About | ||
export default About; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.