make repo one look less empty
This commit is contained in:
parent
1cd3ea3451
commit
28906bfb80
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue