Rename MyHomePage to Homarr

This commit is contained in:
Aj - Thomas
2022-05-12 14:24:15 +02:00
parent 5dee33284d
commit e3af7629aa
7 changed files with 26 additions and 17 deletions

View File

@@ -7,7 +7,7 @@ on:
workflow_dispatch:
env:
IMAGE_NAME: mhp
IMAGE_NAME: homarr
jobs:
# Push image to GitHub Packages.
@@ -69,8 +69,8 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
ajnart/mhp
ghcr.io/ajnart/mhp
ajnart/homarr
ghcr.io/ajnart/homarr
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=latest,enable={{is_default_branch}}

View File

@@ -39,7 +39,7 @@ _Requirements_:
**Standard Docker Install**
```sh
docker run --name homarr -p 7575:80 -d ghcr.io/ajnart/mhp
docker run --name homarr -p 7575:80 -d ghcr.io/ajnart/homarr
```
**Docker Compose**
@@ -50,9 +50,9 @@ version: '3'
# Homarr - A homepage for your server. #
#--------------------------------------------------------------------------------------------#
services:
mhp:
homarr:
container_name: homarr
image: ghcr.io/ajnart/mhp
image: ghcr.io/ajnart/homarr
restart: unless-stopped
ports:
- '7575:80'

View File

@@ -73,7 +73,11 @@ export default function AddItemShelfItem(props: any) {
}
function MatchIcon(name: string, form: any) {
fetch(`https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name.replace(/\s+/g, '-').toLowerCase()}.png`)
fetch(
`https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name
.replace(/\s+/g, '-')
.toLowerCase()}.png`
)
.then((res) => {
if (res.status === 200) {
form.setFieldValue('icon', res.url);

View File

@@ -2,9 +2,14 @@ import { Text } from '@mantine/core';
import * as React from 'react';
export function Logo({ style }: any) {
return (
<Text sx={style} weight="bold" variant="gradient" gradient={{ from: 'red', to: 'orange', deg: 145 }}>
Homarr
</Text>
);
return (
<Text
sx={style}
weight="bold"
variant="gradient"
gradient={{ from: 'red', to: 'orange', deg: 145 }}
>
Homarr
</Text>
);
}

View File

@@ -1,2 +1,2 @@
export const REPO_URL = 'ajnart/myhomepage';
export const CURRENT_VERSION = 'v0.1.5';
export const REPO_URL = 'ajnart/homarr';
export const CURRENT_VERSION = 'v0.1.6';

View File

@@ -1,6 +1,6 @@
{
"name": "homarr",
"version": "0.1.3",
"version": "0.1.6",
"private": "false",
"description": "Homarr - A homepage for your server.",
"repository": {

View File

@@ -22,7 +22,7 @@ export default function App(props: AppProps & { colorScheme: ColorScheme }) {
return (
<>
<Head>
<title>Homarr - A homepage for your server!</title>
<title>Homarr - A homepage for your server!</title>
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />
<link rel="shortcut icon" href="/favicon.svg" />
</Head>