Code Monkey home page Code Monkey logo

quran.com-frontend-next's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quran.com-frontend-next's Issues

Sounds do not work for the Surahs(chapters) which has more then ten ayats(verses)

Hello,

Thank you for the project. There is an issue in the playing sounds which was loaded dynamically(lazy loading). Here is steps to reproduce:

  • Open any Surahs(chapters) which has more then 10 ayats(verses)
  • Scroll down to any ayats(verses) grater then 10
  • Hit "Play" button on the left
  • As you can see it cannot play it as it was not loaded
    image

This issue is reproducible in the chrome and the firefox.

Permission

Assalamu alaykum, me and my brother are making website same like Quran.com and Sunah.com,, with just additional language and tafseer by our Scholars graduated in Islamic Universiry madina..

after we done it inshaallah we will out direct link also to your site.

may Allah reward us All.

Slack Invitation

Salaam,

I would like to join Slack channel but couldn't find any information about it. Can I get an invitation for ben[at]abdullahceylan.com?

Thanks

Settings erased when using search box

Assalamu alaykum

When the user has update the settings (ex : translations, night mode, ...) and he use the search box to reach another ayah, the settings are erased on the new page.

What happened to rails app ?

Salam, I have been following the project for some time, I have no excuse to not to contribute sorry about that.

When i first came across this project it was a react app then the efforts were shifted to rails app, I see now there is next.js app.

Would it not be reasonable to focus on one implementation and consolidate everything.

Jazakallah for you effort

Add feature to open a random aayat

Thanks for this great effort, it could be nice addition to have a button somewhere in the home screen that opens a random aayat.
Idea being sometimes you need some inspiration from the quran but don't know where to look for exactly.

Would love to contribute if there's an interest in making this feature

Remove unused dependencies

The following dependencies are not used by codebase:

"qs": "^6.9.2",
"react-dom": "^16.13.1",
"react-use": "^13.27.0",
"storybook-styled-components": "^1.1.4",
"styled-breakpoints": "^8.1.0",

Happy to create a PR to clean them and re-add them as we need them down the line

Disable tests and linting on the src/pages directory

The pages directory is auto-generated from next-translate, it currently throws a few errors and fails the husk pre-commit hook.

I'll create a PR to skip running tests and listing on the auto-generated files.

Selecting Translations don't work (Not adding new ones, not removing current ones)

As Salamu Alaikum,

Even "Feedback" function did not submit my message, I decided to find you on Github and write you here.

The ability to switch to different translations is no longer working (since you renewed the User Interface) that we access through "Settings" on Upper Bar section, but only the two pre-selected translators (Mustafa Khattab and Saheeh International) are shown.

I am using quran.com for a long time, this problem is continuing since you renewed the User Interface, and now I miss the usability of the old version already. I checked this on Opera and Mozilla browsers (latest versions), it doesn't work in none of them (and in old version of Edge, setting button doesn't work at all too).

InshaAllah you can fix the function of switching the translators like we were able to do it before the update in User Interface, thanks. JazakAllah for this beautiful website which I suggest to everyone possible.

Slack Channel

Salaam, the docs mentioned opening an issue to join the Slack channel. I'm not sure if this is still the case for this new repo but just wanted to give it a try. Email: [email protected]

Add prettier.config.js file

Can be:

module.exports = {
  "arrowParens": "always",
  "bracketSpacing": true,
  "jsxBracketSameLine": false,
  "printWidth": 100,
  "proseWrap": "always",
  "requirePragma": false,
  "semi": true,
  "singleQuote": true,
  "tabWidth": 2,
  "trailingComma": "all",
  "useTabs": false
};

Thoughts @nabeel- ?

Not all footnotes have references in the Qur'an

In Surah Al Fath, Ayah 29, the Mustafa Khattab translation has a footnote which references the Bible. The reference is taken as one from the Qur'an:
Footnote:
image
Taken as a reference from the Qur'an when clicked:
image

May Allah reward you for your efforts regarding this application, it is one of my favourites.

Styled System and <Box/> Component

I've noticed we are using styled-system in some components, are we considering having a <Box/> component? or even other layout Components like <Stack/> or <Grid/>?

Having layout components like these will make it easier and faster to implement layouts since they easily handle responsive styles and get their values from the theme object.

so instead of doing this

const StyledComponent= styled.div`
  color: ${({ theme }) => theme.colors.primary};
`

const Component = ({children}) => {
  return (
    <StyledComponent>
      {children}
    </StyledComponent>
  )
}

we can just use the color as a prop

const Component = ({children}) => {
  return (
    <Box color="primary">
      {children}
    </Box>
  )
}

Chapters display only the first 10 verses

Assalamu Alaikom, and great work !

TLDR; I know this is not a bug, I'm just curious how this is achieved.

I'm curious, how does the chapters display max 10 verses ? ( I think this is for test purposes) but I cloned the repo and browsed the code and couldn't figure out how this is accomplished.

When I request for a chapter, ex: 46 by the GET request http://api.quran.com/api/v3/chapters/46/verses I get all the verses, but when the application does it via getChapterVerses the reponse only contains 10 verses.

I'm curios how is this achieved.

Thank you, great work again. I hope I can contribute ๐Ÿ˜€

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.