Skip to content

Commit

Permalink
Update website (#113)
Browse files Browse the repository at this point in the history
* Update team page and add placeholders

* Update gem setting

* Update team page and add placeholders

* Update gem setting

* Update team page and add placeholders

* Update gem setting

* Remove lecture tag

* Restore lecture tag

* Test Humphrey's image

* Update team page

* Update team page

* Add jingni's image

* Update jingni's image

* Minor updates in team

* Draft news

* Fix some typos

* Change file names

* Update title

* Update news title

* Upload books image

* Add books section and remove others

* Add descriptions to books

* Draft by zhc

* Minor updates in book descriptions

* Draft

* Update gem settings

* Modify news

* Add news

* Reformat code

* Add news item about Google JAX lectures

* add link

* Updates

* Fix building error

* Update projects dropdown

* Add news

* Finish page settings

* Apply review changes

* Update _layouts/home.html

Co-authored-by: Humphrey Yang <[email protected]>

* Update _layouts/home.html

Co-authored-by: Humphrey Yang <[email protected]>

* Update review changes

* Update to lecture page styles

* Standardise pages that require layout styles

* fix some links and remove all projects

* update homepage

* review and update about page

* add link for past workshops

* additional fixes for about page

* larger icons for books

---------

Co-authored-by: HengCheng <[email protected]>
Co-authored-by: Jingni Yang <[email protected]>
Co-authored-by: Jingni0117 <[email protected]>
Co-authored-by: Natasha <[email protected]>
Co-authored-by: mmcky <[email protected]>
Co-authored-by: Humphrey Yang <[email protected]>
Co-authored-by: mmcky <[email protected]>
  • Loading branch information
8 people authored Oct 31, 2023
1 parent 71f219f commit 03704d6
Show file tree
Hide file tree
Showing 34 changed files with 420 additions and 144 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# website
Website for QuantEcon Organisation
---

Please run `bundle exec jekyll serve` to build website.
28 changes: 28 additions & 0 deletions _layouts/books.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: default
---

{{ content }}

<ul class="row projects projects-container">

{% assign sorted_projects = site.projects | where: 'type', 'book' %}

{% for project in sorted_projects reversed %}
<li class="projects-item">
<a target="_blank" href="{{ project.link }}">
<div class="project d-flex flex-column align-items-start">
<div class="item-info d-flex">
<div class="item-pic-books"><img src="/assets/img/books/{{ project.image }}"></div>
<div class="item-title">
<h3 class="name">{{ project.name }}</h3>
<div class="item-desc">
{{ project.description | markdownify }}
</div>
</div>
</div>
</a>
</li>
{% endfor %}

</ul>
28 changes: 28 additions & 0 deletions _layouts/code.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: default
---

{{ content }}

<ul class="row projects projects-container">

{% assign sorted_projects = site.projects | where: 'type', 'code' %}

{% for project in sorted_projects reversed %}
<li class="projects-item filter-{{ project.lang }}">
<a target="_blank" href="{{ project.link }}">
<div class="project d-flex flex-column align-items-start">
<div class="item-info d-flex">
<div class="item-pic"><img src="/assets/img/projects/{{ project.image }}"></div>
<div class="item-title">
<h3 class="name">{{ project.name }}</h3>
<div class="item-desc">
{{ project.description | markdownify }}
</div>
</div>
</div>
</a>
</li>
{% endfor %}

</ul>
8 changes: 8 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ <h2 class="title">Quant<span>Econ</span></h2>
{% endfor %}
<!-- <li><a href="/projects/#filter=lecture">Lectures</a></li> -->
<li><a href="https://github.com/QuantEcon" target="_blank">GitHub</a></li>
<li class="dropdown"><a href="#"><span>Projects</span><i class="bi bi-chevron-down"></i></a>
<ul>
<li><a href="/lectures">Lectures</a></li>
<li><a href="/code">Code</a></li>
<li><a href="/books">Books</a></li>
<li><a href="/projects">Others</a></li>
</ul>
</li>
<li class="dropdown"><a href="#"><span>Support</span> <i class="bi bi-chevron-down"></i></a>
<ul>
<li><a href="/store/">Merchandise</a></li>
Expand Down
118 changes: 66 additions & 52 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,10 @@ <h1>Quant<span>Econ</span></h1>
<main id="main">

<section id="featured" class="featured">

<!-- Lectures and Code Libraries -->
<div class="container">

<div class="row justisfy-content-center gx-5">

<!-- <div class="row justify-content-md-between col-md-8"> -->
<!--
<div class="col-md-8 d-flex justify-content-around"> -->

<!-- <div class="col-md-8 row" data-aos="zoom-in" data-aos-delay="400"> -->
<div class="row justisfy-content-center gx-5" data-aos="zoom-in" data-aos-delay="150">

<div class="col-md-6">

Expand All @@ -52,42 +46,73 @@ <h1>Quant<span>Econ</span></h1>
<h2>Lectures</h2>
<p>QuantEcon hosts lecture series on economics, finance, econometrics and data science. All lecture series
are based on open source languages and open computing environments.</p>
<p><a href="/projects/#filter=lecture" class="btn-learn-more">Browse lectures</a></p>

</p>
<p><a href="/lectures/" class="btn-learn-more">Browse lectures</a></p>
</div>
</div>

</div>

<div class="col-md-6 mt-5 mt-md-0">

<div class="row">


<div class="col-md-4 offset-md-0 d-none d-md-block">
<p><img src="/assets/img/code-thumb.png" class="img-thumbnail" alt="Screenshot showing python code"></p>
</div>


<div class="col-md-8 offset-md-0">
<h2>Code Libraries</h2>
<p>QuantEcon has developed and maintains high-performance, open source, code libraries in Python and
Julia.
</p>
Julia.</p>
<br>
<p><a href="/projects/#filter=code" class="btn-learn-more">View libraries</a></p>

<p><a href="/code/" class="btn-learn-more">View libraries</a></p>
</div>
</div>

</div>

</div>

<br>
<!-- <div class="section-title">
<h1>Books</h1>
</div> -->
<br>
<!-- Books's image and descriptions -->
<div class="row justisfy-content-center gx-5" data-aos="zoom-in" data-aos-delay="150">

<div class="col-md-6">

<div class="row">

<div class="col-md-4 offset-md-0 d-none d-md-block">
<p><img src="/assets/img/books/dp-image.png" class="img-thumbnail" alt="Icon of Dynamic Programming book"></p>
</div>

</div>
<div class="col-md-8 offset-md-0">
<h3>Dynamic Programming</h3>
<p>This book is about dynamic programming and its applications in economics, finance, and adjacent
fields like operations research. It brings together recent innovations in the theory of dynamic
programming.</p>
<p><a href="https://dp.quantecon.org/" class="btn-learn-more">View online version</a></p>
</div>
</div>
</div>
<div class="col-md-6 mt-5 mt-md-0">

<div class="row">

<div class="col-md-4 offset-md-0 d-none d-md-block">
<p><img src="/assets/img/books/networks-image.png" class="img-thumbnail" alt="Icon of Economic Networks book">
</p>
</div>

<div class="col-md-8 offset-md-0">
<h3>Economic Networks</h3>
<p>This book is an introduction to economic networks and it emphasizes quantitative modeling, with the
main underlying tools being graph theory, linear algebra, fixed point theory and programming.</p>
<p><a href="https://networks.quantecon.org/" class="btn-learn-more">View online version</a></p>
</div>
</div>
</div>
</div>
</div>

</section>
Expand All @@ -110,16 +135,17 @@ <h2>Workshops</h2>
short courses on quantitative economics and high-performance computing
using Python and Julia.</p>

<p>Past locations include the Econometric
<p><a href="/workshops">Past locations</a> include the Econometric
Society meetings, Columbia University, Copenhagen, the Reserve Bank of Australia,
Stanford, Princeton, Harvard, MIT, Berkeley, UCLA, Paris and the Central Bank of Chile.</p>

<br>

<p class="m-0"><a href="mailto:[email protected]" class="btn-learn-more">Contact us</a></p>

<p class="m-0">
<a href="mailto:[email protected]" class="btn-learn-more">Contact us</a>
</p>
</div>
</div>

</div>

</section>
Expand All @@ -145,7 +171,7 @@ <h2>Workshops</h2>
<div class="container" data-aos="zoom-in" data-aos-delay="100">

<div class="section-title">
<h2>Projects</h2>
<h2>Open Source</h2>
</div>

<div class="row justisfy-content-center gx-5">
Expand All @@ -156,8 +182,8 @@ <h2>Projects</h2>

<div class="row gy-3 gx-5">

<div class="col-md-6">
<a href="/projects/#filter=lecture">
<!-- <div class="col-md-6">
<a href="/lectures">
<div class="thumb"><img src="/assets/img/projects/project-lectures.png" alt=" " style="width:30px;" />
</div>
<h3>
Expand All @@ -170,7 +196,7 @@ <h3>
</div>
<div class="col-md-6">
<a href="/projects/#filter=code">
<a href="/code">
<div class="thumb"><img src="/assets/img/projects/project-python.png" alt=" " style="width:30px;" />
</div>
<h3>Code</h3>
Expand All @@ -179,9 +205,9 @@ <h3>Code</h3>
Julia.</p>
</div>
</a>
</div>
</div> -->

<div class="col-md-6">
<!-- <div class="col-md-6">
<a href="/quantecon-textbook/">
<div class="thumb"><img src="/assets/img/projects/project-textbook.png" alt=" " style="width:30px;" />
</div>
Expand All @@ -191,7 +217,7 @@ <h3>Textbooks</h3>
dynamics.</p>
</div>
</a>
</div>
</div> -->

<div class="col-md-6">
<a href="https://notes.quantecon.org/">
Expand All @@ -216,31 +242,17 @@ <h3>Executable Books</h3>
</div>
</a>
</div>

</div>



</div>


</div>

<br>

<p class="text-center m-0"><a href="/projects/" class="btn-learn-more">View All Projects</a></p>

<!-- <p class="text-center m-0"><a href="/projects/" class="btn-learn-more">View All Projects</a></p> -->

</div>

</div>
</div>



</div>

<!-- </div> -->
</section><!-- End Services Section -->

<section id="sponsors" class="sponsors section-bg">
Expand All @@ -259,29 +271,29 @@ <h3>Executable Books</h3>
<div class="col-md-5 mt-5 mt-md-0">

<p class="m-0"><a href="https://schmidtfutures.com/">
<img src="/assets/img/schmidt-logo.svg" alt="Schmidt Futures logo" width="400">
</a></p>
<img src="/assets/img/schmidt-logo.svg" alt="Schmidt Futures logo" width="400"></a></p>

</div>

</div>

</div>

</section>

<!-- ======= Testimonials Section ======= -->
<section id="testimonials" class="testimonials">

<div class="container" data-aos="fade-up">

<div class="section-title">
<h2>Working for QuantEcon</h2>
</div>

<div class="testimonials-slider swiper" data-aos="fade-up" data-aos-delay="100">

<div class="swiper-wrapper">

<div class="swiper-slide">

<div class="testimonial-item">

<img src="/assets/img/testimonials/natasha.jpg" class="testimonial-img" alt="">
Expand All @@ -297,7 +309,9 @@ <h4>Research Assistant</h4>
</div><!-- End testimonial item -->

<div class="swiper-slide">

<div class="testimonial-item">

<img src="/assets/img/testimonials/flint.jpg" class="testimonial-img" alt="">
<h3>Flint O'Neil</h3>
<h4>Lead Developer</h4>
Expand Down
38 changes: 38 additions & 0 deletions _layouts/lectures.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: default
---

{{ content }}

<!--
# Filters for language or difficulty
-->
<!-- <ul id="projects-flters" class="projects-flters d-flex justify-content-start" data-aos="fade-up" data-aos-delay="100">
<li data-filter="*" class="filter-active">All</li>
<li data-filter=".filter-python">Python</li>
<li data-filter=".filter-julia">Julia</li>
</ul> -->


<ul class="row projects projects-container">

{% assign sorted_lectures = site.lectures | sort: 'order' %}

{% for lecture in sorted_lectures %}
<li class="projects-item filter-{{ lecture.lang }}">
<a target="_blank" href="{{ lecture.link }}">
<div class="project d-flex flex-column align-items-start">
<div class="item-info d-flex">
<div class="item-pic"><img src="/assets/img/projects/{{ lecture.image }}"></div>
<div class="item-title">
<h3 class="name">{{ lecture.name }}</h3>
<div class="item-desc">
{{ lecture.description | markdownify }}
</div>
</div>
</div>
</a>
</li>
{% endfor %}

</ul>
Loading

0 comments on commit 03704d6

Please sign in to comment.