Skip to content

Commit b88e925

Browse files
authored
Merge pull request #122 from CSFelix/CSFelix-patch-1
🎉 Added
2 parents 016adaa + 039abe8 commit b88e925

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed

assets/js/scripts/tooltips.js

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
// ************
2+
// ** Params **
3+
// ************
4+
tippyParams = {
5+
content: '',
6+
theme: 'light',
7+
placement: 'top',
8+
arrow: true,
9+
animation: 'scale-extreme',
10+
inertia: true,
11+
duration: 400
12+
};
13+
14+
15+
16+
// *************************
17+
// ** Tooltips - Projects **
18+
// *************************
19+
tippy('#mlAlgorithmsBtn', {
20+
...tippyParams,
21+
content: 'Explanation about Machine and Deep Learning Algorithms!',
22+
});
23+
24+
tippy('#dashboardBtn', {
25+
...tippyParams,
26+
content: 'Live Dashboards made with Streamlit!',
27+
});
28+
29+
tippy('#datasetsBtn', {
30+
...tippyParams,
31+
content: 'Public Dashboards on Kaggle!',
32+
});
33+
34+
tippy('#kaggleBtn', {
35+
...tippyParams,
36+
content: 'Data Science Projects with Jupyter Notebook!',
37+
});
38+
39+
tippy('#liveProjectsBtn', {
40+
...tippyParams,
41+
content: 'Test out Live Projects (Google Chrome is Recommended)!',
42+
});
43+
44+
tippy('#dsStudiesBtn', {
45+
...tippyParams,
46+
content: 'Data Science Contents on GitHub!',
47+
});
48+
49+
50+
51+
// ******************************
52+
// ** Tooltips - Social Medias **
53+
// ******************************
54+
tippy('#instagramSocialMediaBtn', {
55+
...tippyParams,
56+
content: 'Instagram!',
57+
});
58+
59+
tippy('#githubSocialMediaBtn', {
60+
...tippyParams,
61+
content: 'GitHub!',
62+
});
63+
64+
tippy('#kaggleSocialMediaBtn', {
65+
...tippyParams,
66+
content: 'Kaggle!',
67+
});
68+
69+
tippy('#linkedinSocialMediaBtn', {
70+
...tippyParams,
71+
content: 'LinkedIn!',
72+
});
73+
74+
tippy('#gmailSocialMediaBtn', {
75+
...tippyParams,
76+
content: 'Gmail!',
77+
});

0 commit comments

Comments
 (0)