From 107cc68ba250563e04e69a539a55ae5911c5594e Mon Sep 17 00:00:00 2001
From: Tianyi LIANG <tianyi@igem.org>
Date: Fri, 17 May 2024 23:18:56 +0800
Subject: [PATCH] refactor: rm static dir

---
 README.md                | 1 -
 index.html               | 6 +++++-
 src/assets/igem-2022.svg | 8 --------
 3 files changed, 5 insertions(+), 10 deletions(-)
 delete mode 100644 src/assets/igem-2022.svg

diff --git a/README.md b/README.md
index 18d2a22..4a50674 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,6 @@ Below is the structure of important files and directories in this project:
     ├── index.html           -> Single HTML file for the wiki
     ├── package.json         -> Manages project metadata and dependencies
     ├── src/
-    │   ├── assets/          -> Small static files like icons
     │   ├── components/      -> Pre-built components(like Navbar, Footer, etc.)
     │   ├── containers/
     │   │   └── App/         -> Main React application container
diff --git a/index.html b/index.html
index f57a6fa..fbd846a 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,11 @@
 <html lang="en">
   <head>
     <meta charset="UTF-8" />
-    <link rel="shortcut icon" href="src/assets/igem-2022.svg" type="image/x-icon">
+    <link
+      rel="shortcut icon"
+      href="https://static.igem.wiki/common/icons/favicons/igem-2022.svg"
+      type="image/x-icon"
+    />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>%VITE_TEAM_NAME% - iGEM %VITE_TEAM_YEAR%</title>
   </head>
diff --git a/src/assets/igem-2022.svg b/src/assets/igem-2022.svg
deleted file mode 100644
index 2c826a2..0000000
--- a/src/assets/igem-2022.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 332.6 332.6" style="enable-background:new 0 0 332.6 332.6;" xml:space="preserve">
-<style type="text/css">
-	.st0{fill:#2BA946;}
-</style>
-<path class="st0" d="M317.3,132.6H281l-0.5-0.2c-3.7-8.8-5.8-14-9.3-22.3c-0.2-0.5-0.1-1,0.3-1.4l25.3-25.3c6-6,6-15.7,0-21.6  l-26-26c-6-6-15.7-6-21.6,0l-24.7,24.7c-0.4,0.4-0.9,0.5-1.4,0.3c-8.3-3.4-14.3-5.9-22.4-9.3c-0.5-0.2-0.8-0.7-0.8-1.2V15.4  C200,6.8,193.1,0,184.7,0h-36.8c-8.4,0-15.3,6.8-15.3,15.3v34.2c0,0.5-0.3,0.9-0.7,1.1c-7.7,3.7-13.8,6.6-21.9,10.5  c-0.5,0.2-1.1,0.1-1.4-0.2L83.3,35.7c-6-6-15.7-6-21.6,0l-26,26c-6,6-6,15.7,0,21.6l25.1,25.1c0.4,0.4,0.5,0.9,0.3,1.4  c-3.2,8.3-5.2,13.2-8.6,22c-0.2,0.5-0.7,0.8-1.2,0.8c-4.1,0-22.4,0-36,0c-8.4,0-15.3,6.8-15.3,15.3v36.8c0,8.4,6.8,15.3,15.3,15.3  h36.1c0.5,0,1,0.3,1.2,0.8c3.4,8.7,5.3,13.7,8.5,22c0.2,0.5,0.1,1-0.3,1.4c-2.8,2.8-15.6,15.6-25.1,25.1c-6,6-6,15.7,0,21.6l26,26  c6,6,15.7,6,21.6,0l25.3-25.3c0.4-0.4,1-0.5,1.4-0.2c8,3.8,14.1,6.7,21.8,10.4c0.4,0.2,0.7,0.7,0.7,1.1v34.4  c0,8.4,6.8,15.3,15.3,15.3h36.8c8.4,0,15.3-6.8,15.3-15.3v-35.1c0-0.5,0.3-1,0.8-1.2c7.9-3.3,14.3-5.9,22.3-9.2  c0.5-0.2,1-0.1,1.4,0.3l24.8,24.8c6,6,15.7,6,21.6,0l26-26c6-6,6-15.7,0-21.6l-25.4-25.4c-0.4-0.4-0.5-0.9-0.3-1.4  c3.5-8.4,5.6-13.6,9.3-22.4h0.1h36.7c8.4,0,15.3-6.8,15.3-15.3V148C332.6,139.4,325.7,132.6,317.3,132.6z M166.3,232.9  c-36.8,0-66.7-29.9-66.7-66.7c0-36.8,29.9-66.7,66.7-66.7c36.8,0,66.7,29.9,66.7,66.7C233,203,203.1,232.9,166.3,232.9z"/>
-</svg>
\ No newline at end of file
-- 
GitLab