forked from geolba/tethys.frontend
Initial test comments added. Some original commented code deleted
This commit is contained in:
parent
d75ab4f367
commit
3dbb04d737
4 changed files with 22 additions and 15 deletions
|
@ -11,6 +11,9 @@ import { Suggestion } from "@/models/dataset";
|
|||
export default class HomeViewComponent extends Vue {
|
||||
public display = "";
|
||||
|
||||
/* This method is called when a search suggestion is selected. It takes a parameter suggestion which can be either a Suggestion object or a string.
|
||||
If it's a string, the method extracts the term and navigates to the "Search" route with the term as a parameter. If it's a Suggestion object, it extracts
|
||||
the value and type from the suggestion and navigates to the "Search" route with both parameters.*/
|
||||
onSearch(suggestion: Suggestion | string): void {
|
||||
let term;
|
||||
if (typeof suggestion === "string") {
|
||||
|
@ -22,6 +25,7 @@ export default class HomeViewComponent extends Vue {
|
|||
}
|
||||
}
|
||||
|
||||
/* This method is called when the user initiates a search. It navigates to the "Search" route with the display property as a parameter. */
|
||||
search(): void {
|
||||
this.$router.push({ name: "Search", params: { display: this.display } });
|
||||
}
|
||||
|
|
|
@ -18,13 +18,6 @@
|
|||
</a>
|
||||
</div> -->
|
||||
|
||||
<!-- <div class="column">
|
||||
<div class="col text-center py-3">
|
||||
<h1>Tethys Research Data Repository</h1>
|
||||
<p class="lead">Data Publisher for Geoscience Austria</p>
|
||||
<hr class="center-line" />
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="column">
|
||||
<div class="col text-center py-3">
|
||||
<h1>Tethys Research Data Repository</h1>
|
||||
|
@ -213,7 +206,7 @@
|
|||
<!-- <div class="columns is-mobile partner-logos"> -->
|
||||
<div class="columns">
|
||||
<div class="column col-sm">
|
||||
<div class="card mx-auto" style="width: 18rem; border: 0rem">
|
||||
<div class="card mx-auto" style="width: 18rem; box-shadow: none; border: 0rem">
|
||||
<div class="card-body">
|
||||
<!-- <h5 class="card-title">About TETHYS</h5> -->
|
||||
<a target="_blank" href="https://www.re3data.org/repository/r3d100013400">
|
||||
|
@ -223,7 +216,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="column col-sm">
|
||||
<div class="card mx-auto" style="width: 28rem; border: 0rem">
|
||||
<div class="card mx-auto" style="width: 28rem; box-shadow: none; border: 0rem">
|
||||
<div class="card-body">
|
||||
<a target="_blank" href="http://www.geosphere.at/">
|
||||
<img src="@/assets/site/img/geosphere-austria-logo.jpg" alt="logo geosphere austria" />
|
||||
|
@ -232,7 +225,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="column col-sm">
|
||||
<div class="card mx-auto" style="width: 18rem; border: 0rem">
|
||||
<div class="card mx-auto" style="width: 18rem; box-shadow: none; border: 0rem">
|
||||
<div class="card-body">
|
||||
<a target="_blank" href="https://www.base-search.net/Search/Results?q=coll:fttethysrdr&refid=dctablede">
|
||||
<img src="@/assets/site/img/base_logo.png" alt="logo base" />
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue