Skip to content

Commit

Permalink
small ui improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
pluja committed Sep 26, 2023
1 parent 33ae99a commit cdb6059
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions nerostr/html/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@
<link rel="shortcut icon" href="/static/assets/nerostr.webp" type="image/webp">
<link rel="stylesheet" href="/static/style.css">
<!-- Social Sharing -->
{{ $Description := "Nerostr is a Nostr paid relay, but with Monero. Avoid spam. Get quality content." }}
<meta property="og:type" content="website" />
<meta property="og:title" content="{{.Title}}" />
<meta property="og:description" content="{{.Description}}" />
<meta property="og:description" content="{{$Description}}" />
<meta property="og:image" content="https://{{.Host}}/static/assets/nerostr.webp" />
<meta itemprop="name" content="{{.Title}}">
<meta itemprop="description" content="{{.Description}}">
<meta itemprop="description" content="{{$Description}}">
<meta itemprop="image" content="https://{{.Host}}/static/assets/nerostr.webp">
<meta name="twitter:url" content="{{.Host}}">
<meta name="twitter:title" content="{{.Title}}">
<meta name="twitter:description" content="{{.Description}}">
<meta name="twitter:description" content="{{$Description}}">
<meta name="twitter:image" content="https://{{.Host}}/static/assets/nerostr.webp">
</head>

Expand Down
3 changes: 2 additions & 1 deletion nerostr/html/partials/user.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div class="flex flex-col items-center justify-center mt-6">
<div class="flex flex-col items-center justify-center mt-3">
<svg class="w-24 h-24 fill-green-500" version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512"><style></style><path d="m129 25l255.5 0.5v51l-255.5 0.5zm-52 53h51.9l-0.4 50.5-51.5 0.5v255l51.5 0.5 0.5 50.5 255.5 0.5v51l-255.5 0.5v-52h-52v-51h-51v-256h51zm308 0h51v50h51v256h-51v51h-51v-51h51v-255h-51zm-0.5 101.5v51h-51l-0.2-24.5c-0.1-13.4 0.1-25 0.3-25.7 0.3-1.1 5.7-1.3 50.9-0.8zm-102.5 51.5h51v51h-51v51h-51v51h-51v-51h-51v-51h51v51h51v-51h51z"/></svg>
<p class="mt-4 text-center text-gray-300">You can publish to <span class="font-bold">wss://{{.Host}}</span></p>
</div>
2 changes: 1 addition & 1 deletion nerostr/html/static/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
@tailwind utilities;

@font-face {
font-family: 'monocraft'; /* Give a name to your font */
font-family: 'monocraft', 'mono'; /* Give a name to your font */
src: url('./fonts/Monocraft.ttf') format('truetype');
}

0 comments on commit cdb6059

Please sign in to comment.