Closed bogas04 closed 7 years ago
Raag Angs can use following CSS to be closer to an actual Saroop.
raagAngs = [1, ...];
let className = ['gurbani-text', 'gurbani-text raag-ang'][raagAngs.includes(ang) ? 1 : 0]
...
<div style={{ textAlign: 'left', padding: 20 }} className={className}>{angContent}</div>
.gurbani-text.raag-ang > div:nth-child(1) {
font-size: 2em !important;
display: block !important;
text-align: center !important;
}
.gurbani-text.raag-ang > div:nth-child(2) {
display: block !important;
text-align: center !important;
font-size: 1.25em !important;
}
.gurbani-text.raag-ang {
background-color: #452f5a; /* Can be random as well */
color: white;
}
We'll have to make assumptions for Sehaj Paath.
Since 2nd point is still confusing, we can push the release to v0.9.0
@ravjot28 any idea as to how you would want Sehaj Paath UI ?
Closing as we took easier approach on Sehaj Paath for now.
Submenu should have items like
/raags
with list of all raags/raags/:id
with description of raag, and link to start ang of sggs.