-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditprojects.html
More file actions
executable file
·77 lines (74 loc) · 3.16 KB
/
editprojects.html
File metadata and controls
executable file
·77 lines (74 loc) · 3.16 KB
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
<!doctype html>
<html lang="en">
<head>
<link href="/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="/custom.css" rel="stylesheet">
<link href="/index.css" rel="stylesheet">
<link href="/projects.css" rel="stylesheet">
<link href="/highlight/styles/github-dark.min.css" rel="stylesheet">
</head>
<body>
<main role="main" class="container" id="pagecontainer" style="margin-bottom: 10rem;">
<div class="project-headbar clearfix" id="headerContent">
</div>
<div id="react-content">
</div>
<!-- /.row -->
</main>
<!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<footer class="blog-footer">
</footer>
<script src="/highlight/highlight.min.js"></script>
<script src="/js/jquery-3.6.0.min.js"></script>
<script src="/custom.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-functions.js"></script>
<script>
// Import the functions you need from the SDKs you need
//import { initializeApp } from "https://www.gstatic.com/firebasejs/9.8.4/firebase-app.js";
//import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.8.4/firebase-analytics.js";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyD2vqB3PDNO7RH_EqvSpkT572xR1L5uW2c",
authDomain: "evan-partidas-portfolio.firebaseapp.com",
projectId: "evan-partidas-portfolio",
storageBucket: "evan-partidas-portfolio.appspot.com",
messagingSenderId: "659260999388",
appId: "1:659260999388:web:1c875928d298daa4271619",
measurementId: "G-E090GYCW11"
};
// Initialize Firebase
const app = firebase.initializeApp(firebaseConfig);
const auth = firebase.auth();
const db = firebase.firestore();
const functions = firebase.functions();
auth.onAuthStateChanged((user)=>{
if(!user){
window.location.href="/login.html"
}
});
//const analytics = getAnalytics(app);
</script>
<script type="text/javascript" src="js/react/react.development.js"></script>
<script type="text/javascript" src="js/react/react-dom.development.js"></script>
<script type="text/javascript" src="js/react/babel.min.js"></script>
<script type="text/babel" src="editprojects.js"></script>
<script>
$(async function(){
$("#headerContent").load("/headbar.html");
waitForEl("#ProjectsNavItem",function(){
$("#ProjectsNavItem").addClass("active");
});
});
hljs.highlightAll();
</script>
</body>
</html>