Skip to content

Commit

Permalink
馃拕 updated gui landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
MattMoony committed Aug 16, 2023
1 parent ac6f93e commit 9bc9870
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
15 changes: 13 additions & 2 deletions d4v1d/web/src/components/UserSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const handleInput = e => {
<div>
<input @keyup="handleInput" v-model="username" type="text" placeholder="Enter a username ..." />
<button @click="doSearch">
asdf
<font-awesome-icon :icon="['fas', 'magnifying-glass']" />
</button>
</div>
</template>
Expand All @@ -38,8 +38,9 @@ input {
color: var(--color-text);
padding: 1em;
border: none;
border-radius: .3em 0 0 .3em;
font-family: inherit;
font-size: 1em;
font-size: 1.1em;
}
input:focus {
Expand All @@ -49,5 +50,15 @@ input:focus {
button {
background-color: var(--vt-c-accent);
color: var(--vt-c-text-dark-1);
font-size: 1.1em;
padding: .7em 1em;
border: none;
border-radius: 0 .3em .3em 0;
cursor: pointer;
transition: .2s ease;
}
button:hover {
filter: brightness(1.1);
}
</style>
7 changes: 7 additions & 0 deletions d4v1d/web/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { faMagnifyingGlass } from '@fortawesome/free-solid-svg-icons'

const app = createApp(App)

app.use(router)
library.add(faMagnifyingGlass)
app.component('font-awesome-icon', FontAwesomeIcon)

app.mount('#app')

0 comments on commit 9bc9870

Please sign in to comment.