Skip to content

Commit

Permalink
Add missing resources
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorCaldas committed Feb 7, 2022
1 parent f3f4547 commit 437c39f
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 2 deletions.
166 changes: 166 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>VCaldas Personal website</title>

<!-- Bootstrap core CSS -->
<link rel= "stylesheet" type= "text/css" href= "/static/css/main.css">
<!-- Custom fonts for this template -->
<link href= "/static/font-awesome/css/all.css" rel="stylesheet" type= "text/css"> <!--load all styles -->
<link href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Cabin:700' rel='stylesheet' type='text/css'>

<!-- Custom styles for this template -->
<!-- <link href="assets/styles/grayscale.css" rel="stylesheet"> -->

<!-- Custom styles for this template -->
<link rel= "stylesheet" type= "text/css" href= "/static/css/particles.css">

<!-- Temporary navbar container fix -->
<style>
.navbar-toggler {
z-index: 1;
}

@media (max-width: 576px) {
nav > .container {
width: 100%;
}
}
</style>
<link href= "/static/font-awesome/css/all.css" rel="stylesheet" type= "text/css"> <!--load all styles -->
<link rel= "stylesheet" type= "text/css" href= "/static/css/main.css">

</head>

<body id="page-top">
<div id="particles-js">
<!-- Navigation -->
<nav id="mainNav" class="navbar fixed-top navbar-toggleable-md navbar-light">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarExample" aria-controls="navbarExample" aria-expanded="false" aria-label="Toggle navigation">
Menu <i class="fa fa-bars"></i>
</button>

<div class="container">
<a class="navbar-brand" href="/">V/Caldas</a>


<div class="collapse navbar-collapse" id="navbarExample">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#Publications">Publications</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#blog">Blog</a>
</li>

<li class="nav-item">
<a class="nav-link" href="#projects">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#About">About</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="content">
<h1>
<span class="site-title">V/Caldas</span>
<span class="site-description"></span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:"><i class="icon fa fa-envelope"></i></a>
<a aria-label="My Research" href="/publications"><i class="icon fa fa-flask" aria-hidden="true"></i></a>
<a aria-label="My Vimeo" target="_blank" href=""><i class="icon fa fa-vimeo"
aria-hidden="true"></i></a>
<a aria-label="My Github" target="_blank" href="https://github.com/"><i
class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
</div>
<a class="down" href="#contact" data-scroll><i class="icon fa fa-chevron-down" aria-hidden="true"></i></a>


</div>

<!-- About Section -->
<div id="contact" class="container content-section-landing text-center">
<!-- <h2>Contact</h2> -->


<div class="row text-left">
<div class="col-sm-4">
<div class="card-block">
<p class="card-text">
<strong>Victor E. A. Caldas</strong>
<div class="hline-w"></div>
Data Scientist <br>
<a href="mailto:[email protected]">[email protected]</a><br>
</div>
</div>

<div class="col-sm-4">
<div class="card-block">
<p class="card-text">
<!-- <i class="fa fa-building"></i> Where to find me
<div class="hline-w"></div>
<strong>Cargill BV</strong><br> FALW - Dept. Animal Ecology <br> De Boelelaan, 1085 - Office M.152<br> 1081HV Amsterdam, NH<br> The Netherlands -->
</div>
</div>


<div class="col-sm-4">
<div class="card-block">
<p class="card-text">
<i class="fa fa-building"></i> Social media
<div class="hline-w"></div>
<ul class="social-media-list" style="list-style: none;">


<li>
<a href="https://500px.com/victorcaldas">
<i class="fa fa-500px" style="color:gray"></i> victorcaldas
</a>
</li>
<li>
<a href="https://linkedin.com/in/vcaldas">
<i class="fa fa-linkedin-square " style="color:gray"></i> VCaldas</a>
</li>
</ul>
</div>
</div>

</div>
</div>

</body>

<!-- Footer -->


<footer class="footer">
<div class="text-center">
<p>Build with Flask and <span class="love"></span>. Get the source<a href="https://github.com/vcaldas/vcaldas.github.io"> here!</a>
</div>
</footer>

<!-- javascript -->
<!-- Bootstrap core JavaScript -->
<script src="/static/js/jquery.js"> </script>
<script src="/static/js/tether.js"> </script>
<script src="/static/js/bootstrap.js"> </script>
<script src="/static/js/jquery.easing.js"> </script>

<script src="/static/js/grayscale.js"> </script>
<script src="/static/js/particles.js"> </script>
<script src="/static/js/sweet-scroll.js"> </script>
<script src="/static/js/bootstrap.js"> </script>
<script src="/static/js/particle.js"> </script>

</html>
11 changes: 9 additions & 2 deletions freeze.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import shutil

import click
from flask_frozen import Freezer

from website import create_app
Expand All @@ -9,11 +10,17 @@
app = create_app()

# Create an instance of Freezer for generating the static files from
freezer = Freezer(app, with_no_argument_rules=False, log_url_for=True)
freezer = Freezer(app)


if __name__ == "__main__":
# Generate the static files using Frozen-Flask
freezer.freeze_yield()
with click.progressbar(
freezer.freeze_yield(), item_show_func=lambda p: p.url if p else "Done!"
) as urls:
for url in urls:
# everything is already happening, just pass
pass
# freezer.run()
# Hack to copy the content of statics folder
shutil.copytree("./website/static/", "./docs/static/", dirs_exist_ok=True)

0 comments on commit 437c39f

Please sign in to comment.