Skip to content

Commit dbcb51f

Browse files
committed
update :octocat:
1 parent 49097ed commit dbcb51f

File tree

7 files changed

+53
-23
lines changed

7 files changed

+53
-23
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
GitHub API - CodeIgniter - SemanticUI
22
==================
33

4+
```
5+
____ _ _ _ _ _
6+
/ ___| (_) | |_ | | | | _ _ | |__
7+
| | _ | | | __| | |_| | | | | | | '_ \
8+
| |_| | | | | |_ | _ | | |_| | | |_) |
9+
\____| |_| \__| |_| |_| \__,_| |_.__/
10+
11+
__ _
12+
(_ _ _ o _. | / _ _| o ._ _
13+
__) (_) (_ | (_| | \_ (_) (_| | | | (_|
14+
_|
15+
16+
```
17+
418
This applications built with CodeIgniter V3 + HMVC, Gihub API, Semantic UI.
519

620
## Dependency

application/modules/ajax-repos/views/homepage.php

+9-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44
<div class="ui page grid">
55
<div class="column">
66
<?php $this->load->view('must/menu'); ?>
7-
<i class="red icon code"></i>
8-
<div class="ui hidden transition information">
9-
<h1 class="ui inverted header">
7+
<i class="red icon code force"></i>
8+
<div class="ui hidden transition information force">
9+
<h1 class="none ui inverted header">
1010
<?php echo $this->CI->config->item('website_name'); ?>
1111
</h1>
12-
<p><?php echo $this->CI->config->item('about'); ?></p>
12+
<div class="text-editor-wrap">
13+
<div class="title-bar"><span class="title"><?php echo $this->CI->config->item('github_username'); ?> - <?php echo sha1(uniqid($this->CI->config->item('github_username'))); ?> &mdash; bash</span></div>
14+
<div class="text-body">
15+
$ # <p class="about" style="display: inline;white-space: pre;"></p>
16+
</div>
17+
</div>
1318
</div>
1419
</div>
1520
</div>

application/modules/ajax-repos/views/must/head.php

+12
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,16 @@
2121
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
2222
<script src="<?php echo base_url('bower_components/Semantic-UI/dist/semantic.min.js'); ?>"></script>
2323
<script src="<?php echo base_url('bower_components/Semantic-UI/examples/homepage.js'); ?>"></script>
24+
<script src="<?php echo base_url('bower_components/typed.js/dist/typed.min.js'); ?>"></script>
25+
<script>
26+
$(function(){
27+
$(".about").typed({
28+
strings: [<?php echo $this->CI->config->item('about_typed'); ?>],
29+
typeSpeed: 30,
30+
backDelay: 500,
31+
loop: false,
32+
loopCount: false,
33+
});
34+
});
35+
</script>
2436
</head>

application/modules/public/controllers/Homepage.php

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ function index()
2121
$data = array(
2222
'repos' => $this->_repos(),
2323
'repo' => 'https://github.com/'.$this->CI->config->item('github_username').'/GitHubAPI-CodeIgniter-SemanticUI',
24-
'hash' => sha1(uniqid($this->CI->config->item('github_username'))),
2524
'title' => 'Showcase - '.$this->CI->config->item('github_username').' ('.$this->CI->config->item('author').')',
2625
);
2726
$this->load->view('homepage', $data);

application/modules/public/views/homepage.php

+6-17
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<h1 class="none ui inverted header">
1010
<?php echo $this->CI->config->item('website_name'); ?>
1111
</h1>
12-
<div class="text-editor-wrap">
13-
<div class="title-bar"><span class="title"><?php echo $this->CI->config->item('github_username'); ?> - <?php echo $hash; ?> &mdash; bash</span></div>
14-
<div class="text-body">
15-
$ # <p class="about" style="display: inline;white-space: pre;"></p>
16-
</div>
17-
</div>
12+
<div class="text-editor-wrap">
13+
<div class="title-bar"><span class="title"><?php echo $this->CI->config->item('github_username'); ?> - <?php echo sha1(uniqid($this->CI->config->item('github_username'))); ?> &mdash; bash</span></div>
14+
<div class="text-body">
15+
$ # <p class="about" style="display: inline;white-space: pre;"></p>
16+
</div>
17+
</div>
1818
</div>
1919
</div>
2020
</div>
@@ -96,15 +96,4 @@
9696
</div>
9797
</div>
9898

99-
<script>
100-
$(function(){
101-
$(".about").typed({
102-
strings: [<?php echo $this->CI->config->item('about_typed'); ?>],
103-
typeSpeed: 30,
104-
backDelay: 500,
105-
loop: false,
106-
loopCount: false,
107-
});
108-
});
109-
</script>
11099
<?php $this->load->view('must/footer'); ?>

application/modules/public/views/must/head.php

+11
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,15 @@
2222
<script src="<?php echo base_url('bower_components/Semantic-UI/dist/semantic.min.js'); ?>"></script>
2323
<script src="<?php echo base_url('bower_components/Semantic-UI/examples/homepage.js'); ?>"></script>
2424
<script src="<?php echo base_url('bower_components/typed.js/dist/typed.min.js'); ?>"></script>
25+
<script>
26+
$(function(){
27+
$(".about").typed({
28+
strings: [<?php echo $this->CI->config->item('about_typed'); ?>],
29+
typeSpeed: 30,
30+
backDelay: 500,
31+
loop: false,
32+
loopCount: false,
33+
});
34+
});
35+
</script>
2536
</head>

bower_components/Semantic-UI/examples/homepage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $(document)
7070
;
7171

7272
$('.masthead .information')
73-
.transition('scale in', 1000)
73+
.transition('scale in', 3000)
7474
;
7575

7676
setInterval(changeSides, 3000);

0 commit comments

Comments
 (0)