Fix changelog link on homepage#1982
Conversation
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
bjohansebas
left a comment
There was a problem hiding this comment.
This almost looks like a spam PR. Please use a better description and a better title. I was about to close this PR and mark it as spam, we receive a lot of spam PRs, and I thought this might be one of them.
We should keep the Express text, although we can remove the link and leave only the link to the changelog.
|
ok i will make sure from next time |
| <div id="homepage-leftpane" class="pane"> | ||
| <section id="description"> | ||
| <div class="express"><a href="/">Express</a><a href="{{ page.lang }}/changelog/4x.html#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> | ||
| <div class="express"><a>Express</a><a href="{{ page.lang }}/changelog/#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> |
There was a problem hiding this comment.
| <div class="express"><a>Express</a><a href="{{ page.lang }}/changelog/#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> | |
| <div class="express">Express <a href="{{ page.lang }}/changelog/#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> |
There was a problem hiding this comment.
This suggestion will fail to apply following style, since the anchor tag is removed.
#description .express > a {
color: var(--card-fg);
text-decoration: none;
}
| <div id="homepage-leftpane" class="pane"> | ||
| <section id="description"> | ||
| <div class="express"><a href="/">Express</a><a href="{{ page.lang }}/changelog/4x.html#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> | ||
| <div class="express"><a>Express</a><a href="{{ page.lang }}/changelog/#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> |
There was a problem hiding this comment.
| <div class="express"><a>Express</a><a href="{{ page.lang }}/changelog/#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> | |
| <div class="express"><span>Express</span><a href="{{ page.lang }}/changelog/#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div> |
And update selector as #description .express > span {}
|
the required change has been done |
ShubhamOulkar
left a comment
There was a problem hiding this comment.
please update selector from style.css
#description .express > a {
color: var(--card-fg);
text-decoration: none;
}
as
#description .express > span {
color: var(--card-fg);
}
No description provided.