Skip to content

Commit 233a95f

Browse files
committed
improvement
1 parent 2cf2114 commit 233a95f

6 files changed

Lines changed: 73 additions & 4 deletions

File tree

css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,11 @@ footer a:hover {
519519
text-decoration: none;
520520
}
521521

522+
.contact-link i {
523+
font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
524+
font-weight: 400;
525+
}
526+
522527
.contact-link:hover {
523528
background-color: var(--primary-color);
524529
color: white;

index.html

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,44 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>ZhaoJinHao's Design - Product Design & Accessibility</title>
77
<meta name="description" content="Thoughts on product design, accessible components, and graceful degradation.">
8+
<meta name="keywords" content="product design, accessibility, UI/UX, graceful degradation, inclusive design">
9+
<meta name="author" content="ZhaoJinHao">
10+
<meta name="robots" content="index, follow">
11+
12+
<meta property="og:title" content="ZhaoJinHao's Design - Product Design & Accessibility">
13+
<meta property="og:description" content="Thoughts on product design, accessible components, and graceful degradation.">
14+
<meta property="og:type" content="website">
15+
<meta property="og:url" content="https://murisans.github.io">
16+
<meta property="og:locale" content="en_US">
17+
18+
<meta name="twitter:card" content="summary_large_image">
19+
<meta name="twitter:title" content="ZhaoJinHao's Design - Product Design & Accessibility">
20+
<meta name="twitter:description" content="Thoughts on product design, accessible components, and graceful degradation.">
21+
822
<link rel="stylesheet" href="css/style.css">
23+
<link rel="preconnect" href="https://fonts.googleapis.com">
24+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
925
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
1026
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
11-
<script crossorigin src="https://unpkg.com/react@18/umd/react.development.js"></script>
12-
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
27+
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
28+
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
1329
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
30+
<script type="application/ld+json">
31+
{
32+
"@context": "https://schema.org",
33+
"@type": "Person",
34+
"name": "ZhaoJinHao",
35+
"alternateName": "赵金灏",
36+
"url": "https://murisans.github.io",
37+
"jobTitle": "Product Designer",
38+
"description": "Thoughts on product design, accessible components, and graceful degradation.",
39+
"sameAs": [
40+
"https://github.com/murisans/",
41+
"https://dribbble.com/"
42+
],
43+
"knowsAbout": ["Product Design", "Accessibility", "UI/UX", "Inclusive Design"]
44+
}
45+
</script>
1446
</head>
1547
<body>
1648
<div id="root"></div>

js/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ const App = () => {
6060
);
6161
};
6262

63-
ReactDOM.render(<App />, document.getElementById('root'));
63+
const root = ReactDOM.createRoot(document.getElementById('root'));
64+
root.render(<App />);

js/pages/AboutPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const AboutPage = () => {
2929
<h2>Contact Me</h2>
3030
<div className="contact-links">
3131
<a href={`mailto:${profile.email}`} className="contact-link" aria-label="Email">
32-
<i className="fa-regular fa-envelope"></i>
32+
<i className="fa-solid fa-envelope"></i>
3333
</a>
3434
<a href={profile.dribbble} target="_blank" rel="noopener noreferrer" className="contact-link" aria-label="Dribbble">
3535
<i className="fa-brands fa-dribbble"></i>

robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://murisans.github.io/sitemap.xml

sitemap.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://murisans.github.io/</loc>
5+
<lastmod>2026-05-15</lastmod>
6+
<changefreq>monthly</changefreq>
7+
<priority>1.0</priority>
8+
</url>
9+
<url>
10+
<loc>https://murisans.github.io/#works</loc>
11+
<lastmod>2026-05-15</lastmod>
12+
<changefreq>monthly</changefreq>
13+
<priority>0.8</priority>
14+
</url>
15+
<url>
16+
<loc>https://murisans.github.io/#articles</loc>
17+
<lastmod>2026-05-15</lastmod>
18+
<changefreq>monthly</changefreq>
19+
<priority>0.8</priority>
20+
</url>
21+
<url>
22+
<loc>https://murisans.github.io/#about</loc>
23+
<lastmod>2026-05-15</lastmod>
24+
<changefreq>monthly</changefreq>
25+
<priority>0.8</priority>
26+
</url>
27+
</urlset>

0 commit comments

Comments
 (0)