50_make_frontend_part_independent #2
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "kadet/czydojade",
|
"name": "kadet/cojedzie",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
nelmio_api_doc:
|
nelmio_api_doc:
|
||||||
documentation:
|
documentation:
|
||||||
info:
|
info:
|
||||||
title: Czy Dojadę?
|
title: Co Jedzie?
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
parameters:
|
parameters:
|
||||||
provider:
|
provider:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "czydojade",
|
"name": "co-jedzie",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "Kacper Donat <kadet1090@gmail.com>",
|
"author": "Kacper Donat <kadet1090@gmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Czy Dojadę?",
|
"name": "Co Jedzie?",
|
||||||
"short_name": "Czy Dojadę?",
|
"short_name": "Co Jedzie?",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"lang": "pl_PL",
|
"lang": "pl_PL",
|
||||||
"start_url": ".",
|
"start_url": ".",
|
||||||
|
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 12 KiB |
1313
resources/images/logo-cojedzie.ai
Executable file
Before Width: | Height: | Size: 24 KiB |
BIN
resources/images/logo-superhi.png
Executable file
After Width: | Height: | Size: 107 KiB |
1
resources/images/logo-vector.svg
Executable file
After Width: | Height: | Size: 5.7 KiB |
BIN
resources/images/logo.png
Normal file → Executable file
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 43 KiB |
@ -47,15 +47,15 @@ Component.registerHooks(['removed']);
|
|||||||
] as const);
|
] as const);
|
||||||
|
|
||||||
// here goes "public" API
|
// here goes "public" API
|
||||||
window['czydojade'] = Object.assign({
|
window['app'] = Object.assign({
|
||||||
state: {}
|
state: {}
|
||||||
}, window['czydojade'], {
|
}, window['app'], {
|
||||||
components,
|
components,
|
||||||
application: new components.Application({ el: '#app' })
|
application: new components.Application({ el: '#app' })
|
||||||
});
|
});
|
||||||
|
|
||||||
store.dispatch('messages/update');
|
store.dispatch('messages/update');
|
||||||
store.dispatch('load', window['czydojade'].state);
|
store.dispatch('load', window['app'].state);
|
||||||
|
|
||||||
if ('serviceWorker' in navigator) {
|
if ('serviceWorker' in navigator) {
|
||||||
const wb = new Workbox("/service-worker.js");
|
const wb = new Workbox("/service-worker.js");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<rulset name="Kadet.CzyDojade">
|
<rulset name="CoJedzie">
|
||||||
<description>Czy Dojadę ruleset</description>
|
<description>Co Jedzie ruleset</description>
|
||||||
|
|
||||||
<arg name="colors"/>
|
<arg name="colors"/>
|
||||||
<arg name="parallel" value="75"/>
|
<arg name="parallel" value="75"/>
|
||||||
|
@ -183,7 +183,7 @@
|
|||||||
provider: {{ provider.identifier|json_encode|raw }}
|
provider: {{ provider.identifier|json_encode|raw }}
|
||||||
};
|
};
|
||||||
|
|
||||||
window.czydojade = {};
|
window.app = {};
|
||||||
window.czydojade.state = {{ state|json_encode|raw }};
|
window.app.state = {{ state|json_encode|raw }};
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
<link rel="apple-touch-icon" href="images/ios.png" sizes="512x512">
|
<link rel="apple-touch-icon" href="images/ios.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon" href="images/ios-80.png" sizes="80x80">
|
<link rel="apple-touch-icon" href="images/ios-80.png" sizes="80x80">
|
||||||
<link rel="apple-touch-icon" href="images/ios-192.png" sizes="192x192">
|
<link rel="apple-touch-icon" href="images/ios-192.png" sizes="192x192">
|
||||||
<meta name="apple-mobile-web-app-title" content="Czy Dojadę?">
|
<meta name="apple-mobile-web-app-title" content="Co Jedzie?">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
|
||||||
<title>{% block title %}Czy dojadę?{% endblock %}</title>
|
<title>{% block title %}Co Jedzie?{% endblock %}</title>
|
||||||
|
|
||||||
{% if ga_tracking %}
|
{% if ga_tracking %}
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
@ -39,7 +39,7 @@
|
|||||||
<footer class="container">
|
<footer class="container">
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
<span>
|
<span>
|
||||||
<img src="{{ asset('images/logo.png') }}" alt="czydojade logo"/>
|
<img src="{{ asset('images/logo.png') }}" alt="co jedzie logo"/>
|
||||||
v. {{ version() }} •
|
v. {{ version() }} •
|
||||||
<a href="{{ url('app.swagger_ui') }}">API</a>
|
<a href="{{ url('app.swagger_ui') }}">API</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Czy Dojadę? - {{ provider.shortName }}",
|
"name": "Co Jedzie? - {{ provider.shortName }}",
|
||||||
"short_name": "Czy Dojadę? - {{ provider.shortName }}",
|
"short_name": "Co Jedzie? - {{ provider.shortName }}",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"lang": "pl_PL",
|
"lang": "pl_PL",
|
||||||
"start_url": "{{ path('app', { provider: provider.identifier }) }}",
|
"start_url": "{{ path('app', { provider: provider.identifier }) }}",
|
||||||
|