forked from Innei/Typecho-Theme-Paul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-opensource.php
58 lines (57 loc) · 1.89 KB
/
page-opensource.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php
/**
* 开源页面
*
* @author innei
* @package custom
*/
$this->need('header.php');
require_once 'pages.php';
?>
<main style="overflow:hidden">
<nav class="navigation">
<a href="<?php echo $GLOBALS['project'] ?>">精选</a>
<a href="<?php echo $GLOBALS['opensource'] ?>" class="active">开源</a>
</nav>
<div id="loading" class="jsonp-loading">
<div class="box"></div>
</div>
<div id="opensource-wrap" style="opacity: 0">
<section class="me github">
<div class="my-avatar">
<img src="">
</div>
<div class="my-info">
<h1><span></span>
<svg width="100%" height="3.5rem">
<text text-anchor="start" x="0" y="2.2rem" class="text text-1">
</text>
<text text-anchor="start" x="0" y="2.2rem" class="text text-2">
</text>
<text text-anchor="start" x="0" y="2.2rem" class="text text-3">
</text>
<text text-anchor="start" x="0" y="2.2rem" class="text text-4">
</text>
</svg>
</h1>
<p></p>
<div class="social-icons">
</div>
</section>
<section class="repos" style="overflow:hidden">
<div class="repo-wrap">
<ul id="repo-list">
<li></li>
</ul>
</div>
</section>
</div>
<?php if ($this->options->github_username): ?>
<script>
window.githubID = "<?php $this->options->github_username(); ?>"
</script>
<script src="<?php $this->options->themeUrl("src/github.js") ?>"></script>
<?php endif;?>
</main>
<?php $this->need('footer.php') ?>