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

View File

@@ -39,7 +39,7 @@ _Requirements_:
**Standard Docker Install** **Standard Docker Install**
```sh ```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** **Docker Compose**
@@ -50,9 +50,9 @@ version: '3'
# Homarr - A homepage for your server. # # Homarr - A homepage for your server. #
#--------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------#
services: services:
mhp: homarr:
container_name: homarr container_name: homarr
image: ghcr.io/ajnart/mhp image: ghcr.io/ajnart/homarr
restart: unless-stopped restart: unless-stopped
ports: ports:
- '7575:80' - '7575:80'

View File

@@ -73,7 +73,11 @@ export default function AddItemShelfItem(props: any) {
} }
function MatchIcon(name: string, form: 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) => { .then((res) => {
if (res.status === 200) { if (res.status === 200) {
form.setFieldValue('icon', res.url); form.setFieldValue('icon', res.url);

View File

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

View File

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

View File

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