Skip to content

Commit

Permalink
Merge pull request #3 from PassiDel/feature/compare
Browse files Browse the repository at this point in the history
Feature/compare
  • Loading branch information
PassiDel authored Jun 13, 2024
2 parents 49f50f2 + 45fdfb1 commit 575048c
Show file tree
Hide file tree
Showing 34 changed files with 93,934 additions and 229 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html lang="de">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
Expand Down
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
"check-all": "run-p check type-check lint --"
},
"dependencies": {
"@fontsource/zilla-slab": "^5.0.13",
"@vuestic/tailwind": "^0.1.5",
"chart.js": "^4.4.2",
"chartjs-plugin-annotation": "^3.0.1",
"pinia": "^2.1.7",
"vue": "^3.4.21",
"vue-chartjs": "^5.3.1",
Expand Down
43 changes: 32 additions & 11 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,20 +1,37 @@
<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router';
import logo from '@/assets/logo_hsb_startseite.svg';
</script>

<template>
<VaLayout :top="{ fixed: true, order: 2 }">
<VaLayout :top="{ fixed: true, order: 2 }" class="h-dvh">
<template #top>
<VaNavbar color="secondary">
<template #left>
<img alt="HSB logo" src="@/assets/hsb.png" class="m-[-20px] h-32" />
</template>
<VaNavbar class="test">
<template #left
><RouterLink to="/" class="flex flex-row text-white"
><img :src="logo" class="h-10" alt="Logo HSB" /><span
class="my-auto"
>Die Hochschule in Zahlen!</span
></RouterLink
></template
>
<template #right>
<div class="flex gap-4">
<RouterLink to="/">Home</RouterLink>
<RouterLink to="/compare">Vergleich</RouterLink>
<RouterLink to="/faculty">Fakultäten</RouterLink>
<RouterLink to="/university">Ganze Hochschule</RouterLink>
<div class="flex flex-col gap-2 text-white md:flex-row md:gap-4">
<RouterLink to="/" activeClass="font-bold" class="hover:underline"
>Start</RouterLink
>
<RouterLink
to="/compare"
activeClass="font-bold"
class="hover:underline"
>Vergleich</RouterLink
>
<RouterLink
to="/graph"
activeClass="font-bold"
class="hover:underline"
>Alles</RouterLink
>
</div>
</template>
</VaNavbar>
Expand All @@ -25,4 +42,8 @@ import { RouterLink, RouterView } from 'vue-router';
</VaLayout>
</template>

<style scoped></style>
<style scoped>
.test {
background: linear-gradient(to right, rgb(10, 85, 140), rgb(50, 180, 200));
}
</style>
Loading

1 comment on commit 575048c

@vercel
Copy link

@vercel vercel bot commented on 575048c Jun 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.