Skip to content
Merged

Dev #2685

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
7 changes: 4 additions & 3 deletions app/Livewire/LeadingTeacherSignupForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public function mount()

$expertises = LeadingTeacherExpertise::orderBy('position')->get();

$this->geoposition =
$this->countries = $countries;

$this->levels = $levels;
Expand All @@ -81,8 +80,10 @@ public function mount()

if (! is_null($location)) {
$this->closestCity = City::getClosestCity($location->lon, $location->lat);
$this->selectedCity = $this->closestCity->id;
$this->selectedCountry = $this->closestCity->country_iso;
if ($this->closestCity) {
$this->selectedCity = $this->closestCity->id;
$this->selectedCountry = $this->closestCity->country_iso;
}
}

}
Expand Down
2 changes: 1 addition & 1 deletion app/Nova/Ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public static function indexQuery(NovaRequest $request, $query)
//return $query->where('country_iso', "=", $request->user()->country_iso);

return $query->join('model_has_roles', 'users.id', '=', 'model_has_roles.model_id')
->where('model_has_roles.role_id', '=', 3)
->where('model_has_roles.role_id', '=', 4)
->select('users.*');

}
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/build/assets/app-D5Z_h9Hh.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/build/assets/app-DLEYY4g1.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/build/assets/app-DXq9e_4o.css

This file was deleted.

1 change: 0 additions & 1 deletion public/build/assets/app-DkD2xhfq.css

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"resources/assets/sass/app.scss": {
"file": "assets/app-DkD2xhfq.css",
"file": "assets/app-DLEYY4g1.css",
"src": "resources/assets/sass/app.scss",
"isEntry": true
},
"resources/css/app.css": {
"file": "assets/app-DXq9e_4o.css",
"file": "assets/app-D5Z_h9Hh.css",
"src": "resources/css/app.css",
"isEntry": true
},
"resources/js/app.js": {
"file": "assets/app-cZgKPITV.js",
"file": "assets/app-BeQfK5Wu.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true,
Expand Down Expand Up @@ -51,181 +51,181 @@
]
},
"resources/lang/php_al.json": {
"file": "assets/php_al-DjoxzttW.js",
"file": "assets/php_al-BoEeuI-F.js",
"name": "php_al",
"src": "resources/lang/php_al.json",
"isDynamicEntry": true
},
"resources/lang/php_ba.json": {
"file": "assets/php_ba-E5UV4uW-.js",
"file": "assets/php_ba-BswSqQMV.js",
"name": "php_ba",
"src": "resources/lang/php_ba.json",
"isDynamicEntry": true
},
"resources/lang/php_bg.json": {
"file": "assets/php_bg-Df7lFPF1.js",
"file": "assets/php_bg-EYuryyTt.js",
"name": "php_bg",
"src": "resources/lang/php_bg.json",
"isDynamicEntry": true
},
"resources/lang/php_cs.json": {
"file": "assets/php_cs-BCMTtmCg.js",
"file": "assets/php_cs-BsGUOsGw.js",
"name": "php_cs",
"src": "resources/lang/php_cs.json",
"isDynamicEntry": true
},
"resources/lang/php_da.json": {
"file": "assets/php_da-gLHn8s66.js",
"file": "assets/php_da-COOn3F7s.js",
"name": "php_da",
"src": "resources/lang/php_da.json",
"isDynamicEntry": true
},
"resources/lang/php_de.json": {
"file": "assets/php_de-Baw4u6H6.js",
"file": "assets/php_de-BOhb02yh.js",
"name": "php_de",
"src": "resources/lang/php_de.json",
"isDynamicEntry": true
},
"resources/lang/php_el.json": {
"file": "assets/php_el-XfLsrgAS.js",
"file": "assets/php_el-CqBw0In3.js",
"name": "php_el",
"src": "resources/lang/php_el.json",
"isDynamicEntry": true
},
"resources/lang/php_en.json": {
"file": "assets/php_en-CWXDdbtc.js",
"file": "assets/php_en-B9fV-4tb.js",
"name": "php_en",
"src": "resources/lang/php_en.json",
"isDynamicEntry": true
},
"resources/lang/php_es.json": {
"file": "assets/php_es-CESVEtj1.js",
"file": "assets/php_es-DZc8_mBL.js",
"name": "php_es",
"src": "resources/lang/php_es.json",
"isDynamicEntry": true
},
"resources/lang/php_et.json": {
"file": "assets/php_et-Zx53OxKQ.js",
"file": "assets/php_et-HpmVylHn.js",
"name": "php_et",
"src": "resources/lang/php_et.json",
"isDynamicEntry": true
},
"resources/lang/php_fi.json": {
"file": "assets/php_fi-DxA44Emx.js",
"file": "assets/php_fi-DMriS-cx.js",
"name": "php_fi",
"src": "resources/lang/php_fi.json",
"isDynamicEntry": true
},
"resources/lang/php_fr.json": {
"file": "assets/php_fr-Nz0XYLWo.js",
"file": "assets/php_fr-yUkYyTJl.js",
"name": "php_fr",
"src": "resources/lang/php_fr.json",
"isDynamicEntry": true
},
"resources/lang/php_hr.json": {
"file": "assets/php_hr-C5xm-N4J.js",
"file": "assets/php_hr-CiMdFmhK.js",
"name": "php_hr",
"src": "resources/lang/php_hr.json",
"isDynamicEntry": true
},
"resources/lang/php_hu.json": {
"file": "assets/php_hu-CLZR7481.js",
"file": "assets/php_hu-_DgLnxvl.js",
"name": "php_hu",
"src": "resources/lang/php_hu.json",
"isDynamicEntry": true
},
"resources/lang/php_it.json": {
"file": "assets/php_it-Du6DIN7Z.js",
"file": "assets/php_it-CYDWy9Om.js",
"name": "php_it",
"src": "resources/lang/php_it.json",
"isDynamicEntry": true
},
"resources/lang/php_lt.json": {
"file": "assets/php_lt-Dglloo1d.js",
"file": "assets/php_lt-DrVx8oTV.js",
"name": "php_lt",
"src": "resources/lang/php_lt.json",
"isDynamicEntry": true
},
"resources/lang/php_lv.json": {
"file": "assets/php_lv-DeMl4-LD.js",
"file": "assets/php_lv-CxVh2L8q.js",
"name": "php_lv",
"src": "resources/lang/php_lv.json",
"isDynamicEntry": true
},
"resources/lang/php_me.json": {
"file": "assets/php_me-Cmf2P8bd.js",
"file": "assets/php_me-UBKX7CmI.js",
"name": "php_me",
"src": "resources/lang/php_me.json",
"isDynamicEntry": true
},
"resources/lang/php_mk.json": {
"file": "assets/php_mk-Cfz1X5H2.js",
"file": "assets/php_mk-CxuK1-QZ.js",
"name": "php_mk",
"src": "resources/lang/php_mk.json",
"isDynamicEntry": true
},
"resources/lang/php_mt.json": {
"file": "assets/php_mt-DEjwdxOJ.js",
"file": "assets/php_mt-BOzXROTE.js",
"name": "php_mt",
"src": "resources/lang/php_mt.json",
"isDynamicEntry": true
},
"resources/lang/php_nl.json": {
"file": "assets/php_nl-CNqPpIv7.js",
"file": "assets/php_nl-XMYB3-T1.js",
"name": "php_nl",
"src": "resources/lang/php_nl.json",
"isDynamicEntry": true
},
"resources/lang/php_pl.json": {
"file": "assets/php_pl-CxHoeK2_.js",
"file": "assets/php_pl-BcRe_LhB.js",
"name": "php_pl",
"src": "resources/lang/php_pl.json",
"isDynamicEntry": true
},
"resources/lang/php_pt.json": {
"file": "assets/php_pt-DoQ6sb1D.js",
"file": "assets/php_pt-C22vTuIV.js",
"name": "php_pt",
"src": "resources/lang/php_pt.json",
"isDynamicEntry": true
},
"resources/lang/php_ro.json": {
"file": "assets/php_ro-BOneroQm.js",
"file": "assets/php_ro-CyxIQ9qZ.js",
"name": "php_ro",
"src": "resources/lang/php_ro.json",
"isDynamicEntry": true
},
"resources/lang/php_rs.json": {
"file": "assets/php_rs-B67ZybFO.js",
"file": "assets/php_rs-Bh3j7A2b.js",
"name": "php_rs",
"src": "resources/lang/php_rs.json",
"isDynamicEntry": true
},
"resources/lang/php_sk.json": {
"file": "assets/php_sk-CdJcorDX.js",
"file": "assets/php_sk-Btfii795.js",
"name": "php_sk",
"src": "resources/lang/php_sk.json",
"isDynamicEntry": true
},
"resources/lang/php_sl.json": {
"file": "assets/php_sl-BtEUL4mZ.js",
"file": "assets/php_sl-BcbN8tek.js",
"name": "php_sl",
"src": "resources/lang/php_sl.json",
"isDynamicEntry": true
},
"resources/lang/php_sv.json": {
"file": "assets/php_sv-glFQz5uf.js",
"file": "assets/php_sv-DpFKdh_U.js",
"name": "php_sv",
"src": "resources/lang/php_sv.json",
"isDynamicEntry": true
},
"resources/lang/php_tr.json": {
"file": "assets/php_tr-Cz1DyXic.js",
"file": "assets/php_tr-Bxrd_pt-.js",
"name": "php_tr",
"src": "resources/lang/php_tr.json",
"isDynamicEntry": true
},
"resources/lang/php_ua.json": {
"file": "assets/php_ua-DjFBKSYW.js",
"file": "assets/php_ua-VbllPSL5.js",
"name": "php_ua",
"src": "resources/lang/php_ua.json",
"isDynamicEntry": true
Expand Down
Binary file added public/images/community/1.jpg
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/community/2.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/community/3.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/community/4.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/community/5.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/community/mobile-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/images/community/play.svg
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/shape_pink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions resources/assets/sass/pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
align-items: center;
}

#teacher-details li.active {
border-left-color: #F97316;
border-top-color: #F97316;
}

/*Media queries*/

/* smartphones, iPhone, portrait 480x320 phones */
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/al/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'Ambasadorët e EU Code Week',
'your_current_country' => 'Vendi juaj aktual',
'visit_the' => 'Vizitoni',
'local_facebook_page' => 'faqja lokale e Facebook',
'local_website' => 'Uebsajti lokal',
'local_facebook_page' => 'Faqja Facebook',
'local_website' => 'Uebsajt',
'ambassadors' => 'Ambasadorët',
'no_ambassadors' => 'Ende asnjë ambasador',
'countries_with_ambassadors' => 'Vendet me ambasadorë',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/ba/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'Ambasadori Sedmice kodiranja EU',
'your_current_country' => 'Vaša trenutna zemlja',
'visit_the' => 'Posjetite',
'local_facebook_page' => 'lokalnu Facebook stranicu',
'local_website' => 'Lokalni vebsajt',
'local_facebook_page' => 'Facebook stranicu',
'local_website' => 'Vebsajt',
'ambassadors' => 'Ambasadori',
'no_ambassadors' => 'Još uvijek nema ambasadora',
'countries_with_ambassadors' => 'Zemlje sa ambasadorima',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/bg/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'Посланици на Европейската седмица на програмирането',
'your_current_country' => 'Вашата настояща държава',
'visit_the' => 'Посетете',
'local_facebook_page' => 'местната страница във Facebook',
'local_website' => 'Местен уебсайт',
'local_facebook_page' => 'страница във Facebook',
'local_website' => 'уебсайт',
'ambassadors' => 'Посланици',
'no_ambassadors' => 'Все още няма посланици',
'countries_with_ambassadors' => 'Държави с посланици',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/cs/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'Ambasadoři Evropského týdne programování',
'your_current_country' => 'Vaše současná země',
'visit_the' => 'Navštivte',
'local_facebook_page' => 'místní facebookovou stránku',
'local_website' => 'Místní webové stránky',
'local_facebook_page' => 'facebookovou stránku',
'local_website' => 'webové stránky',
'ambassadors' => 'Ambasadoři',
'no_ambassadors' => 'Žádní ambasadoři zatím nejsou',
'countries_with_ambassadors' => 'Země s ambasadory',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/da/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'Ambassadører for EU’s kodeuge',
'your_current_country' => 'Dit nuværende land',
'visit_the' => 'Besøg',
'local_facebook_page' => 'den lokale Facebook-side',
'local_website' => 'det lokale websted',
'local_facebook_page' => 'Facebook-side',
'local_website' => 'websted',
'ambassadors' => 'Ambassadører',
'no_ambassadors' => 'Endnu ingen ambassadører',
'countries_with_ambassadors' => 'Lande med ambassadører',
Expand Down
6 changes: 3 additions & 3 deletions resources/lang/de/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

'title' => 'EU Code Week-Botschafter*innen',
'your_current_country' => 'Ihr ausgewähltes Land',
'visit_the' => 'Besuchen Sie die',
'local_facebook_page' => 'deutsche Facebook-Seite',
'local_website' => 'Deutsche Website',
'visit_the' => 'Besuche die',
'local_facebook_page' => 'Facebook-Seite',
'local_website' => 'Website',
'ambassadors' => 'Botschafter*innen',
'no_ambassadors' => 'Bisher keine Botschafter*innen',
'countries_with_ambassadors' => 'Länder mit Botschafter*innen',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/el/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'ΠΡΕΣΒΕΙΣ ΤΗΣ ΕΥΡΩΠΑΪΚΗΣ ΕΒΔΟΜΑΔΑΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΥ',
'your_current_country' => 'Η τρέχουσα χώρα σου',
'visit_the' => 'Επισκεφθείτε την',
'local_facebook_page' => 'τοπική σελίδα στο Facebook',
'local_website' => 'Τοπικός δικτυακός τόπος',
'local_facebook_page' => 'σελίδα στο Facebook',
'local_website' => 'δικτυακός τόπος',
'ambassadors' => 'Πρέσβεις',
'no_ambassadors' => 'Δεν υπάρχουν ακόμα πρέσβεις',
'countries_with_ambassadors' => 'Χώρες με πρέσβεις',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/en/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'EU Code Week Ambassadors',
'your_current_country' => 'Your current country',
'visit_the' => 'Visit the',
'local_facebook_page' => 'local Facebook page',
'local_website' => 'Local Website',
'local_facebook_page' => 'Facebook page',
'local_website' => 'Website',
'ambassadors' => 'Ambassadors',
'community' => 'Community',
'no_ambassadors' => 'No ambassadors yet',
Expand Down
6 changes: 3 additions & 3 deletions resources/lang/en/community.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@
'hub_level_IS' => 'Regional Hub',
'hub_desc_IS' => 'European Centre for Women and Technology (ECWT) is dedicated to promoting gender equality within the tech industry across Europe. This organization focuses on creating opportunities for women in technology through mentorship programs, networking events, and skill-building workshops. By advocating for policy changes and raising awareness about the underrepresentation of women in tech, the center aims to inspire and empower a new generation of female leaders. Additionally, it fosters collaboration between different sectors to drive innovation and inclusivity in technology. ',

'hub_FI' => 'European Center for Women and Technology Forening',
'hub_level_FI' => 'Regional Hub',
'hub_desc_FI' => 'European Centre for Women and Technology (ECWT) is dedicated to promoting gender equality within the tech industry across Europe. This organization focuses on creating opportunities for women in technology through mentorship programs, networking events, and skill-building workshops. By advocating for policy changes and raising awareness about the underrepresentation of women in tech, the center aims to inspire and empower a new generation of female leaders. Additionally, it fosters collaboration between different sectors to drive innovation and inclusivity in technology. ',
'hub_FI' => 'European Center for Women and Technology - ECWT<br/>on sitoutunut turvaamaan sukupuolinäkökulmaa teknologiateollisuudessa kaikkialla Euroopassa.',
'hub_level_FI' => 'Alueellinen hub',
'hub_desc_FI' => 'ECWT keskittyy<br/>(i) tukemaan lapsia ja erityisesti tyttöjä koodauksen, luovuuden ja uteliaisuuden yhdistämisessä heidän tulevaisuuden uransa muotoutumiseksi<br/>(ii) luomaan inspiroivan yhteisön, verkostoitumistapahtumia ja mentorointiohjelmia<br/>(iii) tarjoamaan sertifioituja koulutuksia uudelleenkoulutusta ja täydennyskoulutusta varten.<br/><br/>Tukemalla poliittisia muutoksia ja tarjoamalla innovatiivisia työkaluja, jotka on kehitetty yhteistyössä julkisensektorin, yritysten ja tutkimuksenjohtavien edustajien kanssa pohjoismaisten hyvien esimerkkien pohjalta, me voimaannutamme uuden sukupolven naisjohtajia.',

'hub_DK' => 'European Center for Women and Technology Forening',
'hub_level_DK' => 'Regional Hub',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/es/ambassador.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
'title' => 'Embajadores de la Semana de la Programación de la UE',
'your_current_country' => 'Tu país actual',
'visit_the' => 'Visita la',
'local_facebook_page' => 'página de Facebook local',
'local_website' => 'Sitio web local',
'local_facebook_page' => 'página de Facebook',
'local_website' => 'Sitio web',
'ambassadors' => 'Embajadores',
'no_ambassadors' => 'Todavía no hay ningún embajador',
'countries_with_ambassadors' => 'Países con embajadores',
Expand Down
Loading
Loading