make repo one look less empty

This commit is contained in:
Aria Blue 2023-08-02 18:13:47 -04:00
parent 1cd3ea3451
commit 28906bfb80
No known key found for this signature in database
GPG key ID: E851AE999FFCBC37

View file

@ -37,7 +37,7 @@ app.get('/', function(req, res) {
app.get('/:owner/:repo', async function(req, res) {
let repo = await (await fetch(`https://git.gay/api/v1/repos/${req.params.owner}/${req.params.repo}`)).json();
let infoHtml = `
<p style="font-size: 36px; color: #9A8FA7;">${escape(`@${repo.owner.login}`)}</p>
<p style="font-size: 36px; color: #9A8FA7;">${escape(repo.owner.full_name)} ${escape(`@${repo.owner.login}`)}</p>
<p style="font-weight: 800; font-size: 4.5rem; line-height: 1.2em;">${escape(repo.name)}</p>
`;