-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eeef905
commit a5f11af
Showing
20 changed files
with
290 additions
and
50 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import macca from '../../assets/images/Background.png'; | ||
import bismillah from '../../assets/images/bismillah.png'; | ||
|
||
const VerseHeaderCard = ({ item }) => { | ||
return ( | ||
<div className='w-9/12 mx-auto mt-20'> | ||
<div className='bg-gray-100 dark:bg-transparent grid md:gap-5 grid-cols-3 justify-center items-center px-10 py-5 rounded-md border-2 border-dashed border-gray-200 dark:border-gray-700 transition-colors duration-500'> | ||
<img src={macca} alt='' className='w-56' /> | ||
<div className='text-center flex-1'> | ||
<h1 className='md:text-3xl text-xl text-gray-700 dark:text-gray-400 transition-colors duration-500 font-headTitle font-bold'> | ||
{item?.name} | ||
</h1> | ||
<h4 className='text-lg font-light text-gray-500 dark:text-gray-500 transition-colors duration-500 font-signika'> | ||
( {item?.translated_en} ) | ||
</h4> | ||
<div className='h-px md:w-48 w-32 bg-gray-200 dark:bg-gray-500 transition-colors duration-500 mx-auto' /> | ||
<h2 className='text-lg text-gray-600 dark:text-gray-400 transition-colors duration-500 mt-1'> | ||
{item?.place} - {item?.count} Ayah | ||
</h2> | ||
</div> | ||
<img src={bismillah} alt='' className='w-56' /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default VerseHeaderCard; |
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,7 @@ | ||
import React from 'react'; | ||
|
||
const Container = ({ children }) => ( | ||
<div className='mx-auto max-w-screen-xl px-5'>{children}</div> | ||
); | ||
|
||
export default Container; |
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,60 @@ | ||
import { Transition } from '@headlessui/react'; | ||
import React from 'react'; | ||
import SettingsContainer from './SettingsContainer'; | ||
|
||
const Settings = props => { | ||
return ( | ||
<Transition show={props?.isOpen || false}> | ||
<div className='fixed inset-0 overflow-hidden z-30'> | ||
<div className='absolute inset-0 overflow-hidden'> | ||
<Transition.Child | ||
enter='transition-opacity ease-linear duration-300' | ||
enterFrom='opacity-0' | ||
enterTo='opacity-100' | ||
leave='transition-opacity ease-linear duration-300' | ||
leaveFrom='opacity-100' | ||
leaveTo='opacity-0' | ||
> | ||
<div | ||
className='absolute inset-0 bg-gray-600 bg-opacity-75 transition-opacity' | ||
aria-hidden='true' | ||
onClick={() => props?.setIsOpen(!props?.isOpen)} | ||
></div> | ||
</Transition.Child> | ||
<section | ||
className='absolute inset-y-0 right-0 pl-10 max-w-full flex' | ||
aria-labelledby='slide-over-heading' | ||
> | ||
<Transition.Child | ||
enter='transition ease-in-out duration-300 transform' | ||
enterFrom='translate-x-full' | ||
enterTo='translate-x-0' | ||
leave='transition ease-in-out duration-300 transform' | ||
leaveFrom='translate-x-0' | ||
leaveTo='translate-x-full' | ||
> | ||
<div className='relative w-screen max-w-md h-screen'> | ||
<div className='h-full flex flex-col py-6 bg-white dark:bg-darkNav transition-colors duration-500 shadow-xl overflow-y-auto'> | ||
<div className='mt-16 pt-2 relative flex-1 px-4 sm:px-6'> | ||
{/* Replace with your content */} | ||
<div className='absolute inset-0 px-4 sm:px-6'> | ||
<div | ||
className='h-full border-2 border-dashed border-gray-200 dark:border-gray-700 transition-colors duration-500 p-5' | ||
aria-hidden='true' | ||
> | ||
<SettingsContainer/> | ||
</div> | ||
</div> | ||
{/* /End replace */} | ||
</div> | ||
</div> | ||
</div> | ||
</Transition.Child> | ||
</section> | ||
</div> | ||
</div> | ||
</Transition> | ||
); | ||
}; | ||
|
||
export default Settings; |
Oops, something went wrong.