Skip to content

Commit bafc1cf

Browse files
Update contents
1 parent abe41a5 commit bafc1cf

3 files changed

Lines changed: 10 additions & 75 deletions

File tree

src/components/TheNavbar.vue

Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<template>
22
<nav
3-
:class="{ 'main-view': isMainView }"
43
class="bg-[var(--bg-primary)] text-white px-6 py-4 shadow-md fixed w-full z-50 top-0"
54
>
65
<div class="max-w-7xl mx-auto flex items-center justify-between md:justify-start">
76
<router-link id="navbar-logo" class="mr-10 flex items-center gap-2" to="/" aria-label="Home">
87
<img
98
class="select-none h-10 rounded-full"
10-
src="https://github.com/QCDLab/.github/blob/main/logo/qcdlab.png"
9+
src="https://raw.githubusercontent.com/QCDLab/.github/main/logo/qcdlab.png"
1110
alt="QCDLab Logo"
1211
/>
1312
<span class="font-bold text-xl">QCDLab</span>
@@ -196,15 +195,13 @@
196195
</template>
197196

198197
<script>
199-
import { computed } from "vue";
200198
import { RouterLink, useRoute } from "vue-router";
201199
202200
export default {
203201
name: "Navbar",
204202
setup() {
205203
const route = useRoute();
206-
const isMainView = computed(() => route.path === "/");
207-
return { isMainView };
204+
return {}; // No need for isMainView here
208205
},
209206
data() {
210207
return {
@@ -260,54 +257,4 @@ export default {
260257
},
261258
},
262259
};
263-
</script>
264-
265-
<style scoped>
266-
/* Minimal transition for fade and slide */
267-
268-
.fade-enter-active,
269-
.fade-leave-active {
270-
transition: opacity 0.3s ease;
271-
}
272-
.fade-enter-from,
273-
.fade-leave-to {
274-
opacity: 0;
275-
}
276-
.slide-fade-enter-active {
277-
transition: all 0.3s ease;
278-
transform-origin: top;
279-
}
280-
.slide-fade-enter-from {
281-
opacity: 0;
282-
transform: translateY(-10px);
283-
}
284-
.slide-fade-leave-to {
285-
opacity: 0;
286-
transform: translateY(-10px);
287-
}
288-
.fade-slide-enter-active,
289-
.fade-slide-leave-active {
290-
transition: all 0.25s ease;
291-
}
292-
.fade-slide-enter-from {
293-
opacity: 0;
294-
transform: translateY(-10px);
295-
}
296-
.fade-slide-enter-to {
297-
opacity: 1;
298-
transform: translateY(0);
299-
}
300-
.fade-slide-leave-from {
301-
opacity: 1;
302-
transform: translateY(0);
303-
}
304-
.fade-slide-leave-to {
305-
opacity: 0;
306-
transform: translateY(-10px);
307-
}
308-
.main-view #navbar-logo {
309-
opacity: 0;
310-
width: 0px;
311-
margin-right: 0px;
312-
}
313-
</style>
260+
</script>

src/views/About.vue

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,15 @@
11
<template>
22
<main class="max-w-(--breakpoint-lg) mx-auto px-5 py-30">
3-
<div class="text-6xl font-bold text-center mb-10">About QCDLab</div>
3+
<h1 class="mb-10 text-6xl font-bold text-center">About QCDLab</h1>
44

5-
<div class="space-y-8 text-xl leading-8">
5+
<div class="space-y-8 text-lg leading-7">
66
<p>
7-
The QCDLab organization is dedicated to developing high-performance, accurate, and user-friendly software for Quantum Chromodynamics (QCD) and High Energy Physics (HEP) research.
7+
QCDLab is dedicated to developing high-performance, accurate, and
8+
user-friendly softwares for Quantum Chromodynamics (QCD) and High
9+
Energy Physics (HEP) research.
810
</p>
9-
1011
<p>
11-
Our goal is to create a ecosystem of tools that simplify complex calculations, provide better access to experimental data, and enable new theoretical insights into the fundamental structure of matter.
12-
</p>
13-
14-
<div class="bg-gray-800 p-8 rounded-2xl border border-gray-700 shadow-xl">
15-
<h2 class="text-3xl font-bold mb-4">Our Mission</h2>
16-
<ul class="list-disc ml-8 space-y-4">
17-
<li>Advance the state-of-the-art in QCD software.</li>
18-
<li>Foster open-source collaboration in the HEP community.</li>
19-
<li>Provide robust and well-documented tools for researchers worldwide.</li>
20-
</ul>
21-
</div>
22-
23-
<p>
24-
Join us on our mission to explore the strong force and the internal structure of hadrons through modern computational techniques.
12+
2513
</p>
2614
</div>
2715
</main>

src/views/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
<div>
1818
<img
1919
class="mx-auto h-40 rounded-full mb-8 shadow-2xl border-2 border-white"
20-
src="https://github.com/QCDLab.png"
20+
src="https://raw.githubusercontent.com/QCDLab/.github/main/logo/qcdlab.png"
2121
alt="QCDLab Logo"
2222
/>
2323
<div

0 commit comments

Comments
 (0)