Skip to content

Commit

Permalink
Fix providers logos, polish footer and other captions
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed May 30, 2022
1 parent 8d28e42 commit de17569
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 4 deletions.
Binary file modified src/assets/providers/COD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/providers/TCO.png
Binary file not shown.
Binary file added src/assets/providers/TCOD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/providers/aflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/providers/jarvis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/views/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Col>
This <a href="https://github.com/tilde-lab/optimade.science" target="_blank">open-source</a>
app is possible thanks to the
<a href="http://www.optimade.org" target="_blank">OPTIMADE</a> standard &mdash; Open Databases Integration for Materials Design.
<a href="http://www.optimade.org" target="_blank">OPTIMADE</a> standard.<br />No cookies or trackers are used.
</Col>
<Col col="auto">
<Switch bind:value={$darkTheme}>Dark theme</Switch>
Expand Down
2 changes: 1 addition & 1 deletion src/views/ModuleSelect/ModuleSelect.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{#await $modules then options}
<Select {options} bind:value={selectedValue} placeholder="Select app or enter app URL" style="margin: 0 0 1em" />
<Select {options} bind:value={selectedValue} placeholder="Select app" style="margin: 0 0 1em" />
{/await}

<script lang="ts" context="module">
Expand Down
8 changes: 6 additions & 2 deletions src/views/Providers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@
// @ts-ignore
import OPT from '@/assets/providers/OPT.png';
// @ts-ignore
import TCO from '@/assets/providers/TCO.png';
import TCOD from '@/assets/providers/TCOD.png';
// @ts-ignore
import DM2 from '@/assets/providers/DM2.png';
// @ts-ignore
import aflow from '@/assets/providers/aflow.png';
// @ts-ignore
import jarvis from '@/assets/providers/jarvis.png';
import type { Types } from 'optimade';
Expand All @@ -78,7 +82,7 @@
exclusiveId: null,
augmentationMode = false;
const logos: Logos = { COD: COD, MP: MP, MPDS: MPDS, NMD: NMD, OPT: OPT, TCO: TCO, '2DM': DM2 };
const logos: Logos = { AFL: aflow, COD: COD, JAR: jarvis, MP: MP, MPDS: MPDS, NMD: NMD, OPT: OPT, TCO: TCOD, '2DM': DM2 };
function statusing(item: Types.Provider) {
return $selectedProviders.includes(item.id) ? 'online' : 'offline';
Expand Down

0 comments on commit de17569

Please sign in to comment.