Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated apple icons #1006

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Services/MentionsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ protected function replaceEntityMentions(): void
. '</span>';
} elseif ($field === 'attributes') {
return '<iframe src="' . route('entities.attributes-dashboard', [$this->campaign, $entity]) . '" class="entity-attributes-render w-full h-full"></iframe>';
} elseif (!$entity->isMissingChild() && isset($entity->child->$field)) {
} elseif (!$entity->isMissingChild() && isset($entity->child->$field)) {
$foreign = $entity->child->$field;
if ($foreign instanceof Model) {
if (isset($foreign->name) && !empty($foreign->name)) {
Expand Down
Binary file modified public/images/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/favicon/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions public/images/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Kanka",
"short_name": "Kanka",
"icons": [
{
"src": "/images/favicon/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/images/favicon/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 9 additions & 2 deletions resources/views/layouts/links/icons.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<link rel="shortcut icon" href="/images/favicon/favicon.ico" type="image/x-icon" />
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png">
<link rel="icon" type="image/png" href="/images/favicon/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/images/favicon/favicon.svg" />

<link rel="apple-touch-icon" href="/images/favicon/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="57x57" href="/images/favicon/apple-touch-icon-57x57.png" />
Expand All @@ -10,6 +12,11 @@
<link rel="apple-touch-icon" sizes="120x120" href="/images/favicon/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/images/favicon/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/images/favicon/apple-touch-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon-180x180.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png" />
<link rel="shortcut icon" href="/images/favicon/favicon.ico" />
<link rel="manifest" href="/images/favicon/site.webmanifest" />

@if (isset($campaign))<meta name="apple-mobile-web-app-title" content="{{ $campaign->name }}">@endif<meta name="apple-mobile-web-app-status-bar-style" content="#40479e">


@if (isset($campaign))<meta name="apple-mobile-web-app-title" content="{{ $campaign->name }}">@else<meta name="apple-mobile-web-app-title" content="Kanka" />@endif
<meta name="apple-mobile-web-app-status-bar-style" content="#40479e">