File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
apps/svelte.dev/src/routes/packages Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 7070 </a >
7171
7272 <!-- this is a sibling element so that we don't have links inside links -->
73- < div class = " links " >
74- <span style = " display: flex; gap: 0.75rem " >
75- { #if ! pkg . svAlias }
73+ { #if ! pkg . svAlias }
74+ <div class = " links " >
75+ < span style = " display: flex; gap: 0.75rem " >
7676 <a
7777 href ="https://npmjs.org/package/ {pkg .name }"
7878 target =" _blank"
8181 aria-label =" View on npm"
8282 onclick ={(e ) => e .stopPropagation ()}
8383 ></a >
84- {/if }
8584
86- {#if pkg .repo_url }
87- <a
88- href ={pkg .repo_url }
89- target =" _blank"
90- rel =" noreferrer"
91- data-icon =" github"
92- aria-label =" View on GitHub"
93- onclick ={(e ) => e .stopPropagation ()}
94- ></a >
95- {/if }
96- </span >
97- </div >
85+ {#if pkg .repo_url }
86+ <a
87+ href ={pkg .repo_url }
88+ target =" _blank"
89+ rel =" noreferrer"
90+ data-icon =" github"
91+ aria-label =" View on GitHub"
92+ onclick ={(e ) => e .stopPropagation ()}
93+ ></a >
94+ {/if }
95+ </span >
96+ </div >
97+ {/if }
9898</article >
9999
100100<style >
You can’t perform that action at this time.
0 commit comments