File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 220220 font-size : 1.1rem ;
221221 font-weight : 700 ;
222222 margin-bottom : 0.5rem ;
223- }
224-
225- .card-title a {
226223 color : var (--accent-orange );
227- text-decoration : none;
228- }
229-
230- .card-title a : hover {
231- text-decoration : underline;
232224 }
233225
234226 .card-summary {
@@ -424,13 +416,16 @@ <h2 class="section-heading" id="examples-heading">Examples</h2>
424416 <img src="${ project . image } " alt="${ project . name } " loading="lazy">
425417 </div>
426418 <div class="card-body">
427- <h3 class="card-title"><a href="${ link } " target="_blank" rel="noopener">${ project . name } </a></h3>
428- ${ topics }
419+ <h3 class="card-title">${ project . name } </h3>
429420 <p class="card-summary">${ project . summary } </p>
421+ ${ topics }
430422 ${ tools }
431423 </div>
432424 ` ;
433425
426+ card . style . cursor = "pointer" ;
427+ card . addEventListener ( "click" , ( ) => window . open ( link , "_blank" ) ) ;
428+
434429 return card ;
435430 }
436431
You can’t perform that action at this time.
0 commit comments