Skip to content

Commit

Permalink
move main page to browse
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanmcreynolds committed Dec 16, 2023
1 parent b5cec75 commit c2c73dd
Showing 1 changed file with 8 additions and 59 deletions.
67 changes: 8 additions & 59 deletions deploy/spin/web-frontend/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,71 +16,20 @@ <h2 class="subtitle">

<section class="section">
<h1 class="title">Funding Acknowledgement</h1>
<h2 class="subtitle">
Use a basic, data-oriented web interface to navigate Tiled.
</h2>
<p class="box">
This research is based upon work supported by the U.S. Department of Energy, Office of Science, Office Basic Energy Sciences, under Award Number FWP PS-030. This research used resources of the Center for Functional Nanomaterials (CFN), which is a U.S. Department of Energy Office of Science User Facility, at Brookhaven National Laboratory under Contract No. DE-SC0012704.
</a>

</div>
<div class = "container">
<section class="section">
<h1 class="title">Explore from your web browser</h1>
<h2 class="subtitle">
Use a basic, data-oriented web interface to navigate Tiled.
</h2>
<a href="ui/browse/" target="_blank" rel="noreferrer">
<button class="button is-large is-responsive is-link">
Try it
</button>
</a>
</section>
<section class="section">
<h1 class="title">Explore from Python</h1>
<h2 class="subtitle">
Install and use Tiled's Python client from Python, IPython, or Jupyter.
</h2>
<pre><code>$ pip install "tiled[client]"
$ python
>>> from tiled.client import from_uri
>>> client = from_uri("{{ root_url }}")</code></pre>
{% if binder_link %}
Alternatively, try it in the cloud on <a href="{{ binder_link }}" target="_blank" rel="noreferrer">Binder</a>.
{% endif %}
</section>
<section class="section">
<h1 class="title">Explore the API</h1>
<h2 class="subtitle">
Tiled includes interactive <em>OpenAPI</em> documentation you can use in your web browser.
</h2>
<p class="box">
The Tiled API can be accessed from any Internet-connected software,
including graphical programs that accept URLs and commandline
utilities like <code>wget</code> and <code>curl</code>.
</p>
<a href="{{ root_url }}/docs" target="_blank" rel="noreferrer">
<button class="button is-large is-responsive is-link">
Try it
</button>
</a>
</section>

<div>
<section class="section">
<h1 class="title">Learn</h1>
<h1 class="title">Usage</h1>
<h2 class="subtitle">
<p>
For tutorials, guides, and more details, see Tiled's project documentation.
</p>
</h2>
<p class="box">
Like Jupyter Notebook, Tiled is something you can easily run yourself, on your laptop.
Tiled can also scale up for large multi-user deployment, like JupyterHub.
</p>
<a href="https://blueskyproject.io/tiled/" target="_blank" rel="noreferrer">
<button class="button is-large is-responsive is-link">
Read
</button>
</a>
</section>
The database can be browsed by navigating to the
<a href="{{ root_url }}/browse.html" target="_blank" rel="noreferrer">
Try it
</a>
page. This page allows you to nagivate datasets.
</div>
{% endblock %}

0 comments on commit c2c73dd

Please sign in to comment.