-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rename ListItem -> CardComponent - add ListComponent and ListItem for timelines
- Loading branch information
Showing
12 changed files
with
212 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script setup lang="ts"> | ||
import { FwbCard } from "flowbite-vue"; | ||
defineProps({ | ||
title: String, | ||
img: String, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div class="flex mb-4 justify-center !max-w-full"> | ||
<fwb-card :img-src="img" variant="horizontal" href=""> | ||
<div class="p-5"> | ||
<h5 | ||
class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white" | ||
> | ||
{{ title }} | ||
</h5> | ||
<p class="font-normal text-gray-700 dark:text-gray-400"> | ||
<slot></slot> | ||
</p> | ||
</div> | ||
</fwb-card> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<script setup lang="ts"> | ||
import { FwbTimeline } from "flowbite-vue"; | ||
</script> | ||
|
||
<template> | ||
<fwb-timeline> | ||
<slot></slot> | ||
</fwb-timeline> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
<script setup lang="ts"> | ||
import { FwbCard } from "flowbite-vue"; | ||
import { | ||
FwbTimelineBody, | ||
FwbTimelineContent, | ||
FwbTimelineItem, | ||
FwbTimelinePoint, | ||
FwbTimelineTitle, | ||
} from "flowbite-vue"; | ||
defineProps({ | ||
title: String, | ||
img: String, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div class="flex mb-4 justify-center !max-w-full"> | ||
<fwb-card :img-src="img" variant="horizontal" href=""> | ||
<div class="p-5"> | ||
<h5 | ||
class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white" | ||
> | ||
{{ title }} | ||
</h5> | ||
<p class="font-normal text-gray-700 dark:text-gray-400"> | ||
<slot></slot> | ||
</p> | ||
</div> | ||
</fwb-card> | ||
</div> | ||
<fwb-timeline-item> | ||
<fwb-timeline-point> | ||
<img src="/logo.png" alt="predicTCR" /> | ||
</fwb-timeline-point> | ||
<fwb-timeline-content> | ||
<fwb-timeline-title>{{ title }}</fwb-timeline-title> | ||
<fwb-timeline-body> | ||
<slot></slot> | ||
</fwb-timeline-body> | ||
</fwb-timeline-content> | ||
</fwb-timeline-item> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
<script setup lang="ts"> | ||
import { | ||
FwbA, | ||
FwbJumbotron, | ||
FwbButton, | ||
FwbTimeline, | ||
FwbTimelineBody, | ||
FwbTimelineContent, | ||
FwbTimelineItem, | ||
FwbTimelinePoint, | ||
FwbTimelineTitle, | ||
FwbModal, | ||
} from "flowbite-vue"; | ||
import { FwbA, FwbJumbotron, FwbButton, FwbModal } from "flowbite-vue"; | ||
import { ref } from "vue"; | ||
import ListComponent from "@/components/ListComponent.vue"; | ||
import ListItem from "@/components/ListItem.vue"; | ||
import LoginComponent from "@/components/LoginComponent.vue"; | ||
import SignupComponent from "@/components/SignupComponent.vue"; | ||
import { RouterLink } from "vue-router"; | ||
|
@@ -56,79 +47,43 @@ function openModalSignup() { | |
</div> | ||
</fwb-jumbotron> | ||
<div class="p-4"> | ||
<fwb-timeline> | ||
<fwb-timeline-item> | ||
<fwb-timeline-point> | ||
<img src="/logo.png" /> | ||
</fwb-timeline-point> | ||
<fwb-timeline-content> | ||
<fwb-timeline-title> About </fwb-timeline-title> | ||
<fwb-timeline-body> | ||
Based on code from the | ||
<fwb-a href="https://www.dkfz.de/" target="_blank">DKFZ</fwb-a>. | ||
Read our paper at | ||
<fwb-a | ||
href="https://www.nature.com/articles/s41587-024-02161-y" | ||
target="_blank" | ||
>Nature Biotechnology</fwb-a | ||
> | ||
</fwb-timeline-body> | ||
</fwb-timeline-content> | ||
</fwb-timeline-item> | ||
<fwb-timeline-item> | ||
<fwb-timeline-point> | ||
<img src="/logo.png" /> | ||
</fwb-timeline-point> | ||
<fwb-timeline-content> | ||
<fwb-timeline-title> Feedback </fwb-timeline-title> | ||
<fwb-timeline-body> | ||
<p> | ||
Questions or feedback about this service are welcome at | ||
<fwb-a href="mailto:[email protected]">[email protected]</fwb-a> | ||
</p> | ||
</fwb-timeline-body> | ||
</fwb-timeline-content> | ||
</fwb-timeline-item> | ||
<fwb-timeline-item> | ||
<fwb-timeline-point> | ||
<img src="/logo.png" /> | ||
</fwb-timeline-point> | ||
<fwb-timeline-content> | ||
<fwb-timeline-title> References </fwb-timeline-title> | ||
<fwb-timeline-body> | ||
<p> | ||
The | ||
<fwb-a href="https://github.com/ssciwr/predicTCR" | ||
>predicTCR web service</fwb-a | ||
> | ||
was developed by the | ||
<fwb-a href="https://ssc.iwr.uni-heidelberg.de/" | ||
>Scientific Software Center</fwb-a | ||
> | ||
of Heidelberg University. | ||
</p> | ||
</fwb-timeline-body> | ||
</fwb-timeline-content> | ||
</fwb-timeline-item> | ||
<fwb-timeline-item> | ||
<fwb-timeline-point> | ||
<img src="/logo.png" /> | ||
</fwb-timeline-point> | ||
<fwb-timeline-content> | ||
<fwb-timeline-title> Funding </fwb-timeline-title> | ||
<fwb-timeline-body> | ||
<div class="flex flex-col md:flex-row"> | ||
<a href="https://dktk.dkfz.de/" | ||
><img class="h-8 m-2 md:pr-5" src="/dktk.jpg" alt="DKTK" | ||
/></a> | ||
<a href="https://www.dkfz.de/" | ||
><img class="h-8 m-2" src="/dkfz.png" alt="DKFZ" | ||
/></a> | ||
</div> | ||
</fwb-timeline-body> | ||
</fwb-timeline-content> | ||
</fwb-timeline-item> | ||
</fwb-timeline> | ||
<ListComponent> | ||
<ListItem title="About"> | ||
Based on code from the | ||
<fwb-a href="https://www.dkfz.de/" target="_blank">DKFZ</fwb-a>. Read | ||
our paper at | ||
<fwb-a | ||
href="https://www.nature.com/articles/s41587-024-02161-y" | ||
target="_blank" | ||
>Nature Biotechnology</fwb-a | ||
> | ||
</ListItem> | ||
<ListItem title="Feedback"> | ||
Questions or feedback about this service are welcome at | ||
<fwb-a href="mailto:[email protected]">[email protected]</fwb-a> | ||
</ListItem> | ||
<ListItem title="References"> | ||
The | ||
<fwb-a href="https://github.com/ssciwr/predicTCR" | ||
>predicTCR web service</fwb-a | ||
> | ||
was developed by the | ||
<fwb-a href="https://ssc.iwr.uni-heidelberg.de/" | ||
>Scientific Software Center</fwb-a | ||
> | ||
of Heidelberg University. | ||
</ListItem> | ||
<ListItem title="Funding"> | ||
<div class="flex flex-col md:flex-row"> | ||
<a href="https://dktk.dkfz.de/" | ||
><img class="h-8 m-2 md:pr-5" src="/dktk.jpg" alt="DKTK" | ||
/></a> | ||
<a href="https://www.dkfz.de/" | ||
><img class="h-8 m-2" src="/dkfz.png" alt="DKFZ" | ||
/></a> | ||
</div> | ||
</ListItem> | ||
</ListComponent> | ||
</div> | ||
</main> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.