@@ -111,9 +111,17 @@ <h1 id="page-title">Loading...</h1>
111111 const repoDiv = document . createElement ( "div" ) ;
112112 repoDiv . className = "repo" ;
113113 repoDiv . innerHTML = `
114- <h2><a class="repo_title" href="${ repo . html_url } " target="_blank">${ repo . name } </a></h2>
115- <p>${ repo . description || "No description" } </p>
116- ` ;
114+ <div style="display: flex; align-items: center; gap: 8px;">
115+ <h2 style="margin: 0;">
116+ <a class="repo_title" href="${ repo . owner_url } " target="_blank" style="text-decoration: none; color: inherit;">${ repo . owner } </a>
117+ </h2>
118+ <span>/</span>
119+ <h2 style="margin: 0;">
120+ <a class="repo_title" href="${ repo . html_url } " target="_blank" style="text-decoration: none; color: inherit;">${ repo . name } </a>
121+ </h2>
122+ </div>
123+ <p>${ repo . description || "No description" } </p>
124+ ` ;
117125
118126 const contributorsDiv = document . createElement ( "div" ) ;
119127 contributorsDiv . className = "contributors" ;
@@ -123,9 +131,9 @@ <h2><a class="repo_title" href="${repo.html_url}" target="_blank">${repo.name}</
123131 const contributorDiv = document . createElement ( "div" ) ;
124132 contributorDiv . className = "contributor" ;
125133 contributorDiv . innerHTML = `
126- <img src="${ contributor . avatar_url } " alt="${ contributor . login } " class="avatar">
127- <a href="${ contributor . html_url } " target="_blank">${ contributor . login } </a>
128- ` ;
134+ <img src="${ contributor . avatar_url } " alt="${ contributor . login } " class="avatar">
135+ <a href="${ contributor . html_url } " target="_blank">${ contributor . login } </a>
136+ ` ;
129137 contributorsDiv . appendChild ( contributorDiv ) ;
130138 }
131139 repoDiv . appendChild ( contributorsDiv ) ;
0 commit comments