Skip to content

Commit

Permalink
Figured out latex
Browse files Browse the repository at this point in the history
  • Loading branch information
cote3804 committed Aug 12, 2024
1 parent 0662745 commit acc2374
Show file tree
Hide file tree
Showing 2,156 changed files with 292,381 additions and 0 deletions.
71 changes: 71 additions & 0 deletions bootstrap-portfolio/biography.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!DOCTYPE html>
<html lan="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bio</title>
<link href="/css/main.min.css" rel="stylesheet">
<link href="/css/styles.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</head>
<body class="bg-dark">
<div class="container-fluid px-0" >
<nav class="navbar navbar-expand-lg navbar-dark bg-navbardark">
<div class="container-fluid">
<a class="navbar-brand h1" href="#"></a>
<img src="/images/white_atom_logo_tiny.png" alt="Logo" class="img-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-start" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active fs-4" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle fs-4" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Publications
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" target="_blank" href="https://pubs.acs.org/doi/abs/10.1021/acscatal.3c01978">NRR Scaling Relations</a></li>
<li><a class="dropdown-item" target="_blank" href="https://onlinelibrary.wiley.com/doi/abs/10.1002/aenm.202304559">NRR Catalyst Screening</a></li>
<li><a class="dropdown-item" target="_blank" href="https://arxiv.org/abs/2405.20239">Electrocatalysis Database</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link fs-4" href="research.html">Research</a>
</li>
<li class="nav-item">
<a class="nav-link fs-4" href="biography.html">Bio</a>
</li>
</ul>
</div>
</div>
</nav>
</nav>
</div>
<style>
#content h1 { color: rgb(221, 221, 221); }
#content p { color: rgb(180, 180, 180); }
#content a { color: purple; }
</style>
<div class="container">
<div class="row">
<div class="col">
<div class="container" id="content">
<script>
document.addEventListener('DOMContentLoaded', function() {
var converter = new showdown.Converter();
converter.setFlavor('github');
fetch('/biography.md')
.then(response => response.text())
.then(text => {
document.getElementById('content').innerHTML = converter.makeHtml(text);
})
.catch(error =>
console.error('Error loading markdown file', error));
});
</script>
</div>
</div>
</div>
9 changes: 9 additions & 0 deletions bootstrap-portfolio/css/main.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bootstrap-portfolio/css/main.min.css.map

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions bootstrap-portfolio/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.div-wrapper {
position: relative;
height: 300px;
width: 300px;
display: flex;
align-items: flex-end;
}

.div-wrapper img {
position: absolute;
left: 0;
bottom: 0;
}

.grey-square {
background-color: #6c757d; /* Bootstrap's secondary color */
width: 200px;
height: 200px;
}

.custom-vh-75 {
min-height: 75vh;
}

.custom-header {color: orange;}
39 changes: 39 additions & 0 deletions bootstrap-portfolio/gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
const gulp = require('gulp');
const { src, dest } = require('gulp');
const fileinclude = require('gulp-file-include');
const { series } = require('gulp');

const paths = {
scripts: {
src: './source',
dest: './'
}
};

async function includeHTML(){
return src([
'./source/*.html',
'./source/*.md',
'./source/*.js',
'!header.html', // ignore
'!footer.html' // ignore
])
.pipe(fileinclude({
prefix: '@@',
basepath: '@file'
}))
.pipe(dest(paths.scripts.dest));
}

// async function include_images() {
// return src('images/*')
// .pipe(dest('build/images/'));
// }

// async function include_publications() {
// return src('publications/*')
// .pipe(dest('build/publications/'));
// }

// exports.default = series(includeHTML, include_images, include_publications);
exports.default = includeHTML;
Binary file added bootstrap-portfolio/images/black_atom_log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/headshot_atoms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/middel_bhfip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/outer_bhfip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/rough_bhfip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/self_boat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/self_boat_face.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/shiny_bhfip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/spans_bar_chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/volvano.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap-portfolio/images/white_atom_log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 110 additions & 0 deletions bootstrap-portfolio/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<!DOCTYPE html>
<html lan="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Atomic Brokerage</title>
<link href="/css/main.min.css" rel="stylesheet">
<link href="/css/styles.css" rel="stylesheet">
<link rel="icon" href="/images/white_atom_logo_small.png" type="image/x-icon">
<script src="https://cdnjs.cloudflare.com/ajax/libs/markdown-it/12.3.2/markdown-it.min.js"
integrity="sha512-TIDbN32lXOg2Mw1VcnKrQLZgfALryJogWCu/NHWtlMCR1jget+mOwMtdehBBZz2f9PKeK2AQPwVxkbl4u/1H5g=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body class="bg-dark">
<div class="container-fluid px-0" >
<nav class="navbar navbar-expand-lg navbar-dark bg-navbardark">
<div class="container-fluid">
<a class="navbar-brand h1" href="#"></a>
<img src="/images/white_atom_logo_tiny.png" alt="Logo" class="img-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-start" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active fs-4" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle fs-4" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Publications
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" target="_blank" href="https://pubs.acs.org/doi/abs/10.1021/acscatal.3c01978">NRR Scaling Relations</a></li>
<li><a class="dropdown-item" target="_blank" href="https://onlinelibrary.wiley.com/doi/abs/10.1002/aenm.202304559">NRR Catalyst Screening</a></li>
<li><a class="dropdown-item" target="_blank" href="https://arxiv.org/abs/2405.20239">Electrocatalysis Database</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link fs-4" href="research.html">Research</a>
</li>
<li class="nav-item">
<a class="nav-link fs-4" href="biography.html">Bio</a>
</li>
</ul>
</div>
</div>
</nav>
</nav>
</div>
<div class="container text-center z-n1 position-absolute">
<div class="row bg-dark bg-gradient nopadding opacity-50">
<div class="col p-0 fixed-bottom"> <!-- Background image -->
<img src="./images/surface_transparent.png" class="z-n1" alt="Main Image" style="align-items: flex-end; width: 100%">
</div>
</div>
</div>
<div class="container-fluid d-flex flex-column custom-vh-75 z-2 position-relative text-center">
<div class="row flex-grow-1"> <!-- Title and other info -->
<div class="col-4 align-self-center">
<div class="container-fluid">
<div class="row flex-grow-1">
<div class="col align-self-center">
<p class="fs-1 fw-bold text-center text-light">Cooper Tezak</p>
<img src="/images/headshot_atoms_circle.png", class="image-fluid", style="max-width: 100%;">
</div>
</div>
</div>
</div>
<div class="col-8 align-self-center">
<div class="container">
<div class="row flex-grow-1 position-relative z-2">
<div class="col align-self-center">
<p class="fs-1 fw-bold text-center text-light">Atomic Broker</p>
<p class="fs-4 text-light">Matching catalyst materials with desired chemical conversions</p>
</div>
</div>
</div>
</div>
</div>

<script>
// Configure MathJax
window.MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
displayMath: [['$$', '$$'], ['\\[', '\\]']]
},
options: {
renderActions: {
addColor: [10, (doc) => {
for (const math of doc.math) {
const node = math.typesetRoot;
if (math.display) {
node.classList.add('mathjax-display');
} else {
node.classList.add('mathjax-inline');
}
}
}, '']
}
}
};

// Re-render MathJax after page load
window.addEventListener('load', () => {
MathJax.typesetPromise();
});
</script>
</body>
</html>
Empty file.
12 changes: 12 additions & 0 deletions bootstrap-portfolio/link.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lan="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="/css/main.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</head>
<body>
</div>
<p>Link</p>
Empty file added bootstrap-portfolio/main.html
Empty file.
6 changes: 6 additions & 0 deletions bootstrap-portfolio/markdown.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var showdown = require('showdown'),
converter = new showdown.Converter(),
text = '# hello, markdown!',
html = converter.makeHtml(text);

console.log(html);
42 changes: 42 additions & 0 deletions bootstrap-portfolio/mathjax.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MathJax Example</title>
<!-- Include MathJax -->
<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
<script>
MathJax = {
loader: {load: ['[tex]/color']},
tex: {
inlineMath: [['$', '$'],
['\\(', '\\)']],
packages: {'[+]': ['color']}
},
svg: {
fontCache: 'global'
}
};
</script>
</head>
<body>
<h1>MathJax Example</h1>

<p>
This is an inline math example: \(\textcolor{red}{E = mc^2}\)
</p>

<p>
This is a display math example:
</p>

<p>
$$
\int_{a}^{b} f(x) \,dx
$$
</p>
</body>
</html>
33 changes: 33 additions & 0 deletions bootstrap-portfolio/navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-navbardark">
<div class="container-fluid">
<a class="navbar-brand h1" href="#"></a>
<img src="/images/white_atom_logo_tiny.png" alt="Logo" class="img-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-start" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active fs-4" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle fs-4" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Publications
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" target="_blank" href="https://pubs.acs.org/doi/abs/10.1021/acscatal.3c01978">NRR Scaling Relations</a></li>
<li><a class="dropdown-item" target="_blank" href="https://onlinelibrary.wiley.com/doi/abs/10.1002/aenm.202304559">NRR Catalyst Screening</a></li>
<li><a class="dropdown-item" target="_blank" href="https://arxiv.org/abs/2405.20239">Electrocatalysis Database</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link fs-4" href="research.html">Research</a>
</li>
<li class="nav-item">
<a class="nav-link fs-4" href="biography.html">Bio</a>
</li>
</ul>
</div>
</div>
</nav>
</nav>
1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/gulp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/katex

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/markdown-it

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/resolve

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/showdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bootstrap-portfolio/node_modules/.bin/which

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit acc2374

Please sign in to comment.