diff --git a/app/Livewire/Download.php b/app/Livewire/Download.php index 71d06f8a..779bfb83 100644 --- a/app/Livewire/Download.php +++ b/app/Livewire/Download.php @@ -2,10 +2,14 @@ namespace App\Livewire; +use Livewire\Attributes\Layout; use Livewire\Component; class Download extends Component { + public $terms = ''; + + #[Layout('layouts.guest')] public function render() { return view('livewire.download'); diff --git a/resources/views/layouts/guest.blade.php b/resources/views/layouts/guest.blade.php index 533cdafd..13aaa744 100644 --- a/resources/views/layouts/guest.blade.php +++ b/resources/views/layouts/guest.blade.php @@ -31,7 +31,6 @@ @livewireStyles -
diff --git a/resources/views/livewire/download.blade.php b/resources/views/livewire/download.blade.php index d5f5aa42..97811c7c 100644 --- a/resources/views/livewire/download.blade.php +++ b/resources/views/livewire/download.blade.php @@ -1,3 +1,51 @@ -
- {{-- The best athlete wants his opponent at his best. --}} +
+
+
+

+ Download +

+

Version: August 2024

+
+
+
+

+

The data is released under the Creative + Commons CC0 license, allowing for free use, modification, and distribution without any + restrictions. No attribution is required when utilizing this data.

+ +
+
+
Download Natural + Products Structures in SDF
+
+
+ +
+
+
+
Download the complete + COCONUT dataset as a PostgreSQL dump +
+
+
+ Download +
+
+
+
Download Natural + Products Structures in CSV format
+
+
+ Download +
+
+
+
+
+
+
+
diff --git a/routes/web.php b/routes/web.php index 7ca4012e..8b8cc00c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -3,6 +3,7 @@ use App\Http\Controllers\Auth\SocialController; use App\Livewire\About; use App\Livewire\CollectionList; +use App\Livewire\Download; use App\Livewire\Guides; use App\Livewire\MoleculeDetails; use App\Livewire\Policy; @@ -34,6 +35,7 @@ Route::get('/terms', Terms::class); Route::get('/guidelines', Guides::class); Route::get('/about', About::class); +Route::get('/download', Download::class); Route::get('/collections', CollectionList::class)->name('collections.index');