Skip to content

Commit

Permalink
refactor: changed to use bootstrap classes
Browse files Browse the repository at this point in the history
  • Loading branch information
svituz committed Oct 3, 2023
1 parent 9d292ee commit 28d3bf5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
9 changes: 1 addition & 8 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<header>
<navigation-bar />
</header>
<div class="container pt-4 main-container">
<div class="container min-vh-100 d-flex flex-column pt-4">
<div
v-if="notification !== undefined"
class="row"
Expand Down Expand Up @@ -75,13 +75,6 @@ export default {
</script>

<style scoped>
.main-container {
min-width: 25rem;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.box {
inline-size: 300px;
}
Expand Down
7 changes: 2 additions & 5 deletions src/components/NavigationBar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<nav
v-if="showNavBar"
v-if="oidcIsAuthenticated"
class="navbar navbar-expand-lg navbar-light bg-light"
>
<div class="container-fluid">
Expand Down Expand Up @@ -47,7 +47,7 @@
to="/researcher"
>
<i class="bi bi-folder2" />
Negotiations
Requests
</router-link>
</li>
<li
Expand Down Expand Up @@ -102,9 +102,6 @@ export default {
},
isRepresentative() {
return this.roles.includes("REPRESENTATIVE")
},
showNavBar() {
return (this.$route.path !== "/")
}
},
watch: {
Expand Down
2 changes: 1 addition & 1 deletion src/views/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div
class="container-fluid d-flex justify-content-center align-items-center vh-100"
>
<div class="row mt-5">
<div class="row">
<div class="col-1" />
<div
class="col-sm-10"
Expand Down

0 comments on commit 28d3bf5

Please sign in to comment.