Skip to content

Commit 5c33bf8

Browse files
authored
Add files via upload
1 parent df61167 commit 5c33bf8

File tree

6 files changed

+229
-0
lines changed

6 files changed

+229
-0
lines changed

_includes/about.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div class="col s12 tag-div">
2+
<div class="user-pic center-align">
3+
<a href="{{site.github_profile}}" target="_blank"><img class="circle hoverable z-depth-1" src="{{site.baseurl}}/assets/res/user.png"></a>
4+
</div>
5+
<div class="user-intro center-align">
6+
<h4 class="hidden">I am a <span id="js-rotating">So Simple, Very Doge, Much Wow, Such Cool</span> Text Rotator</h4>
7+
</div>
8+
<div class="user-content">
9+
<p>
10+
Īn delectus tǣcimates perīculā sīt, duō et ƿisl justo oporteat. Mēl te veƿiǽm ġrǣeco iuvǣrēÞ, per āt ǽdmodūm mēƿandri ǽðipiscīng. Eæ qui dicō ǣlia essēnÞ, āt ƿec fugit eraƿt æppǣreǽÞ. Cu ēæm omnes plaċerāt.
11+
</p>
12+
<p>
13+
Lorem ipsum ðolor sit amēt, per hǣrum soleǽt convenire et. Diċo dolōrum qualisque meī ēt, ius æƿ modus facilisi dīspūtaÞioƿī. Ei puteƿÞ vērear quo, ne sit stet sǣpientēm ċoncepÞam. Sed prōbo virtute voluptariā ūt. Ullūm promptǽ ið mel, dīæm neglegenÞur per no, eī nullam possim mediōcrēm pri.
14+
</p>
15+
</div>
16+
</div>

_includes/categories.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<div class="col s12 cat-div">
2+
<div class="cat-list">
3+
{% for cat in site.categories %}
4+
{% capture test %}{{cat[0] | slice: 0}}{% endcapture %}
5+
{% capture testup %}{{cat[0] | slice: 0 | upcase}}{% endcapture %}
6+
<a class="cat-chip" href="#{{cat[0] | slugify}}{% if test == testup %}_cap{% endif %}"><div class="chip z-depth-1">{{cat[0]}}</div></a>
7+
{% endfor %}
8+
</div>
9+
<div class="divider"></div>
10+
<div class="cat-index">
11+
{% for cat in site.categories %}
12+
{% capture test %}{{cat[0] | slice: 0}}{% endcapture %}
13+
{% capture testup %}{{cat[0] | slice: 0 | upcase}}{% endcapture %}
14+
<h4 id="{{cat[0] | slugify}}{% if test == testup %}_cap{% endif %}">{{cat[0]}}</h4>
15+
<ul class="cat-post">
16+
{% for post in cat[1] %}
17+
<a class="post-title" href="{{site.baseurl}}{{post.url}}" target="_blank">
18+
<li>
19+
{{post.title}}
20+
<small class="post-date">{{post.date | date_to_string}}</small>
21+
</li>
22+
</a>
23+
{% endfor %}
24+
</ul>
25+
{% endfor %}
26+
</div>
27+
</div>

_includes/footer.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
</main>
2+
<footer class="page-footer teal">
3+
<div class="container">
4+
<div class="row">
5+
<div class="col s12">
6+
<img src="{{site.baseurl}}/assets/res/logo.png" alt="logo"/>
7+
<p class="grey-text text-lighten-4">{{site.description}}</p>
8+
</div>
9+
</div>
10+
</div>
11+
<div class="footer-copyright">
12+
<div class="container">
13+
&#xA9; {{"now" | date: "%Y"}} {{site.title}}. 保留所有权利。主题由 <a href="https://github.com/ShawnTeoh/matjek">MatJek</a> 驱动。
14+
</div>
15+
</div>
16+
</footer>
17+
<script src="//code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
18+
<script src="//cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/js/materialize.min.js"></script>
19+
{% for js in layout.js %}
20+
{% if js contains "//" %}
21+
<script src="{{js}}"></script>
22+
{% else %}
23+
<script src="{{site.baseurl}}/assets/js/{{js}}"></script>
24+
{% endif %}
25+
{% endfor %}
26+
{% for js in page.js %}
27+
{% if js contains "//" %}
28+
<script src="{{js}}"></script>
29+
{% else %}
30+
<script src="{{site.baseurl}}/assets/js/{{js}}"></script>
31+
{% endif %}
32+
{% endfor %}
33+
{% if site.google_tracking_id %}
34+
<script>
35+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})
36+
(window,document,'script','//www.google-analytics.com/analytics.js','ga');
37+
ga('create', '{{site.google_tracking_id}}', 'auto');
38+
ga('send', 'pageview');
39+
</script>
40+
{% endif %}
41+
<script src="{{site.baseurl}}/assets/js/main.js"></script>
42+
</body>
43+
</html>

_includes/header.html

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>
7+
{% if page.title %}
8+
{{ page.title | escape }}
9+
{% else %}
10+
{{ site.title | escape }}
11+
{% endif %}
12+
</title>
13+
<link rel="shortcut icon" type="image/x-icon" href="{{site.baseurl}}/assets/res/favicon.ico">
14+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/css/materialize.min.css">
15+
<link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons">
16+
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/main.css">
17+
{% for css in layout.css %}
18+
{% if css contains "//" %}
19+
<link rel="stylesheet" href="{{css}}">
20+
{% else %}
21+
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/{{css}}">
22+
{% endif %}
23+
{% endfor %}
24+
{% for css in page.css %}
25+
{% if css contains "//" %}
26+
<link rel="stylesheet" href="{{css}}">
27+
{% else %}
28+
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/{{css}}">
29+
{% endif %}
30+
{% endfor %}
31+
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/syntax.css">
32+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{site.baseurl}}/feed.xml">
33+
<link rel="sitemap" type="application/xml" title="Sitemap" href="{{site.baseurl}}/sitemap.xml">
34+
{% seo title=false %}
35+
</head>
36+
<body>
37+
<header>
38+
<nav class="top-nav teal">
39+
<div class="nav-wrapper">
40+
<div class="container">
41+
<a class="page-title" href="{{site.baseurl}}/">{{site.title}}</a>
42+
</div>
43+
</div>
44+
</nav>
45+
<div class="container">
46+
<a href="#" data-activates="slide-out" class="button-collapse top-nav full hide-on-large-only">
47+
<i class="material-icons">menu</i>
48+
</a>
49+
</div>
50+
<ul id="slide-out" class="side-nav fixed">
51+
<li>
52+
<div class="userView">
53+
<div class="background"></div>
54+
<a href="{{site.github_profile}}" target="_blank"><img class="circle z-depth-2" src="{{site.baseurl}}/assets/res/user.png"></a>
55+
<span class="white-text name">{{site.user}}</span>
56+
<span class="white-text email">{{site.user_email}}</span>
57+
</div>
58+
</li>
59+
<li><a class="waves-effect" href="{{site.baseurl}}/"><i class="material-icons">home</i>首页</a></li>
60+
<li>
61+
<a class="waves-effect collapsible-header" href="javascript:void(0);">
62+
<i class="material-icons">description</i>成效
63+
<i class="material-icons right">arrow_drop_down</i>
64+
</a>
65+
<ul class="collapsible-body">
66+
<li><a class="waves-effect" href="{{site.baseurl}}/internship-achievements"><i class="material-icons">assignment</i>总体介绍</a></li>
67+
<li><a class="waves-effect" href="{{site.baseurl}}/internship-projects"><i class="material-icons">science</i>科研实习项目</a></li>
68+
<li><a class="waves-effect" href="{{site.baseurl}}/internship-outcomes"><i class="material-icons">psychology</i>培养成果和成效</a></li>
69+
</ul>
70+
</li>
71+
<li><a class="waves-effect" href="{{site.baseurl}}/competition-achievements"><i class="material-icons">emoji_events</i>本科生竞赛成果</a></li>
72+
<li><a class="waves-effect" href="{{site.baseurl}}/recruitment-info"><i class="material-icons">people</i>持续招生信息</a></li>
73+
<li><div class="divider"></div></li>
74+
<li><a class="waves-effect" href="{{site.baseurl}}/about"><i class="material-icons">person</i>关于</a></li>
75+
<li><a class="waves-effect" href="{{site.baseurl}}/contact"><i class="material-icons">email</i>联系我们</a></li>
76+
</ul>
77+
</header>
78+
<main>

_includes/projects.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{% assign sorted_repos = (site.github.public_repositories | sort: 'stargazers_count') | reverse %}
2+
<div class="col s12 switch">
3+
<label>
4+
Show forked projects
5+
<input class="fork-switch" type="checkbox" checked="1" onchange="toggleForked()">
6+
<span class="lever"></span>
7+
</label>
8+
</div>
9+
{% for repo in sorted_repos %}
10+
<div class="col s12 m6 l4" {% if repo.fork %}id="forked"{% endif %}>
11+
<div class="card hoverable">
12+
<div class="card-image waves-effect waves-block waves-light geopattern activator" data-pattern-id="{{repo.name}}">
13+
<i class="material-icons waves-effect waves-block waves-light">more_vert</i>
14+
<a class="card-title center-align valign-wrapper" href="{{repo.html_url}}" target="_blank">{{repo.name}}</a>
15+
</div>
16+
<div class="card-content valign-wrapper center-align activator">
17+
<span class="activator grey-text text-darken-1">{{repo.description}}</span>
18+
</div>
19+
<div class="card-reveal">
20+
<div class="card-reveal-content">
21+
<span class="card-title grey-text text-darken-4">Statistics<i class="material-icons right">close</i></span>
22+
<span class="tooltipped" data-position="bottom" data-delay="30" data-tooltip="{{repo.stargazers_count}} stars">
23+
<i class="material-icons">star</i>
24+
{{repo.stargazers_count}}
25+
</span>
26+
<span class="tooltipped" data-position="bottom" data-delay="30" data-tooltip="{{repo.forks_count}} forks">
27+
<i class="material-icons">call_split</i>
28+
{{repo.forks_count}}
29+
</span>
30+
<span class="tooltipped" data-position="bottom" data-delay="30" data-tooltip="Last updated:{{repo.updated_at}}">
31+
<i class="material-icons">access_time</i>
32+
<time datetime="{{repo.updated_at}}" title="{{repo.updated_at}}">{{repo.updated_at | date: '%Y-%m-%d'}}</time>
33+
</span>
34+
</div>
35+
</div>
36+
</div>
37+
</div>
38+
{% endfor %}

_includes/tags.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<div class="col s12 tag-div">
2+
<div class="tag-list">
3+
{% for tag in site.tags %}
4+
{% capture test %}{{tag[0] | slice: 0}}{% endcapture %}
5+
{% capture testup %}{{tag[0] | slice: 0 | upcase}}{% endcapture %}
6+
<a class="tag-chip" href="#{{tag[0] | slugify}}{% if test == testup %}_cap{% endif %}"><div class="chip z-depth-1">{{tag[0]}}</div></a>
7+
{% endfor %}
8+
</div>
9+
<div class="divider"></div>
10+
<div class="tag-index">
11+
{% for tag in site.tags %}
12+
{% capture test %}{{tag[0] | slice: 0}}{% endcapture %}
13+
{% capture testup %}{{tag[0] | slice: 0 | upcase}}{% endcapture %}
14+
<h4 id="{{tag[0] | slugify}}{% if test == testup %}_cap{% endif %}">{{tag[0]}}</h4>
15+
<ul class="tag-post">
16+
{% for post in tag[1] %}
17+
<a class="post-title" href="{{site.baseurl}}{{post.url}}" target="_blank">
18+
<li>
19+
{{post.title}}
20+
<small class="post-date">{{post.date | date_to_string}}</small>
21+
</li>
22+
</a>
23+
{% endfor %}
24+
</ul>
25+
{% endfor %}
26+
</div>
27+
</div>

0 commit comments

Comments
 (0)