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:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
SASS_PATH: ./src/css/
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -26,6 +29,4 @@ jobs:
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
uses: './.github/actions/prepare-env'
|
uses: './.github/actions/prepare-env'
|
||||||
- name: nanoc
|
- name: nanoc
|
||||||
run:
|
run: ruby -S rake build
|
||||||
- source .env.sample
|
|
||||||
- ruby -S rake build
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ function SurahIndex({ locale, surahs }: Props) {
|
||||||
<ul className="body index scroll-y">
|
<ul className="body index scroll-y">
|
||||||
{surahs.map((surah, key) => (
|
{surahs.map((surah, key) => (
|
||||||
<li className="surah" key={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 id">{surah.id.toLocaleString(locale)}</div>
|
||||||
<div className="surah name">{surah.localizedName}</div>
|
<div className="surah name">{surah.localizedName}</div>
|
||||||
<div className="surah name transliterated" lang="en">{surah.transliteratedName}</div>
|
<div className="surah name transliterated" lang="en">{surah.transliteratedName}</div>
|
||||||
|
|
Loading…
Reference in a new issue