Skip to content

Commit 5acdee7

Browse files
committed
Prototype idea
1 parent 9514827 commit 5acdee7

File tree

1 file changed

+247
-0
lines changed

1 file changed

+247
-0
lines changed

index.html

Lines changed: 247 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,248 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Monash Genomics & Bioinformatics Platform - GitHub Projects</title>
7+
<!-- Tailwind CSS from CDN -->
8+
<script src="https://cdn.tailwindcss.com"></script>
9+
<!-- Vue.js from CDN -->
10+
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
11+
<script>
12+
tailwind.config = {
13+
theme: {
14+
extend: {
15+
colors: {
16+
monash: '#005F9A',
17+
}
18+
}
19+
}
20+
}
21+
</script>
22+
<style type="text/tailwindcss">
23+
@layer components {
24+
.repo-card {
25+
@apply bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:shadow-lg hover:scale-105;
26+
}
27+
.repo-card-header {
28+
@apply bg-monash text-white px-4 py-3 font-bold text-xl;
29+
}
30+
.repo-card-body {
31+
@apply p-4;
32+
}
33+
.repo-name {
34+
@apply text-gray-700 mb-3 font-mono text-sm;
35+
}
36+
.repo-image {
37+
@apply bg-gray-100 h-40 w-full flex items-center justify-center mb-3 rounded;
38+
}
39+
.section-header {
40+
@apply text-2xl font-bold text-monash mb-6 mt-12 border-b-2 border-monash pb-2;
41+
}
42+
}
43+
</style>
44+
</head>
45+
<body class="bg-gray-50 min-h-screen">
46+
<div id="app">
47+
<header class="bg-monash text-white py-10">
48+
<div class="container mx-auto px-4">
49+
<h1 class="text-4xl font-bold">Monash Genomics & Bioinformatics Platform</h1>
50+
<p class="text-xl mt-2">Open Source GitHub Projects</p>
51+
</div>
52+
</header>
153

54+
<main class="container mx-auto px-4 py-8">
55+
<!-- Web apps and dashboards -->
56+
<section>
57+
<h2 class="section-header">Web Apps and Dashboards</h2>
58+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
59+
<repo-tile
60+
v-for="repo in webApps"
61+
:key="repo.name"
62+
:title="repo.title"
63+
:repo-name="repo.repoName"
64+
:description="repo.description"
65+
:url="repo.url"
66+
:repo-image="repo.repoImage">
67+
</repo-tile>
68+
</div>
69+
</section>
70+
71+
<!-- Commandline tools -->
72+
<section>
73+
<h2 class="section-header">Commandline Tools</h2>
74+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
75+
<repo-tile
76+
v-for="repo in commandlineTools"
77+
:key="repo.name"
78+
:title="repo.title"
79+
:repo-name="repo.repoName"
80+
:description="repo.description"
81+
:url="repo.url"
82+
:repo-image="repo.repoImage">
83+
</repo-tile>
84+
</div>
85+
</section>
86+
87+
<!-- Data Analysis -->
88+
<section>
89+
<h2 class="section-header">Data Analysis Tools</h2>
90+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
91+
<repo-tile
92+
v-for="repo in dataAnalysisTools"
93+
:key="repo.name"
94+
:title="repo.title"
95+
:repo-name="repo.repoName"
96+
:description="repo.description"
97+
:url="repo.url"
98+
:repo-image="repo.repoImage">
99+
</repo-tile>
100+
</div>
101+
</section>
102+
103+
<!-- Empty sections for future additions -->
104+
<section>
105+
<h2 class="section-header">Pipelines</h2>
106+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
107+
<div class="flex items-center justify-center p-8 bg-gray-100 rounded-lg">
108+
<p class="text-gray-500 italic">Future pipelines will be listed here</p>
109+
</div>
110+
</div>
111+
</section>
112+
113+
<section>
114+
<h2 class="section-header">Training & Workshops</h2>
115+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
116+
<div class="flex items-center justify-center p-8 bg-gray-100 rounded-lg">
117+
<p class="text-gray-500 italic">Future training materials will be listed here</p>
118+
</div>
119+
</div>
120+
</section>
121+
122+
<section>
123+
<h2 class="section-header">Open Analysis Projects</h2>
124+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
125+
<div class="flex items-center justify-center p-8 bg-gray-100 rounded-lg">
126+
<p class="text-gray-500 italic">Future analysis projects will be listed here</p>
127+
</div>
128+
</div>
129+
</section>
130+
</main>
131+
132+
<footer class="bg-gray-800 text-white py-8">
133+
<div class="container mx-auto px-4">
134+
<div class="flex flex-col md:flex-row justify-between items-center">
135+
<div class="mb-4 md:mb-0">
136+
<h3 class="text-xl font-bold">Monash Bioinformatics Platform</h3>
137+
<p class="mt-2">Providing bioinformatics support and solutions</p>
138+
</div>
139+
<div>
140+
<a href="https://github.com/MonashBioinformaticsPlatform" target="_blank" class="inline-flex items-center text-white hover:text-gray-300">
141+
<svg class="h-6 w-6 mr-2" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
142+
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd"></path>
143+
</svg>
144+
GitHub Organization
145+
</a>
146+
</div>
147+
</div>
148+
<div class="mt-8 pt-8 border-t border-gray-700 text-center text-sm text-gray-400">
149+
© 2023 Monash Bioinformatics Platform. All rights reserved.
150+
</div>
151+
</div>
152+
</footer>
153+
</div>
154+
155+
<!-- Vue Component Templates -->
156+
<script type="text/x-template" id="repo-tile-template">
157+
<a :href="url" target="_blank" class="repo-card">
158+
<div class="repo-card-header">{{ title }}</div>
159+
<div class="repo-card-body">
160+
<div class="repo-name">{{ repoName }}</div>
161+
<div class="repo-image">
162+
<img v-if="repoImage" :src="repoImage" :alt="title" class="h-full w-full object-contain">
163+
<svg v-else xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="h-12 w-12 text-gray-400">
164+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" />
165+
</svg>
166+
</div>
167+
<p class="text-gray-600">{{ description }}</p>
168+
</div>
169+
</a>
170+
</script>
171+
172+
<!-- Vue.js Application Code -->
173+
<script>
174+
// Define the repo-tile component
175+
const { createApp } = Vue;
176+
177+
const app = createApp({
178+
data() {
179+
return {
180+
webApps: [
181+
{
182+
title: 'LFQ-Analyst',
183+
repoName: 'MonashBioinformaticsPlatform/LFQ-Analyst',
184+
description: 'A web application for analyzing label-free quantitation proteomics data',
185+
url: 'https://github.com/MonashBioinformaticsPlatform/LFQ-Analyst',
186+
repoImage: 'https://github.com/MonashBioinformaticsPlatform/LFQ-Analyst/raw/master/www/LFQ_analyst.svg'
187+
},
188+
{
189+
title: 'Laxy',
190+
repoName: 'MonashBioinformaticsPlatform/laxy',
191+
description: 'A web platform for running bioinformatics analyses in the cloud',
192+
url: 'https://github.com/MonashBioinformaticsPlatform/laxy',
193+
repoImage: 'https://github.com/MonashBioinformaticsPlatform/laxy/raw/master/docs/screenshots/job_page.png'
194+
}
195+
],
196+
commandlineTools: [
197+
{
198+
title: 'Bio-Ansible',
199+
repoName: 'MonashBioinformaticsPlatform/bio-ansible',
200+
description: 'Ansible playbooks for setting up bioinformatics environments',
201+
url: 'https://github.com/MonashBioinformaticsPlatform/bio-ansible',
202+
repoImage: null
203+
},
204+
{
205+
title: 'Rocker-Ultra',
206+
repoName: 'MonashBioinformaticsPlatform/rocker-ultra',
207+
description: 'Extended Docker containers for R-based bioinformatics',
208+
url: 'https://github.com/MonashBioinformaticsPlatform/rocker-ultra',
209+
repoImage: null
210+
}
211+
],
212+
dataAnalysisTools: [
213+
{
214+
title: 'Varistran',
215+
repoName: 'MonashBioinformaticsPlatform/varistran',
216+
description: 'Variance-stabilizing transformation for RNA-seq data visualization',
217+
url: 'https://github.com/MonashBioinformaticsPlatform/varistran',
218+
repoImage: null
219+
},
220+
{
221+
title: 'Celaref',
222+
repoName: 'MonashBioinformaticsPlatform/celaref',
223+
description: 'Single-cell annotation by reference',
224+
url: 'https://github.com/MonashBioinformaticsPlatform/celaref',
225+
repoImage: null
226+
}
227+
]
228+
}
229+
}
230+
});
231+
232+
// Register the repo-tile component
233+
app.component('repo-tile', {
234+
template: '#repo-tile-template',
235+
props: {
236+
title: String,
237+
repoName: String,
238+
description: String,
239+
url: String,
240+
repoImage: String
241+
}
242+
});
243+
244+
// Mount the app
245+
app.mount('#app');
246+
</script>
247+
</body>
248+
</html>

0 commit comments

Comments
 (0)