-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
147 lines (133 loc) · 6.42 KB
/
index.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html class="dark" lang="pt-BR">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<head>
<link rel="preconnect" href="https://fonts.gstatic.com/" />
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700;800&display=swap"
rel="stylesheet" />
<meta name="viewport" content="width=device-width" />
<meta charSet="utf-8" />
<link rel="icon" type="image/png" sizes="96x96" href="./assets/logo/favicon.png">
<title>Centro Acadêmico - Linktree</title>
<meta name="description" content="Centro Acadêmico Ada LoveLace" />
<meta property="og:title" content="CAAda - Linktree" />
<meta property="og:site_name" content="CAAda - Linktree" />
<meta property="og:description" content="Centro Acadêmico Ada LoveLace" />
<meta property="og:url" content="https://kszinhu.github.io/CAAda-Linktree/" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="pt_BR" />
<meta property="og:image" content="https://i.imgur.com/8hoajY8.png">
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="600" />
<meta property="fb:app_id" content="148976462317083" />
<meta name="twitter:title" content="CAAda - Linktree" />
<meta name="twitter:description" content="Centro Acadêmico Ada LoveLace" />
<meta name="twitter:image" content="https://i.imgur.com/8hoajY8.png">
<meta name="twitter:card" content="summary_large_image">
<link rel="preload" href="./src/css/main.css" as="style" />
<link rel="stylesheet" href="./src/css/main.css" data-n-g="" />
<link rel='stylesheet' href='./src/css/style.css' data-n-g="" />
</head>
<body>
<div class="dark:bg-dark-400 transition duration-200">
<div class="flex justify-center items-center flex-grow w-full min-h-screen container mx-auto px-5">
<div class="cardPages context">
<div class="cardHeader">
<div class="cardHeaderImage">
<img width="240px" alt="ícone do CAAda" src="assets/img/profile-pic.png" />
</div>
<div class="flex flex-col items-center justify-center">
<h1 id="entity-class" class="text-lg font-medium">Centro Acadêmico</h1>
<p id="entity-name" class="text-base font-light">Ada LoveLace</p>
</div>
</div>
<div class="cardContent">
<span class="text-xs">- Confere os links aê -</span>
<div id='card-links-container' style='width: 100%'>
<section id="card-links-comemorativos" class="cardLinks" style='margin-bottom: 32px'>
<a id="birthdate-isadora" class="hoverable">
<div class="cardLink_Icon"><img alt="Coração" width="36px" height="36px"
src="assets/social/icons8-heart-96.png" />
</div>
<div class="cardLink_Text">
<h2>Feliz aniversário Isadora</h2>
<span>Quer casar comigo?</span>
</div>
</a>
</section>
<section id='card-links-unfixed' class='cardLinks' style='margin-bottom: 32px'></section>
<section id='card-links-fixed' class='cardLinks'>
<!-----FIXADOS----->
<!-- REGIMENTO -->
<a href="https://drive.google.com/file/d/1ik0UyRFsZZOlLrG03pz35Dw3TtA62nGO/view?usp=sharing"
class="hoverable">
<div class="cardLink_Icon"><img alt="Livro" width="36px" height="36px" src="assets/social/book.svg" />
</div>
<div class="cardLink_Text">
<h2>Regimento</h2>
<span>Veja o Regimento do Centro Acadêmico 😁</span>
</div>
</a>
<!-- ATA -->
<a href="https://drive.google.com/drive/folders/0ByRQyNFmNpy4WEY1bUlIZVp3c0U?usp=sharing"
class="hoverable">
<div class="cardLink_Icon"><img alt="Pilha de Pápeis" width="36px" height="36px"
src="assets/social/stack_paper.svg" />
</div>
<div class="cardLink_Text">
<h2>ATA's</h2>
<span>Confira as ATAs das reuniões 🤔</span>
</div>
</a>
<!-- INSTAGRAM -->
<a href="https://www.instagram.com/caadaunesp/" class="hoverable">
<div class="cardLink_Icon"><img alt="Instagram" width="36px" height="36px"
src="assets/social/instagram.svg" /></div>
<div class="cardLink_Text">
<h2>Siga-nos no Instagram!</h2>
<span>Perfil do CAAda 💙👨💻👩💻</span>
</div>
</a>
<!-- FACEBOOK -->
<a href="https://www.facebook.com/caadaunesp/" class="hoverable">
<div class="cardLink_Icon"><img alt="Facebook" width="36px" height="36px"
src="assets/social/facebook.svg" /></div>
<div class="cardLink_Text">
<h2>Curta a gente no Facebook!</h2>
<span>Página do CAAda 💙👨💻👩💻</span>
</div>
</a>
</section>
</div>
</div>
</div>
</div>
</div>
<script src="./src/js/main.js"></script>
<script>
// Function to render page links
renderItems();
// check if day is 29/08 and render birthday card
const today = new Date();
if (today.getDate() == 29 && today.getMonth() == 7) {
changeEntity({ type: "Centro do meu coração", name: "Isadora <3" })
renderIsadoraCard();
// and disable onclick and hover effects on other cards
document.getElementById('card-links-unfixed').style.pointerEvents = 'none';
document.getElementById('card-links-fixed').style.pointerEvents = 'none';
// add a div to cover the page and disable click events
const div = document.createElement('div');
div.style.position = 'fixed';
div.style.top = '0';
div.style.left = '0';
div.style.width = '100%';
div.style.height = '100vh';
div.style.zIndex = '1';
div.style.backgroundColor = 'rgba(0,0,0,0.65)';
document.body.appendChild(div);
} else {
document.getElementById('birthdate-isadora').style.display = 'none';
}
</script>
</body>
</html>