This is an automated email from the ASF dual-hosted git repository.

qingwzhao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/geaflow-website.git


The following commit(s) were added to refs/heads/main by this push:
     new b5396f6  fix: update repo card icon (#4)
b5396f6 is described below

commit b5396f644e33d068bd4d47def7d833466b771cd5
Author: lkm_cc <[email protected]>
AuthorDate: Sat Oct 11 14:17:22 2025 +0800

    fix: update repo card icon (#4)
    
    * Update README.md
    
    * feat: config
    
    * feat: deploy
    
    * feat: add blog/docs
    
    * feat: add i18n/community
    
    * feat: add docs
    
    * feat: page
    
    * feat: add gitignore
    
    * fix: update deploy
    
    * fix: update README
    
    * fix: error display
    
    * fix: error display
    
    * fix: update guide
    
    * fix: update basePath
    
    * fix:  Content Security Policy
    
    * fix: update repo card icon
---
 src/pages/Home/components/Repo/index.tsx | 6 +++---
 static/img/card-logo.svg                 | 3 +++
 static/img/collect.svg                   | 3 +++
 static/img/fork.svg                      | 3 +++
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/pages/Home/components/Repo/index.tsx 
b/src/pages/Home/components/Repo/index.tsx
index 270d004..0202971 100644
--- a/src/pages/Home/components/Repo/index.tsx
+++ b/src/pages/Home/components/Repo/index.tsx
@@ -36,7 +36,7 @@ const Repo = () => {
             {
                 repos.map((item) => <div key={item.repo} 
className={styles.repoCard}>
                     <div className={styles.repoCardTitle}>
-                        <img 
src='https://mdn.alipayobjects.com/huamei_tu4rvn/afts/img/A*IZUlSI-VOkUAAAAAJSAAAAgAep_eAQ/original'
 alt="logo" />
+                        <img src={'/img/card-logo.svg'} alt="logo" />
                         <a 
href={`https://github.com/TuGraph-family/${item.repo}`} target='_blank'  
>{item.repo}</a>
                         <div 
className={styles.repoCardTitleTag}>{item.visibility?.replace(/[a-z]/, (val: 
string) => val.toLocaleUpperCase())}</div>
                     </div>
@@ -45,8 +45,8 @@ const Repo = () => {
                     </div>
                     <div className={styles.repoCardInfo}>
                         {item?.language ? <div><div className={styles.circle} 
style={{ backgroundColor: LANGUAGE_ICON_COLOR?.[item.language] || '#dea584' }} 
/>{item.language}</div> : null}
-                        {item?.stargazers_count ? <div className={styles.herf} 
onClick={() => onLink(item.repo, 'stargazers')}><img 
src="https://mdn.alipayobjects.com/huamei_tu4rvn/afts/img/A*X0eERqyLMw0AAAAAKrAAAAgAep_eAQ/original";
 alt="" /> {item.stargazers_count}</div> : null}
-                        {item?.forks_count ? <div className={styles.herf} 
onClick={() => onLink(item.repo, 'forks')}><img 
src="https://mdn.alipayobjects.com/huamei_tu4rvn/afts/img/A*D4RdTpfrhLMAAAAAI-AAAAgAep_eAQ/original";
 alt="" /> {item.forks_count}</div> : null}
+                        {item?.stargazers_count ? <div className={styles.herf} 
onClick={() => onLink(item.repo, 'stargazers')}><img src={'/img/collect.svg'} 
alt="" /> {item.stargazers_count}</div> : null}
+                        {item?.forks_count ? <div className={styles.herf} 
onClick={() => onLink(item.repo, 'forks')}><img src={'/img/fork.svg'} alt="" /> 
{item.forks_count}</div> : null}
                     </div>
                 </div>)
             }
diff --git a/static/img/card-logo.svg b/static/img/card-logo.svg
new file mode 100644
index 0000000..a795f54
--- /dev/null
+++ b/static/img/card-logo.svg
@@ -0,0 +1,3 @@
+<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" 
width="16" data-view-component="true" class="octicon octicon-repo mr-1 
color-fg-muted" xmlns="http://www.w3.org/2000/svg";>
+  <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 
1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 
1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 
2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 
.25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 
0 1-.4-.2Z"></path>
+</svg>
diff --git a/static/img/collect.svg b/static/img/collect.svg
new file mode 100644
index 0000000..27211c3
--- /dev/null
+++ b/static/img/collect.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg"; aria-label="stars" role="img" 
height="16" viewBox="0 0 16 16" version="1.1" width="16" 
data-view-component="true" class="octicon octicon-star">
+    <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 
.416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 
1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 
.416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 
1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 
2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 
.216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path>
+</svg>
\ No newline at end of file
diff --git a/static/img/fork.svg b/static/img/fork.svg
new file mode 100644
index 0000000..56516bc
--- /dev/null
+++ b/static/img/fork.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg"; aria-label="forks" role="img" 
height="16" viewBox="0 0 16 16" version="1.1" width="16" 
data-view-component="true" class="octicon octicon-repo-forked">
+    <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 
.75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 
2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 
6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 
0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 
.75.75 0 0 0 1.5 0Z"></path>
+</svg>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to