Skip to content

Fix changelog link on homepage#1982

Merged
bjohansebas merged 6 commits intoexpressjs:gh-pagesfrom
antiquark007:gh-pages
Jul 27, 2025
Merged

Fix changelog link on homepage#1982
bjohansebas merged 6 commits intoexpressjs:gh-pagesfrom
antiquark007:gh-pages

Conversation

@antiquark007
Copy link
Copy Markdown
Contributor

No description provided.

@antiquark007 antiquark007 requested a review from a team as a code owner July 22, 2025 12:07
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 22, 2025

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit ce0d529
🔍 Latest deploy log https://app.netlify.com/projects/expressjscom-preview/deploys/6885cebc1fe692000800f2a5
😎 Deploy Preview https://deploy-preview-1982--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@bjohansebas bjohansebas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

imagen

@antiquark007
Copy link
Copy Markdown
Contributor Author

ok i will make sure from next time

Comment thread index.md Outdated
<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>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This suggestion will fail to apply following style, since the anchor tag is removed.

#description .express > a {
  color: var(--card-fg);
  text-decoration: none;
}

@bjohansebas bjohansebas changed the title "fixed the issue #1981" Fix changelog link on homepage Jul 23, 2025
Comment thread index.md Outdated
<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>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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 {}

@ShubhamOulkar ShubhamOulkar linked an issue Jul 23, 2025 that may be closed by this pull request
@antiquark007 antiquark007 reopened this Jul 25, 2025
@antiquark007
Copy link
Copy Markdown
Contributor Author

the required change has been done

Copy link
Copy Markdown
Member

@ShubhamOulkar ShubhamOulkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update selector from style.css

#description .express > a {
  color: var(--card-fg);
  text-decoration: none;
}

as

#description .express > span {
  color: var(--card-fg);
}

Copy link
Copy Markdown
Member

@ShubhamOulkar ShubhamOulkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@bjohansebas bjohansebas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bjohansebas bjohansebas merged commit 66c2b91 into expressjs:gh-pages Jul 27, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix 5.1.0 link on home page

3 participants