Merge pull request #91 from ReflectsLight/one_tab
Open surah stream in the same tab
This commit is contained in:
commit
4ed48dce75
2 changed files with 5 additions and 4 deletions
7
.github/workflows/al-quran.yml
vendored
7
.github/workflows/al-quran.yml
vendored
|
@ -6,6 +6,9 @@ on:
|
|||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
SASS_PATH: ./src/css/
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -26,6 +29,4 @@ jobs:
|
|||
- name: Prepare environment
|
||||
uses: './.github/actions/prepare-env'
|
||||
- name: nanoc
|
||||
run:
|
||||
- source .env.sample
|
||||
- ruby -S rake build
|
||||
run: ruby -S rake build
|
||||
|
|
|
@ -37,7 +37,7 @@ function SurahIndex({ locale, surahs }: Props) {
|
|||
<ul className="body index scroll-y">
|
||||
{surahs.map((surah, key) => (
|
||||
<li className="surah" key={key}>
|
||||
<a href={`/${locale}/${surah.slug}`} target="_blank" rel="noreferrer">
|
||||
<a href={`/${locale}/${surah.slug}`}>
|
||||
<div className="surah id">{surah.id.toLocaleString(locale)}</div>
|
||||
<div className="surah name">{surah.localizedName}</div>
|
||||
<div className="surah name transliterated" lang="en">{surah.transliteratedName}</div>
|
||||
|
|
Loading…
Reference in a new issue