Skip to content

Commit

Permalink
fix: various minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Dec 13, 2024
1 parent 6bd626f commit c74c046
Show file tree
Hide file tree
Showing 7 changed files with 113 additions and 261 deletions.
174 changes: 0 additions & 174 deletions FrankenPHP.Alpine.Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion deployment/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ realpath_cache_size = 16M
realpath_cache_ttl = 360
max_input_time = 0
register_argc_argv = 0
memory_limit = 8G
memory_limit = 16G

[Opcache]
opcache.enable = 1
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ services:
- mailpit
- cm
cm:
image: "nfdi4chem/cheminformatics-microservice:dev-latest"
image: "nfdi4chem/cheminformatics-microservice:latest-lite"
environment:
HOMEPAGE_URL: "https://docs.api.naturalproducts.net"
ports:
- "81:80"
- '${API_PORT:-8001}:80'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:81/latest/chem/health"]
interval: 1m30s
Expand Down
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export default defineConfig({
siteTitle: '',

head: [
['link', { rel: "manifest", href: "/coconut/site.webmanifest"}],
['link', { rel: "icon", href: "/coconut/favicon.ico"}],
['link', { rel: "manifest", href: "/site.webmanifest"}],
['link', { rel: "icon", href: "/favicon.ico"}],
['meta', { name: "theme-color", content: "#ffffff"}],
],

Expand Down
168 changes: 95 additions & 73 deletions resources/views/components/welcome.blade.php
Original file line number Diff line number Diff line change
@@ -1,91 +1,113 @@
<div class="p-6 lg:p-8 bg-white border-b border-gray-200">
<x-application-logo class="block h-12 w-auto" />
<div>
<div class="p-6 lg:p-8 bg-white border-b border-gray-200">
<x-application-logo class="block h-12 w-auto" />

<p class="mt-6 text-gray-500 leading-relaxed">
Welcome to our submission portal, where you can easily share and showcase your natural product collections. Whether you're a researcher, enthusiast, or curator, our platform provides a seamless experience for uploading, curating, and publishing your curated collections. With intuitive tools and a user-friendly interface, COCONUT empowers you to share your datasets at ease.
</p>
</div>
<p class="mt-6 text-gray-500 leading-relaxed">
Welcome to our submission portal, where you can easily share and showcase your natural product collections.
Whether you're a researcher, enthusiast, or curator, our platform provides a seamless experience for
uploading, curating, and publishing your curated collections. With intuitive tools and a user-friendly
interface, COCONUT empowers you to share your datasets at ease.
</p>
</div>

<div class="bg-gray-200 bg-opacity-25 grid grid-cols-1 md:grid-cols-2 gap-6 lg:gap-8 p-6 lg:p-8">
<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25" />
</svg>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
<a>Documentation</a>
</h2>
</div>
<div class="bg-gray-200 bg-opacity-25 grid grid-cols-1 md:grid-cols-2 gap-6 lg:gap-8 p-6 lg:p-8">
<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round" stroke-linejoin="round"
d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25" />
</svg>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
<a>Documentation</a>
</h2>
</div>

<p class="mt-4 text-gray-500 text-sm leading-relaxed">
The COCONUT database offers comprehensive documentation that covers every facet of its features. Whether you're a newcomer or seasoned user, we suggest exploring the documentation thoroughly from start to finish to maximize your understanding and utilization of the database.
</p>
<p class="mt-4 text-gray-500 text-sm leading-relaxed">
The COCONUT database offers comprehensive documentation that covers every facet of its features. Whether
you're a newcomer or seasoned user, we suggest exploring the documentation thoroughly from start to
finish to maximize your understanding and utilization of the database.
</p>

<p class="mt-4 text-sm">
<a href="/guidelines" class="inline-flex items-center font-semibold text-indigo-700">
Explore the documentation
<p class="mt-4 text-sm">
<a href="/guidelines" class="inline-flex items-center font-semibold text-indigo-700">
Explore the documentation

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="ms-1 w-5 h-5 fill-indigo-500">
<path fill-rule="evenodd" d="M5 10a.75.75 0 01.75-.75h6.638L10.23 7.29a.75.75 0 111.04-1.08l3.5 3.25a.75.75 0 010 1.08l-3.5 3.25a.75.75 0 11-1.04-1.08l2.158-1.96H5.75A.75.75 0 015 10z" clip-rule="evenodd" />
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="ms-1 w-5 h-5 fill-indigo-500">
<path fill-rule="evenodd"
d="M5 10a.75.75 0 01.75-.75h6.638L10.23 7.29a.75.75 0 111.04-1.08l3.5 3.25a.75.75 0 010 1.08l-3.5 3.25a.75.75 0 11-1.04-1.08l2.158-1.96H5.75A.75.75 0 015 10z"
clip-rule="evenodd" />
</svg>
</a>
</p>
</div>

<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round"
d="M15.75 10.5l4.72-4.72a.75.75 0 011.28.53v11.38a.75.75 0 01-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25h-9A2.25 2.25 0 002.25 7.5v9a2.25 2.25 0 002.25 2.25z" />
</svg>
</a>
</p>
</div>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
<a>API</a>
</h2>
</div>

<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round" d="M15.75 10.5l4.72-4.72a.75.75 0 011.28.53v11.38a.75.75 0 01-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25h-9A2.25 2.25 0 002.25 7.5v9a2.25 2.25 0 002.25 2.25z" />
</svg>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
<a>API</a>
</h2>
</div>
<p class="mt-4 text-gray-500 text-sm leading-relaxed">
With intuitive endpoints and comprehensive documentation, our API empowers developers to harness the
full potential of COCONUT's vast collection of natural product data.
</p>

<p class="mt-4 text-gray-500 text-sm leading-relaxed">
With intuitive endpoints and comprehensive documentation, our API empowers developers to harness the full potential of COCONUT's vast collection of natural product data.
</p>
<p class="mt-4 text-sm">
<a href="/api-documentation" class="inline-flex items-center font-semibold text-indigo-700">
Deep dive now

<p class="mt-4 text-sm">
<a href="/api-documentation" class="inline-flex items-center font-semibold text-indigo-700">
Deep dive now
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="ms-1 w-5 h-5 fill-indigo-500">
<path fill-rule="evenodd"
d="M5 10a.75.75 0 01.75-.75h6.638L10.23 7.29a.75.75 0 111.04-1.08l3.5 3.25a.75.75 0 010 1.08l-3.5 3.25a.75.75 0 11-1.04-1.08l2.158-1.96H5.75A.75.75 0 015 10z"
clip-rule="evenodd" />
</svg>
</a>
</p>
</div>

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="ms-1 w-5 h-5 fill-indigo-500">
<path fill-rule="evenodd" d="M5 10a.75.75 0 01.75-.75h6.638L10.23 7.29a.75.75 0 111.04-1.08l3.5 3.25a.75.75 0 010 1.08l-3.5 3.25a.75.75 0 11-1.04-1.08l2.158-1.96H5.75A.75.75 0 015 10z" clip-rule="evenodd" />
<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round" stroke-linejoin="round"
d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z" />
</svg>
</a>
</p>
</div>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
<a href="/admin/collections">My Submissions</a>
</h2>
</div>

<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z" />
</svg>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
<a href="/admin/collections">My Submissions</a>
</h2>
<p class="mt-4 text-gray-500 text-sm leading-relaxed">
Upload, curate, and publish your natural product collections seamlessly using intuitive tools and a
user-friendly COCONUT interface.
</p>
</div>

<p class="mt-4 text-gray-500 text-sm leading-relaxed">
Upload, curate, and publish your natural product collections seamlessly using intuitive tools and a user-friendly COCONUT interface.
</p>
</div>
<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round" stroke-linejoin="round"
d="M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z" />
</svg>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
Need Help?
</h2>
</div>

<div>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" class="w-6 h-6 stroke-gray-400">
<path stroke-linecap="round" stroke-linejoin="round" d="M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z" />
</svg>
<h2 class="ms-3 text-xl font-semibold text-gray-900">
Need Help?
</h2>
<p class="mt-4 text-gray-500 text-sm leading-relaxed">
Contact us at: [email protected]
<br />
Website: https://cheminf.uni-jena.de/
</p>
</div>

<p class="mt-4 text-gray-500 text-sm leading-relaxed">
Contact us at: [email protected]
<br/>
Website: https://cheminf.uni-jena.de/
</p>
</div>

</div>
Loading

0 comments on commit c74c046

Please sign in to comment.