File tree 7 files changed +50
-4
lines changed
7 files changed +50
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ MODE = "dev"
2
2
DB_NAME = ' replica'
3
3
DB_USER = ' moringaschoolcom'
4
4
DB_PASSWORD = ' mids'
5
- DB_HOST = ' 127.0.0.1'
6
- SECRET_KEY = ' 1ll$18*&mv-m0k%0167+7)9a%j+@6863q#k9@8v%r2(8mik_=l'
5
+ DB_HOST = ' 127.0.0.1'
6
+ SECRET_KEY = ' 1ll$18*&mv-m0k%0167+7)9a%j+@6863q#k9@8v%r2(8mik_=l'
7
7
DEBUG = True
8
8
ALLOWED_HOSTS = '.localhost','.herokuapp.com','.127.0.0.1'
9
9
DISABLE_COLLECTSTATIC = 1
Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ celerybeat-schedule
84
84
* .sage.py
85
85
86
86
# Environments
87
- .env
88
87
.venv
89
88
env /
90
89
venv /
Original file line number Diff line number Diff line change @@ -13,3 +13,38 @@ $(document).ready(function(){
13
13
} ) ;
14
14
15
15
} ) ;
16
+ // Wrap every letter in a span
17
+ $ ( '.ml11 .letters' ) . each ( function ( ) {
18
+ $ ( this ) . html ( $ ( this ) . text ( ) . replace ( / ( [ ^ \x00 - \x80 ] | \w ) / g, "<span class='letter'>$&</span>" ) ) ;
19
+ } ) ;
20
+
21
+ anime . timeline ( { loop : true } )
22
+ . add ( {
23
+ targets : '.ml11 .line' ,
24
+ scaleY : [ 0 , 1 ] ,
25
+ opacity : [ 0.5 , 1 ] ,
26
+ easing : "easeOutExpo" ,
27
+ duration : 700
28
+ } )
29
+ . add ( {
30
+ targets : '.ml11 .line' ,
31
+ translateX : [ 0 , $ ( ".ml11 .letters" ) . width ( ) ] ,
32
+ easing : "easeOutExpo" ,
33
+ duration : 700 ,
34
+ delay : 100
35
+ } ) . add ( {
36
+ targets : '.ml11 .letter' ,
37
+ opacity : [ 0 , 1 ] ,
38
+ easing : "easeOutExpo" ,
39
+ duration : 600 ,
40
+ offset : '-=775' ,
41
+ delay : function ( el , i ) {
42
+ return 34 * ( i + 1 )
43
+ }
44
+ } ) . add ( {
45
+ targets : '.ml11' ,
46
+ opacity : 0 ,
47
+ duration : 1000 ,
48
+ easing : "easeOutExpo" ,
49
+ delay : 1000
50
+ } ) ;
Original file line number Diff line number Diff line change
1
+ {%load bootstrap4 %}
1
2
{% load staticfiles %}
2
3
<!DOCTYPE html>
3
4
< html >
Original file line number Diff line number Diff line change 8
8
alert ( "Copied the text: " + copyText . value ) ;
9
9
}
10
10
</ script >
11
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js "> </ script >
11
12
12
13
< div class ="container-fluid ">
13
14
< div class ="jumbotron ">
15
+ < h1 class ="ml11 ">
16
+ < span class ="text-wrapper ">
17
+ < span class ="line line1 "> </ span >
18
+ < span class ="letters "> welcome to replica</ span >
19
+ </ span >
20
+ </ h1 >
21
+
14
22
< p style ="font-family:sans-serif; font-size: 40px; color: white; justify-content: center;display:flex; position:relative;top:30%; "> welcome to replica</ p >
15
23
< br >
16
24
< p style ="font-family:sans-serif; font-size: 40px; color: white; justify-content: center;display:flex; position:relative;top:40%; "> prepare to be amazed</ p >
Original file line number Diff line number Diff line change 35
35
36
36
INSTALLED_APPS = [
37
37
'Replica' ,
38
+ 'bootstrap4' ,
38
39
'django.contrib.admin' ,
39
40
'django.contrib.auth' ,
40
41
'django.contrib.contenttypes' ,
41
42
'django.contrib.sessions' ,
42
43
'django.contrib.messages' ,
43
44
'django.contrib.staticfiles' ,
45
+
46
+
44
47
]
45
48
46
49
MIDDLEWARE = [
Original file line number Diff line number Diff line change 19
19
20
20
urlpatterns = [
21
21
url (r'^admin/' , admin .site .urls ),
22
- url (r'^ ' ,include ('Replica.urls' )),
22
+ url (r'' ,include ('Replica.urls' )),
23
23
24
24
]
You can’t perform that action at this time.
0 commit comments