Skip to content

Commit

Permalink
user link styling!
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Feb 14, 2024
1 parent 20f9dd6 commit f89bef1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<NavBar />
<span id="jackal-logo">Made by Jackal Labs</span>
<router-view />
</template>

Expand All @@ -18,4 +19,13 @@
<style lang="scss">
@import '@/assets/css/style.css';
#jackal-logo {
text-align: left;
position: fixed;
left: 12px;
bottom: 4px;
}
</style>
18 changes: 18 additions & 0 deletions src/views/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@
const userSpan = document.createElement('span')
userSpan.innerText = 'Written by: '
userWrapper.appendChild(userSpan)
userWrapper.id = "user-wrapper"
const userBtn = document.createElement('button')
userBtn.classList.add("undo-button")
userBtn.title = profile.value
userBtn.innerHTML = profile.value
userBtn.onclick = visitProfile
userWrapper.appendChild(userBtn)
Expand Down Expand Up @@ -152,6 +155,10 @@
}
}
#article-section2 {
display: none;
}
.hero {
height: 80vh;
Expand Down Expand Up @@ -182,4 +189,15 @@
}
.undo-button {
background: none!important;
border: none;
padding: 0!important;
}
#user-wrapper {
border-bottom: black solid 1px;
padding-bottom: 20px;
}
</style>
4 changes: 3 additions & 1 deletion src/views/UserPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@
border-bottom: black solid 4px;
border-top: black solid 1px;
border-right: black solid 1px;
display: flex;
align-items: center;
justify-content: center;
}
.work-body:hover {
Expand Down

0 comments on commit f89bef1

Please sign in to comment.