diff --git a/src/Section.js b/src/Section.js index 68a70c3951457da60d78ace43566768aa3a29dfa..bacb3e72d3dfb56d1109b33969f61394b5ae9ed3 100644 --- a/src/Section.js +++ b/src/Section.js @@ -8,7 +8,8 @@ function StatusSection(props) { const content = ( <ul> {props.pkgs.map(function(pkg) { - return <li key={pkg.name}><p className="subtitle is-6 has-text-white">{pkg.name} {pkg.version}</p></li> + let url=`https://www.archlinux.org/packages/${pkg.suite}/${pkg.architecture}/${pkg.name}`; + return <li key={pkg.name}><p className="subtitle is-6 has-text-white"><a href={url}>{pkg.name} {pkg.version}</a></p></li> })} </ul> );