Compare commits
2 Commits
25134ecc36
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b569fc6067 | |||
| 4f6361b4ba |
@@ -15,11 +15,11 @@ jobs:
|
|||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.alwisp.com
|
registry: registry.alwisp.com
|
||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
run: |
|
run: |
|
||||||
docker build -t git.alwisp.com/${{ gitea.repository_owner }}/${{ gitea.repository }}:latest .
|
docker build -t registry.alwisp.com/${{ gitea.repository_owner }}/${{ gitea.repository }}:latest .
|
||||||
docker push git.alwisp.com/${{ gitea.repository_owner }}/${{ gitea.repository }}:latest
|
docker push registry.alwisp.com/${{ gitea.repository_owner }}/${{ gitea.repository }}:latest
|
||||||
@@ -58,7 +58,7 @@ export async function shareRoutes(app: FastifyInstance) {
|
|||||||
<meta property="og:image" content="${escapeHtml(imageUrl)}" />
|
<meta property="og:image" content="${escapeHtml(imageUrl)}" />
|
||||||
<meta property="og:image:width" content="${meme.width}" />
|
<meta property="og:image:width" content="${meme.width}" />
|
||||||
<meta property="og:image:height" content="${meme.height}" />
|
<meta property="og:image:height" content="${meme.height}" />
|
||||||
<meta property="og:site_name" content="Memer" />
|
<meta property="og:site_name" content="MEMER" />
|
||||||
|
|
||||||
<!-- Twitter / X card -->
|
<!-- Twitter / X card -->
|
||||||
<meta name="twitter:card" content="summary_large_image" />
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
@@ -114,7 +114,7 @@ export async function shareRoutes(app: FastifyInstance) {
|
|||||||
<p class="title">${title}</p>
|
<p class="title">${title}</p>
|
||||||
<a class="btn" href="${escapeHtml(galleryUrl)}">
|
<a class="btn" href="${escapeHtml(galleryUrl)}">
|
||||||
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
|
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
|
||||||
Open in Memer
|
Open in MEMER
|
||||||
</a>
|
</a>
|
||||||
</body>
|
</body>
|
||||||
</html>`;
|
</html>`;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Memer</title>
|
<title>MEMER</title>
|
||||||
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎭</text></svg>" />
|
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎭</text></svg>" />
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-zinc-950 text-zinc-100 min-h-screen">
|
<body class="bg-zinc-950 text-zinc-100 min-h-screen">
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ export function Gallery() {
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<span className="text-2xl">🎭</span>
|
<span className="text-2xl">🎭</span>
|
||||||
<span className="font-bold text-lg tracking-tight hidden sm:block">Memer</span>
|
<span className="font-bold text-lg tracking-tight hidden sm:block">MEMER</span>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user