blob: 267ecb8a54bdbd43dac225f2d8f37bb6a7950120 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<template>
<div id="projects">
<div id="projects-header">
<span class="fs-1">
Projects
</span>
</div>
<div id="projects-search">
<form>
<input type="search" name="q">
<BaseButton type="submit" value="Search" />
</form>
</div>
</div>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import BaseButton from "../components/BaseButton.vue";
export default defineComponent({
name: "HomeProjectsHeader",
components: {
BaseButton
}
});
</script>
<style lang="scss" scoped>
#projects {
display: flex;
align-items: center;
flex-wrap: wrap;
}
#projects-search {
display: flex;
align-items: center;
margin-left: auto;
margin-right: 15px;
form {
display: flex;
align-items: center;
height: 35px;
input[type=search] {
margin-right: 15px;
}
}
input[type=submit] {
margin-right: 15px;
}
}
</style>
|