@@ -8,15 +8,22 @@ const maps = await getMaps(user);
8
8
</script >
9
9
10
10
<template >
11
- <div id =" navbar" >
12
- <h5 >Hey {{ user }} !</h5 >
13
- </div >
11
+ <header >
12
+ <nav >
13
+ <div class =" nav-wrapper" >
14
+ <p class =" brand" >Domain Forge</p >
15
+ <ul class =" nav-links" >
16
+ <li ><a href =" https://github.com/mdgspace/domain-forge/blob/master/docs/users/README.md" >Docs</a ></li >
17
+ </ul >
18
+ </div >
19
+ </nav >
20
+ </header >
14
21
<div id =" home-container" >
15
22
<div id =" home-heading" >
16
- <h3 >Your subdomains: </h3 >
23
+ <h3 >{{ user }}'s subdomains: </h3 >
17
24
</div >
18
25
<br >
19
- <table id =" tableComponent" style =" display :table ; width :100% ;" >
26
+ <table id =" tableComponent" style =" display :table ; width :100% ; padding : 0 px 30 px " >
20
27
<thead >
21
28
<tr >
22
29
<th v-for =" field in fields" style =" padding :5px ;background-color : #ffffff ; color : #121212 ;border-bottom : 1px solid #121212 ; border-top :1px solid #121212 ;font-weight : 900 ;" >
@@ -44,11 +51,13 @@ const maps = await getMaps(user);
44
51
<modal v-show =" showModal" @close-modal =" showModal = false" />
45
52
<div style =" text-align : center ;" ><button @click =" showModal = true" >+ Add</button ></div >
46
53
</div >
54
+ <footer >
55
+ <p >Made with ❤️ by MDG Space</p >
56
+ </footer >
47
57
</template >
48
58
<script >
49
59
import modal from ' ./modal.vue'
50
60
import deletemodal from ' ./deletemodal.vue'
51
- import { deleteSubDomain } from ' ../utils/delete.ts'
52
61
export default {
53
62
components: { modal,deletemodal },
54
63
data () {
@@ -60,3 +69,61 @@ export default {
60
69
},
61
70
}
62
71
</script >
72
+ <style scoped>
73
+
74
+ nav {
75
+ width : 100% ;
76
+ position : fixed ;
77
+ top : 0 ;
78
+ }
79
+
80
+ header {
81
+ margin-bottom : 20px ;
82
+ }
83
+ .nav-wrapper {
84
+ display : flex ;
85
+ justify-content : space-between ;
86
+ align-items : center ;
87
+ padding : 0 20px ;
88
+ }
89
+
90
+ .brand {
91
+ margin : 0 ;
92
+ font-size : 24px ;
93
+ }
94
+
95
+ .nav-links {
96
+ list-style : none ;
97
+ margin : 0 ;
98
+ padding : 0 ;
99
+ display : flex ;
100
+ align-items : center ;
101
+ }
102
+
103
+ .nav-links li {
104
+ margin-right : 20px ;
105
+ }
106
+
107
+ .nav-links li :last-child {
108
+ margin-right : 0 ;
109
+ }
110
+
111
+ .nav-links a {
112
+ text-decoration : none ;
113
+ color : #333 ;
114
+ font-weight : bold ;
115
+ padding : 10px ;
116
+ }
117
+ footer {
118
+ position : fixed ;
119
+ bottom : 0 ;
120
+ width : 100% ;
121
+ background-color : #ffffff ;
122
+ padding : 20px 0 ;
123
+ }
124
+
125
+ footer p {
126
+ margin : 0 ;
127
+ text-align : center ;
128
+ }
129
+ </style >
0 commit comments