-
Notifications
You must be signed in to change notification settings - Fork 0
/
favourite.html
175 lines (160 loc) · 8 KB
/
favourite.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="devShare generate QR-Code for your GitHub profile after you search for it. You can even get a card PNG to make it easy to share. Comes with dark and light modes."/>
<link rel="stylesheet" href="./css/base.css" />
<link rel="stylesheet" href="./css/main.css" />
<link rel="stylesheet" href="./css/search.css" />
<link rel="stylesheet" href="./css/buttons.css" />
<link rel="stylesheet" href="./css/navbar.css" />
<link rel="stylesheet" href="./css/loader.css" />
<link
href="https://fonts.googleapis.com/css?family=Space+Mono:regular,italic,700,700italic"
rel="stylesheet"
/>
<link
rel="shortcut icon"
href="./assets/favicon-32x32.png"
type="image/x-icon"
/>
<title>Favourites | devShare share GitHub profiles</title>
<meta
name="description"
content="devShare generate QR-Code for your GitHub profile after you search for it. You can even get a card PNG to make it easy to share. Comes with dark and light modes."
/>
<meta name="url" content="https://sharedev.vercel.app/" />
<!-- Primary Meta Tags -->
<meta name="title" content="Home | devShare share GitHub profiles" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://sharedev.vercel.app/" />
<meta property="og:title" content="devShare share GitHub profiles" />
<meta
property="og:description"
content="devShare generates QR-Code for your GitHub profile after you search for it. You can even get a PNG card, easy to share. With dark and light modes."
/>
<meta
property="og:image"
content="https://sharedev.vercel.app/assets/preview.png"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://sharedev.vercel.app/" />
<meta property="twitter:title" content="devShare share GitHub profiles" />
<meta
property="twitter:description"
content="devShare generates QR-Code for your GitHub profile after you search for it. You can even get a PNG card, easy to share. With dark and light modes."
/>
<meta
property="twitter:image"
content="https://sharedev.vercel.app/assets/preview.png"
/>
<script src="https://www.gstatic.com/firebasejs/9.15.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.15.0/firebase-firestore-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.15.0/firebase-auth-compat.js"></script>
<script>
const firebaseConfig = {
apiKey: "AIzaSyD2pW6_mx1svtC14yUL-O2y-tldpkTJVeY",
authDomain: "devshare-22a82.firebaseapp.com",
projectId: "devshare-22a82",
storageBucket: "devshare-22a82.appspot.com",
messagingSenderId: "86098585581",
appId: "1:86098585581:web:09b19a085b4fd3bbff29e4",
measurementId: "G-5F1DSG04XD",
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="./js/favourite/firebaseSideTwo.js" defer></script>
</head>
<body style="height: 100vh;">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div class="loader-container">
<div class="spinner">Loading...</div>
</div>
<div class="container">
<header>
<a href="./">
<b class="header-logo">devShare</b></a>
<!-- <i style="font-size: 20px; font-weight: 700; color: rgb(164, 213, 255);">Home</i> -->
<div>
<ul class="main-nav">
<li class="nav-item" id="whenSignedIn4">
<a href="./index.html"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
width="512px"
height="512px"
>
<path
d="M8,1L1,6v9h5v-4c0-1.105,0.895-2,2-2s2,0.895,2,2v4h5V6L8,1z"
/></svg></a>
</li>
<li class="nav-item active" id="whenSignedIn3">
<a href="./favourite.html">
<svg
xmlns="http://www.w3.org/2000/svg"
width="800px"
height="800px"
viewBox="0 0 16 16"
>
<path
d="M11.434 1a4.604 4.604 0 00-3.226 1.322L8 2.527l-.208-.205A4.589 4.589 0 004.566 1 4.589 4.589 0 001.34 2.322 4.5 4.5 0 000 5.522a4.5 4.5 0 001.34 3.2l6.133 6.061a.75.75 0 001.054 0l6.132-6.06a4.52 4.52 0 00.992-1.467 4.482 4.482 0 00-.992-4.934A4.604 4.604 0 0011.433 1z"
/></svg></a>
</li>
</ul>
</div>
<button class="header-theme-switch-btn body-s" onclick="switchTheme()">
<span id="theme-switch-text">Dark</span>
<svg
class="header-theme-icon"
width="20"
height="20"
xmlns="http://www.w3.org/2000/svg"
id="moon"
>
<path
d="M19.513 11.397a.701.701 0 00-.588.128 7.496 7.496 0 01-2.276 1.336 7.101 7.101 0 01-2.583.462 7.505 7.505 0 01-5.32-2.209 7.568 7.568 0 01-2.199-5.342c0-.873.154-1.72.41-2.49a6.904 6.904 0 011.227-2.21.657.657 0 00-.102-.924.701.701 0 00-.589-.128C5.32.61 3.427 1.92 2.072 3.666A10.158 10.158 0 000 9.83c0 2.8 1.125 5.342 2.967 7.19a10.025 10.025 0 007.16 2.98c2.353 0 4.527-.822 6.266-2.183a10.13 10.13 0 003.58-5.624.623.623 0 00-.46-.796z"
fill="#697C9A"
fill-rule="nonzero"
/>
</svg>
<svg
class="header-theme-icon hidden"
width="20"
height="20"
xmlns="http://www.w3.org/2000/svg"
id="sun"
>
<g fill="#FFF" fill-rule="nonzero">
<path
d="M13.545 6.455c-.9-.9-2.17-1.481-3.545-1.481a4.934 4.934 0 00-3.545 1.481c-.9.9-1.481 2.17-1.481 3.545 0 1.376.582 2.646 1.481 3.545.9.9 2.17 1.481 3.545 1.481a4.934 4.934 0 003.545-1.481c.9-.9 1.481-2.17 1.481-3.545a4.934 4.934 0 00-1.481-3.545zM10 3.413a.7.7 0 00.688-.688V.688A.7.7 0 0010 0a.7.7 0 00-.688.688v2.037a.7.7 0 00.688.688zM15.635 5.344l1.455-1.455a.67.67 0 000-.952.67.67 0 00-.952 0l-1.455 1.455a.67.67 0 000 .952c.238.264.66.264.952 0zM19.312 9.312h-2.037a.7.7 0 00-.688.688.7.7 0 00.688.688h2.037A.7.7 0 0020 10a.7.7 0 00-.688-.688zM15.608 14.656a.67.67 0 00-.952 0 .67.67 0 000 .952l1.455 1.455a.67.67 0 00.952 0 .67.67 0 000-.952l-1.455-1.455zM10 16.587a.7.7 0 00-.688.688v2.037A.7.7 0 0010 20a.7.7 0 00.688-.688v-2.037a.7.7 0 00-.688-.688zM4.365 14.656L2.91 16.111a.67.67 0 000 .952.67.67 0 00.952 0l1.455-1.455a.67.67 0 000-.952c-.238-.264-.66-.264-.952 0zM3.413 10a.7.7 0 00-.688-.688H.688A.7.7 0 000 10a.7.7 0 00.688.688h2.037A.7.7 0 003.413 10zM4.365 5.344a.67.67 0 00.952 0 .67.67 0 000-.952L3.862 2.937a.67.67 0 00-.952 0 .67.67 0 000 .952l1.455 1.455z"
/>
</g>
</svg>
</button>
</header>
<script src="./js/theme.js"></script>
<div class="firebase">
<div id="whenSignedOut">
<button id="signInBtn" class="btn btn-primary btn-firebase">
<div class="btn-child-firebase"><img src="./assets/googlebg.png" width="30px" height="30px" style="margin-bottom:0px; margin-top:5px;"/></div>
<div class="btn-child-firebase">Sign in with Google</div>
</button>
<h3 class="orHeading" style="font-size: 1rem;">Sign-in to use this feature</h3>
</div>
<div id="whenSignedIn" hidden="true">
<div id="userDetails" class="body"></div>
<button id="signOutBtn" class="btn btn-primary btn-firebase">
Sign Out
</button>
<p id="thingsList"></p>
</div>
</div>
</div>
<script src="./js/favourite/favouritemain.js"></script>
</body>
</html>