Skip to content

Commit b9fcf89

Browse files
committed
wip: landing page
1 parent 332d675 commit b9fcf89

File tree

1 file changed

+49
-116
lines changed

1 file changed

+49
-116
lines changed

portal/index.md

+49-116
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
1-
# Project Pythia
1+
---
2+
site:
3+
hide_outline: true
4+
hide_toc: true
5+
hide_title_block: true
6+
---
7+
8+
+++ {"class": "split-image"}
29

3-
:::{banner}
4-
:color: rgba(26, 100, 143, 0.9)
5-
:image: _static/images/backgrounds/pexels-jeff-stapleton-5792818.jpg
10+
## Project Pythia
11+
12+
:::{image} _static/images/backgrounds/pexels-jeff-stapleton-5792818.jpg
613
:caption: Photo by Jeff Stapleton from Pexels
7-
:class: dark-banner
814
:::
915

10-
<span style="font-size: 2.6rem;">An education and training hub for the geoscientific Python community</span>
16+
An education and training hub for the geoscientific Python community
17+
18+
Project Pythia is hosting a Cookbook Cook-Off June 11-14, 2024. {button}`Cookbook Cook-Off<https://projectpythia.org/pythia-cookoff-2024>`
1119

12-
<a href="https://projectpythia.org/pythia-cookoff-2024/" role="button" class="btn btn-light btn-lg" style="display: flex; align-items: center; font-weight: 600; text-decoration: none; background-color: #ccc; border: rgba(var(--spt-color-dark), 1);">
13-
Project Pythia is hosting a Cookbook Cook-Off June 11-14, 2024.<br>
14-
Learn more here.
15-
</a>
20+
+++ { "class": "centered"}
1621

17-
[Project Pythia](about) is the education working group for [Pangeo](https://pangeo.io)
22+
## What is Project Pythia?
23+
24+
[Project Pythia](./about.md) is the education working group for [Pangeo](https://pangeo.io)
1825
and is an educational resource for the entire geoscience community.
1926
Together these initiatives are helping geoscientists make sense of huge volumes of
2027
numerical scientific data using tools that facilitate open, reproducible science,
@@ -24,63 +31,53 @@ around these goals.
2431
Project Pythia is a home for Python-centered learning resources that are _open-source_,
2532
_community-owned_, _geoscience-focused_, and _high-quality_.
2633

27-
<span class="d-flex justify-content-center py-4">
28-
<a href="about.html" role="button" class="btn btn-light btn-lg" style="display: flex; align-items: center; font-weight: 600; text-decoration: none;">
29-
About <img src="./_static/images/logos/pythia_logo-blue-rtext.svg" alt="Project Pythia" height="35px" style="margin-left: 0.5rem;">
30-
</a>
31-
<div class="horizontalgap" style="width:70px"></div>
32-
<a href="https://pangeo.io/about" role="button" class="btn btn-light btn-lg" style="display: flex; align-items: center; font-weight: 600; text-decoration: none;">
33-
About <img src="https://raw.githubusercontent.com/pangeo-data/pangeo/master/docs/_static/small_e_logo_cropped.png" alt="Pangeo logo" height="35px" style="margin-left: 0.5rem;">
34-
<img src="https://raw.githubusercontent.com/pangeo-data/pangeo/master/docs/_static/pangeo_simple_logo.svg" alt="Pangeo" height="22px">
35-
</a>
36-
</span>
34+
+++ { "class": "centered"}
3735

3836
## Start Learning
3937

4038
Project Pythia has several resources for you to use to start learning how to use Python
4139
and the technology in the Python ecosystem for the geosciences.
4240

43-
### The Foundations Book
41+
::::{grid} 1 2 2 3
42+
:::{card}
43+
:url: https://foundations.projectpythia.org
44+
:header: The Foundations Book
45+
:footer: Visit the Foundations Book »
4446

4547
The [Pythia Foundations Book](https://foundations.projectpythia.org) is a
4648
[Jupyter Book](https://jupyterbook.org/) developed by the Pythia community to
4749
act as a **comprehensive set of tutorials** covering the **foundational skills**
4850
everyone needs to get started with **computing in the open-source Python ecosystem**.
4951
These foundational tutorials will serve as common references for more advanced and
5052
domain-specific content to be housed here in the Pythia Portal.
53+
:::
5154

52-
<span class="d-flex justify-content-center pt-1 pb-3">
53-
<a href="https://foundations.projectpythia.org" role="button" class="btn btn-primary btn-lg">
54-
Read the Pythia Foundations Book
55-
</a>
56-
</span>
57-
58-
### Pythia Cookbooks
55+
:::{card}
56+
:url: https://cookbooks.projectpythia.org
57+
:header: Pythia Cookbooks
58+
:footer: Visit Pythia Cookbooks »
5959

6060
Pythia Cookbooks are collections of more advanced and domain-specific example workflows building on top of Pythia Foundations.
61+
:::
6162

62-
<span class="d-flex justify-content-center pt-1 pb-3">
63-
<a href="https://cookbooks.projectpythia.org" role="button" class="btn btn-primary btn-lg">
64-
Visit Pythia Cookbooks
65-
</a>
66-
</span>
6763

68-
### The Resource Gallery
64+
:::{card}
65+
:url: ./resource-gallery.md
66+
:header: The Resource Gallery
67+
:footer: Visit the Resource Gallery »
6968

7069
There is a wealth of educational resources out there on the internet for learning
7170
Python and how to use it in the geosciences! We have attempted to gather together
7271
a curated and filterable list of these resources (including Pythia's own content)
7372
into our [Pythia Resource Gallery](/resource-gallery).
7473
Click the link below to see a hand-picked selection of resources for learning at
7574
your own pace.
75+
:::
7676

77-
<span class="d-flex justify-content-center pt-1 pb-3">
78-
<a href="/resource-gallery.html" role="button" class="btn btn-primary btn-lg">
79-
Visit the Pythia Resource Gallery
80-
</a>
81-
</span>
82-
83-
### Webinar Tutorial Series
77+
:::{card}
78+
:url: https://ncar-xdev.github.io/status/tutorials.html
79+
:header: Webinar Tutorial Series
80+
:footer: Visit the Pythia Webinar Tutorial Series »
8481

8582
The [Pythia Webinar Tutorial Series](https://ncar-xdev.github.io/status/tutorials.html) is hosted regularly by the Project Pythia team. Anyone can join
8683
these hour-long, instructor-led interactive tutorials. Participants can
@@ -89,67 +86,20 @@ the instructor. Each seminar is recorded for later viewing on the
8986
[Project Pythia YouTube channel](https://www.youtube.com/channel/UCoZPBqJal5uKpO8ZiwzavCw).
9087
Click the link below to view past and upcoming seminars, covering a range of
9188
topics from beginning to advanced.
89+
:::
9290

93-
<span class="d-flex justify-content-center pt-1 pb-3">
94-
<a href="https://ncar-xdev.github.io/status/tutorials.html" role="button" class="btn btn-primary btn-lg">
95-
Visit the Pythia Webinar Tutorial Series
96-
</a>
97-
</span>
98-
99-
### Pythia Data Collection
91+
:::{card}
92+
:url: https://github.com/ProjectPythia/pythia-datasets
93+
:header: Pythia Data Collection
94+
:footer: Visit the Pythia Data Repository »
10095

10196
Looking for a free, public domain geoscience data set that you can use to
10297
sharpen your skills while learning the Scientific Python Ecosystem? All of
10398
the example data used by the [Pythia Foundations Book](https://foundations.projectpythia.org) are freely accessible.
99+
:::
100+
::::
104101

105-
<span class="d-flex justify-content-center pt-1 pb-3">
106-
<a href="https://github.com/ProjectPythia/pythia-datasets" role="button" class="btn btn-primary btn-lg">
107-
Visit the Pythia Data Repository
108-
</a>
109-
</span>
110-
111-
<!--
112-
<a href="/gallery.html">
113-
<div id="galleryCarousel" class="carousel carousel-dark slide py-4" data-bs-ride="carousel">
114-
<div class="carousel-indicators">
115-
<button type="button" data-bs-target="#galleryCarousel" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
116-
<button type="button" data-bs-target="#galleryCarousel" data-bs-slide-to="1" aria-label="Slide 2"></button>
117-
<button type="button" data-bs-target="#galleryCarousel" data-bs-slide-to="2" aria-label="Slide 3"></button>
118-
</div>
119-
<div class="carousel-inner">
120-
<div class="carousel-item active">
121-
<img src="_static/images/pexels-brett-sayles-1431822.jpg" height="200" width="400" class="d-block w-100" alt="1"/>
122-
<div class="carousel-caption d-none d-md-block">
123-
<h5>Slide 1</h5>
124-
<p>This is Slide 1.</p>
125-
</div>
126-
</div>
127-
<div class="carousel-item">
128-
<img src="_static/images/pexels-pixabay-209831.jpg" height="200" width="400" class="d-block w-100" alt="2"/>
129-
<div class="carousel-caption d-none d-md-block">
130-
<h5>Slide 2</h5>
131-
<p>This is Slide 2.</p>
132-
</div>
133-
</div>
134-
<div class="carousel-item">
135-
<img src="_static/images/pexels-pixabay-531756.jpg" height="200" width="400" class="d-block w-100" alt="3"/>
136-
<div class="carousel-caption d-none d-md-block">
137-
<h5>Slide 3</h5>
138-
<p>This is Slide 3.</p>
139-
</div>
140-
</div>
141-
</div>
142-
<button class="carousel-control-prev" type="button" data-bs-target="#galleryCarousel" data-bs-slide="prev">
143-
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
144-
<span class="visually-hidden">Previous</span>
145-
</button>
146-
<button class="carousel-control-next" type="button" data-bs-target="#galleryCarousel" data-bs-slide="next">
147-
<span class="carousel-control-next-icon" aria-hidden="true"></span>
148-
<span class="visually-hidden">Next</span>
149-
</button>
150-
</div>
151-
</a>
152-
-->
102+
+++ { "class": "centered"}
153103

154104
## Join us!
155105

@@ -158,11 +108,7 @@ Pythia Team, please reach out to us through the [Project Pythia
158108
category on the Pangeo Discourse forum](https://discourse.pangeo.io/c/education/project-pythia/)
159109
or join us at any of our [Monthly Project Meetings](#monthly-pythia-meetings).
160110

161-
<span class="d-flex justify-content-center pt-1 pb-4">
162-
<a href="https://discourse.pangeo.io/c/education/project-pythia/" role="button" class="btn btn-primary btn-lg">
163-
Go to Pangeo Discourse
164-
</a>
165-
</span>
111+
{button}`Go to Pangeo Discourse<https://discourse.pangeo.io/c/education/project-pythia/>`
166112

167113
### Contributing
168114

@@ -204,7 +150,7 @@ and [Outreach Meetings](https://docs.google.com/document/d/e/2PACX-1vQBAt5B24wig
204150
:::{iframe} https://calendar.google.com/calendar/embed?src=c_4qpvf316afd9mv0ci7d2uiafog%40group.calendar.google.com
205151
:::
206152

207-
153+
+++ { "class": "centered"}
208154
## How to Cite
209155

210156
The material in Project Pythia is licensed for free and open consumption and reuse. All code is served under [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0), while all non-code content is licensed under [Creative Commons BY 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). Effectively, this means you are free to share and adapt this material so long as you give appropriate credit to the Project Pythia community.
@@ -215,16 +161,3 @@ To cite this project, please site our [NSF GEO OSE proposal](https://zenodo.org/
215161
216162
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8184298.svg)](https://doi.org/10.5281/zenodo.8184298)
217163

218-
```{toctree}
219-
---
220-
hidden: True
221-
maxdepth: 1
222-
---
223-
about.md
224-
contributing.md
225-
cookbook-guide.md
226-
code_of_conduct.md
227-
resource-gallery.md
228-
blog.md
229-
metrics.md
230-
```

0 commit comments

Comments
 (0)