Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/NFDI4Chem/nmrxiv int…
Browse files Browse the repository at this point in the history
…o development
  • Loading branch information
NishaSharma14 committed Jan 23, 2024
2 parents 04939f5 + 570455b commit a81d8c8
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 15 deletions.
83 changes: 69 additions & 14 deletions resources/js/Pages/Welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@
>
Compounds
</Link>
<a
target="_blank"
href="https://docs.nmrxiv.org"
class="text-base font-medium text-gray-500 hover:text-gray-900"
>
Docs
</a>
</PopoverGroup>
<!-- <div
Expand Down Expand Up @@ -180,13 +173,6 @@
>
Compounds
</Link>
<a
target="_blank"
href="https://docs.nmrxiv.org"
class="text-base font-medium text-gray-900 hover:text-gray-700"
>
Docs
</a>
</div>
<div class="mt-6">
<Link
Expand Down Expand Up @@ -259,6 +245,75 @@
</Link>
</div>
</div>
<div class="flex justify-center">
<div
class="mt-8 flex flex-wrap justify-center gap-x-1 gap-y-3 sm:gap-x-2 lg:justify-start"
>
<a
class="flex-none group relative isolate flex items-center rounded-lg px-2 py-0.5 text-[0.8125rem]/6 font-medium text-dark/30 transition-colors hover:text-sky-300 gap-x-3"
href="https://docs.nmrxiv.org"
target="_blank"
><span
class="absolute inset-0 -z-10 scale-75 rounded-lg bg-white/5 opacity-0 transition group-hover:scale-100 group-hover:opacity-100"
></span
><svg
viewBox="0 0 16 16"
aria-hidden="true"
fill="currentColor"
class="h-4 w-4 flex-none"
>
<path
d="M7 3.41a1 1 0 0 0-.668-.943L2.275 1.039a.987.987 0 0 0-.877.166c-.25.192-.398.493-.398.812V12.2c0 .454.296.853.725.977l3.948 1.365A1 1 0 0 0 7 13.596V3.41ZM9 13.596a1 1 0 0 0 1.327.946l3.948-1.365c.429-.124.725-.523.725-.977V2.017c0-.32-.147-.62-.398-.812a.987.987 0 0 0-.877-.166L9.668 2.467A1 1 0 0 0 9 3.41v10.186Z"
></path></svg
><span class="self-baseline text-dark"
>Documentation</span
></a
><a
class="flex-none group relative isolate flex items-center rounded-lg px-2 py-0.5 text-[0.8125rem]/6 font-medium text-dark/30 transition-colors hover:text-sky-300 gap-x-3"
href="https://github.com/NFDI4Chem/nmrxiv"
><span
class="absolute inset-0 -z-10 scale-75 rounded-lg bg-white/5 opacity-0 transition group-hover:scale-100 group-hover:opacity-100"
></span
><svg
viewBox="0 0 16 16"
aria-hidden="true"
fill="currentColor"
class="h-4 w-4 flex-none"
>
<path
d="M8 .198a8 8 0 0 0-8 8 7.999 7.999 0 0 0 5.47 7.59c.4.076.547-.172.547-.384 0-.19-.007-.694-.01-1.36-2.226.482-2.695-1.074-2.695-1.074-.364-.923-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.224 1.873.87 2.33.666.072-.518.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.954 0-.873.31-1.586.823-2.146-.09-.202-.36-1.016.07-2.118 0 0 .67-.214 2.2.82a7.67 7.67 0 0 1 2-.27 7.67 7.67 0 0 1 2 .27c1.52-1.034 2.19-.82 2.19-.82.43 1.102.16 1.916.08 2.118.51.56.82 1.273.82 2.146 0 3.074-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38A7.972 7.972 0 0 0 16 8.199a8 8 0 0 0-8-8Z"
></path></svg
><span class="self-baseline text-dark"
>GitHub</span
></a
><a
class="flex-none group relative isolate flex items-center rounded-lg px-2 py-0.5 text-[0.8125rem]/6 font-medium text-dark/30 transition-colors hover:text-sky-300 gap-x-3"
href="https://nmrxiv.org/api/documentation"
target="_blank"
><span
class="absolute inset-0 -z-10 scale-75 rounded-lg bg-white/5 opacity-0 transition group-hover:scale-100 group-hover:opacity-100"
></span>

<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"
/>
</svg>
<span class="self-baseline text-dark"
>API</span
></a
>
</div>
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Shared/Publish.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div v-if="project.validation_status">
<a
:href="'/publish/' + project.id"
:href="'/publish/' + project.draft_id"
class="ml-4 inline-flex items-center justify-center whitespace-nowrap rounded-md border border-transparent bg-indigo-700 px-4 py-2 text-base font-medium text-white shadow-sm"
>
Publish
Expand Down

0 comments on commit a81d8c8

Please sign in to comment.