Skip to content

Commit 7431019

Browse files
committed
Add image attribution, update content
1 parent d907d92 commit 7431019

File tree

3 files changed

+79
-40
lines changed

3 files changed

+79
-40
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ instance/
6464
# Sphinx documentation
6565
docs/_build/
6666
docs/src/.DS_Store
67+
docs/src/img/.DS_Store
68+
docs/src/overrides/.DS_Store
69+
docs/.DS_Store
6770

6871
# PyBuilder
6972
target/

docs/src/overrides/assets/stylesheets/home.css

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,52 @@
4545
padding: 0 1rem;
4646
}
4747

48+
.media-attribution {
49+
position: absolute;
50+
top: 4rem;
51+
right: 1rem;
52+
z-index: 40;
53+
max-width: calc(100% - 2rem);
54+
display: inline-flex;
55+
color: rgb(255, 255, 255);
56+
border-radius: 320rem;
57+
padding: 0rem 0.25rem;
58+
font-size: 0.75rem;
59+
line-height: 1.25rem;
60+
background: rgba(68, 63, 63, 0.32);
61+
overflow: hidden;
62+
}
63+
.media-attribution .twemoji {
64+
font-size: 0.75rem;
65+
height: initial;
66+
}
67+
.media-attribution strong {
68+
display: block;
69+
width: 100%;
70+
max-width: 0px;
71+
overflow: hidden;
72+
font-size: 0.75rem;
73+
font-weight: normal;
74+
white-space: nowrap;
75+
padding: 0rem;
76+
opacity: 0;
77+
transition: all 0.24s ease-in-out 0s;
78+
}
79+
.media-attribution a {
80+
display: flex;
81+
flex-flow: row;
82+
align-items: center;
83+
color: rgb(255, 255, 255);
84+
}
85+
.media-attribution a:hover strong {
86+
white-space: nowrap;
87+
overflow: hidden;
88+
text-overflow: ellipsis;
89+
max-width: 64vw;
90+
padding: 0rem 0.5rem 0rem 0.25rem;
91+
opacity: 1;
92+
color: rgb(255, 255, 255);
93+
}
4894
.tx-hero h1 {
4995
color: currentColor;
5096
font-weight: 700;
@@ -187,8 +233,8 @@ section + section {
187233
margin-bottom: 1rem;
188234
color: var(--md-primary-fg-color);
189235
}
190-
.feature-tout .twemoji:after {
191-
position: absolute;
236+
.feature-tout .twemoji:after {
237+
position: absolute;
192238
background: rgba(207, 63, 2, 0.12);
193239
border-radius: 100%;
194240
padding: 2.5rem;
@@ -290,4 +336,4 @@ section + section {
290336
section + section {
291337
padding: 4rem 0;
292338
}
293-
}
339+
}

docs/src/overrides/home.html

Lines changed: 27 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
<h1>Earth Observation Data at Scale</h1>
1616
<h1>Deployed in minutes</h1>
1717
<p class="lead">eoAPI makes massive earth observation (EO) data archives discoverable and
18-
interoperable. The
19-
fastest
20-
and easiest way to configure and deploy a full Earth Observation stack.</p>
18+
interoperable. The fastest and easiest way to configure, customize, and deploy a full Earth
19+
Observation stack.</p>
2120
<div class="button-wrapper">
2221
<a href="{{ page.next_page.url | url }}" title="Get Started"
2322
class="md-button md-button--primary">
@@ -27,15 +26,20 @@ <h1>Deployed in minutes</h1>
2726
</span>
2827
</a>
2928
<a href="{{ config.repo_url }}" title="EoAPI Github Repo" class="md-button">
30-
View on Github
29+
View on GitHub
3130
<span class="twemoji">
3231
{% include ".icons/simple/github.svg" %}
3332
</span>
3433
</a>
3534

3635
</div>
37-
<span style="display: none;">Photo ©NASA
38-
https://www.flickr.com/photos/nasamarshall/5091372229</span>
36+
<p class="media-attribution"><a title="Learn about the author"
37+
href="https://www.flickr.com/photos/nasamarshall/5091372229"> <span class="twemoji">
38+
{% include ".icons/material/information-outline.svg" %}
39+
</span><strong>Photo
40+
©NASA</strong></a>
41+
</p>
42+
3943
</div>
4044
</div>
4145
</div>
@@ -53,11 +57,9 @@ <h2>State-of-the-art services to enable <mark>data discovery</mark>, <mark>searc
5357
</h2>
5458
</header>
5559
<p class="md-typeset lead">eoAPI presents an open-source and reusable framework for exploiting earth
56-
observation
57-
data. eoAPI takes
58-
the work out of constructing a cloud-native EO infrastructure through a set of intelligent defaults
59-
that
60-
fit most EO and geospatial infrastructure needs.</p>
60+
observation data. eoAPI takes the work out of constructing a cloud-native EO infrastructure through
61+
a set of intelligent defaults that fit most EO and geospatial infrastructure needs. Built with
62+
modularity as a core principal, eoAPI can be easily customized to your specific needs.</p>
6163
</div>
6264
<div class="md-content__inner">
6365
<ul class="feature-grid" style="--cols: 3;">
@@ -75,7 +77,7 @@ <h3>STAC Powered</h3>
7577
<span class="twemoji">
7678
{% include ".icons/material/folder-home.svg" %}
7779
</span>
78-
<h3>Intelligent Defaults</h3>
80+
<h3>Intelligent Customizable Defaults</h3>
7981
<p>Seamless deployment, configuration, and customization, while preserving flexibility.</p>
8082
</article>
8183
</li>
@@ -174,26 +176,17 @@ <h5>
174176
<div class="md-grid" data-md-component="content">
175177
<div class="md-content__inner">
176178
<header class="md-typeset">
177-
<h5 id="eoapi-benefits" class="supheading">eoapi benefits</h5>
178-
<h1>Control and Customization
179-
<a href="#eoapi-benefits" class="headerlink" title="Permanent link"></a>
180-
</h1>
179+
<h5 id="eoapi-benefits" class="supheading">harness eoapi benefits</h5>
181180
</header>
182181
<div class="figure-collection">
183182
<figure>
184183
<a href="how-to-guides/huggingface/pipeline/nlp/translation/">
185184
<img src="https://placehold.co/600x300" alt="Alt text" loading="lazy">
186185
</a>
187186
<figcaption class="md-typeset">
188-
<h2>Download and Deploy Anywhere</h2>
189-
<p>Ingest any STAC Collection. Cambrian explosion radio telescope dream of the mind's eye
190-
something incredible is waiting to be known, astonishment, rich in mystery shores of the
191-
cosmic ocean! The carbon in our apple pies, star stuff harvesting star light something
192-
incredible is waiting to be known realm of the galaxies colonies preserve and cherish
193-
that
194-
pale blue dot. Vangelis, extraplanetary, white dwarf, are creatures of the cosmos star
195-
stuff
196-
harvesting.</p>
187+
<h2>Step 1: Download and Deploy</h2>
188+
<p>Get started by downloading all the eoAPI resources you need. With our easy-to-follow
189+
guides and documentation, you'll have eoAPI up and running in minutes.</p>
197190
</figcaption>
198191
</figure>
199192
<figure>
@@ -202,12 +195,9 @@ <h2>Download and Deploy Anywhere</h2>
202195
<img src="https://placehold.co/600x300" alt="Alt text" loading="lazy">
203196
</a>
204197
<figcaption class="md-typeset">
205-
<h2>Ingest Metadata</h2>
206-
<p>Download eoAPI resources. Deploy in minutes.`The size and age of the Cosmos are beyond
207-
ordinary human understanding. Lost somewhere between immensity and eternity is our tiny
208-
planetary home. In a cosmic perspective, most human concerns seem insignificant, even
209-
petty.
210-
And yet our species is young and curious and brave and shows much promise.
198+
<h2>Step 2: Ingest Your Data</h2>
199+
<p>Whether you're working with raster or vector data, eoAPI's flexible design allows you to
200+
easily ingest STAC Collections.
211201
</p>
212202
</figcaption>
213203
</figure>
@@ -216,11 +206,10 @@ <h2>Ingest Metadata</h2>
216206
<img src="https://placehold.co/600x300" alt="Alt text" loading="lazy">
217207
</a>
218208
<figcaption class="md-typeset">
219-
<h2>Visualize Everything</h2>
220-
<p>A galaxy is composed of gas and dust and stars—billions upon billions of stars. Every
221-
star
222-
may be a sun to someone. Within a galaxy are stars and worlds and, it may be, a
223-
proliferation of living things and intelligent beings and spacefaring civilizations.
209+
<h2>Step 3: Share, Visualize, and Analyze Your Data</h2>
210+
<p>Now that your data is ingested, eoAPI provides you with the tools you need to share,
211+
visualize, and analyze it. From simple sharing options to advanced analytics
212+
capabilities, eoAPI is designed to help you make the most out of your geospatial data.
224213
</p>
225214

226215
</figcaption>
@@ -311,7 +300,8 @@ <h5 class="supheading">Bespoke Solutions</h5>
311300
<h5 class="supheading">Driven by Community</h5>
312301
<p>eoAPI is a community-driven initiative built on collaboration. We welcome your contributions,
313302
feedback, and suggestions. Join the discussion or open a pull request <a
314-
href="https://developmentseed.org/contact" target="_blank" rel="noopener">in the eoAPI
303+
href="https://github.com/developmentseed/eoAPI" target="_blank" rel="noopener">in the
304+
eoAPI
315305
repository</a>
316306
</p>
317307
</div>

0 commit comments

Comments
 (0)