Skip to content

Commit

Permalink
feat: draft about page and landing page logos updated
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Jun 14, 2024
1 parent 94a459e commit 003ef67
Show file tree
Hide file tree
Showing 14 changed files with 1,018 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class BioschemasController extends Controller
* @param Illuminate\Http\Request $request
* @param App\Models\User $username
* @param App\Models\Project $projectName
* @param App\Models\Study $studyName Optional
* @param App\Models\Dataset $datasetName Optional
* @param App\Models\Study $studyName Optional
* @param App\Models\Dataset $datasetName Optional
* @return object
*/
/**
Expand Down
2 changes: 1 addition & 1 deletion app/Services/DOI/DataCite.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function createDOI($suffix, $metadata = [])
*
* @param string $doi
* @param array $metadata
* @return array $contents
* @return array $contents
*/
public function updateDOI($doi, $metadata = [])
{
Expand Down
Binary file added public/img/about1.jpeg
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 public/img/about2.jpeg
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 public/img/about3.jpeg
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 public/img/about4.jpeg
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 public/img/about5.jpeg
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 public/img/ct.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 public/img/journals.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 public/img/uic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
956 changes: 956 additions & 0 deletions resources/js/Pages/About.vue

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/Pages/Publish.vue
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
<Datepicker
v-model="publishForm.release_date"
@update:modelValue="updateProject"
:min-date="new Date()"
:min-date="new Date()"
></Datepicker>
<p class="mt-1 text-sm text-gray-500">
Publish your data now immediately or set a
Expand Down
55 changes: 47 additions & 8 deletions resources/js/Pages/Welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
>
Compounds
</Link>
<Link
href="/about-us"
class="text-base font-medium text-gray-500 hover:text-gray-900"
>
About
</Link>
</PopoverGroup>
<!-- <div
Expand Down Expand Up @@ -340,7 +346,8 @@
class="text-center text-lg font-semibold leading-8 text-gray-900"
>
Recommended by leading journals as the
community-trusted repository for NMR data deposition.
community-trusted repository for NMR data
deposition.
</h2>
<div
class="mx-auto mt-10 grid max-w-lg grid-cols-2 md:grid-cols-4 items-center gap-x-8 gap-y-10"
Expand Down Expand Up @@ -707,39 +714,55 @@
</div>
</div>
</div>
<div class="bg-gray-50 border-t border-b border-gray-100">
<div class="bg-white border-t border-b border-gray-100">
<div
class="max-w-7xl mx-auto content-center py-16 px-4 sm:px-6 lg:px-8"
>
<p
class="text-center text-sm font-semibold uppercase text-gray-600 tracking-wide"
></p>
<div class="mt-6 grid grid-cols-3 gap-8">
<div class="mt-6 grid grid-cols-6 gap-8">
<div
class="col-span-3 md:col-span-1 flex justify-center"
class="col-span-3 md:col-span-2 flex justify-center"
>
<a
target="_blank"
href="https://cheminf.uni-jena.de/"
>
<img
class="h-12"
class="w-48"
src="https://www.uni-jena.de/unijenamedia/universitaet/abteilung-hochschulkommunikation/marketing/wort-bildmarke-universitaet-jena.jpg?height=335&width=1000"
alt="FSU Jena"
/>
</a>
</div>
<div
class="col-span-3 md:col-span-1 flex justify-center"
class="col-span-3 md:col-span-2 flex justify-center"
>
<a target="_blank" href="https://www.nfdi4chem.de/">
<img
class="h-12"
class="w-64"
src="/img/nmrxiv-logo.png"
alt="NFDI4Chem"
/>
</a>
</div>
<div
class="col-span-3 md:col-span-2 flex justify-center"
>
<a target="_blank" href="https://pharmacy.uic.edu/">
<img
class="w-64"
src="/img/uic.png"
alt="UIC"
/>
</a>
</div>
</div>
<div class="mt-12 grid grid-cols-4 gap-8">
<div
class="col-span-3 md:col-span-1 flex justify-center"
></div>
<div
class="col-span-3 md:col-span-1 flex justify-center"
>
Expand All @@ -751,6 +774,19 @@
/>
</a>
</div>
<div
class="col-span-3 md:col-span-1 flex justify-center"
>
<a
target="_blank"
href="https://ctb.nmrsolutions.fi/login?returnUrl=~dashboard"
>
<img class="h-14" src="/img/ct.png" alt="CT" />
</a>
</div>
<div
class="col-span-3 md:col-span-1 flex justify-center"
></div>
</div>
</div>
</div>
Expand Down Expand Up @@ -789,7 +825,10 @@
</div>
</main>

<footer class="bg-gray-50" aria-labelledby="footer-heading">
<footer
class="bg-white border-t border-gray-100"
aria-labelledby="footer-heading"
>
<h2 id="footer-heading" class="sr-only">Footer</h2>
<div
class="max-w-7xl mx-auto pt-16 pb-8 px-4 sm:px-6 lg:pt-24 lg:px-8"
Expand Down
11 changes: 11 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@
// }
})->name('landing');

Route::get('/about-us', function () {
return Inertia::render('About', [
'projects' => Cache::rememberForever('stats.projects', function () {
return Project::where('is_public', true)->get()->count();
}),
'compounds' => Cache::rememberForever('stats.compounds', function () {
return Molecule::whereNotNull('identifier')->get()->count();
}),
]);
})->name('about');

Route::supportBubble();

Route::impersonate();
Expand Down

0 comments on commit 003ef67

Please sign in to comment.