Skip to content

Commit 4b3cec5

Browse files
committed
Beg for GitHub stars in the footer
1 parent 864916e commit 4b3cec5

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/App.vue

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,20 @@
1111
<div id="properties" :style="{ visibility: visibleState }">
1212
<ElementProperties></ElementProperties>
1313
</div>
14-
<div id="output" :style="{ visibility: visibleState }">
14+
<div id="output" :style="{ visibility: visibleState, height: visibleState === 'hidden' ? 0 : undefined }">
1515
<PS1Variable></PS1Variable>
1616
<br />
1717
<PromptPreview></PromptPreview>
1818
</div>
1919
</div>
20+
<footer>If you like this project, please consider leaving a &#x2b50; on
21+
<a
22+
href="https://github.com/Scriptim/bash-prompt-generator"
23+
target="_blank"
24+
rel="noopener noreferrer"
25+
>
26+
GitHub
27+
</a>.</footer>
2028
</main>
2129
</template>
2230

@@ -139,7 +147,7 @@ a
139147
140148
.dark
141149
a
142-
color: lighten($color-accent, 20%)
150+
color: lighten($color-accent, 5%)
143151
144152
br
145153
user-select: none
@@ -179,4 +187,10 @@ input[type="number"]
179187
180188
.flex-wrapper
181189
padding: 0.8em
190+
191+
footer
192+
margin: 0
193+
font-style: italic
194+
text-align: center
195+
padding: 4em 0.2em 2em
182196
</style>

0 commit comments

Comments
 (0)