{"id":2492,"date":"2025-10-26T01:20:07","date_gmt":"2025-10-26T01:20:07","guid":{"rendered":"https:\/\/iratemylocation.com\/?page_id=2492"},"modified":"2025-11-06T20:59:03","modified_gmt":"2025-11-06T20:59:03","slug":"accueil","status":"publish","type":"page","link":"https:\/\/iratemylocation.com\/","title":{"rendered":"Accueil"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"2492\" class=\"elementor elementor-2492\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a044d71 e-flex e-con-boxed e-con e-parent\" data-id=\"a044d71\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-d40c40f e-grid e-con-full e-con e-child\" data-id=\"d40c40f\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;slideshow&quot;,&quot;background_slideshow_gallery&quot;:[],&quot;background_slideshow_loop&quot;:&quot;yes&quot;,&quot;background_slideshow_slide_duration&quot;:5000,&quot;background_slideshow_slide_transition&quot;:&quot;fade&quot;,&quot;background_slideshow_transition_duration&quot;:500}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4600046 elementor-widget__width-auto elementor-absolute elementor-widget elementor-widget-heading\" data-id=\"4600046\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Enter your address<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c18a03 elementor-widget__width-initial elementor-absolute elementor-widget elementor-widget-text-editor\" data-id=\"5c18a03\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Our mission is to make renting more transparent and fair for everyone. Here, tenants can share their real experiences and honest reviews about rental prices, neighborhoods, and landlords \u2013 all on one trustworthy platform. By sharing our stories, we help each other find better places to live and make informed decisions with confidence. Together, we&#8217;re building a community where fair rent and respect go hand in hand.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-69f9cb5 elementor-widget__width-initial elementor-absolute elementor-widget elementor-widget-image\" data-id=\"69f9cb5\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/iratemylocation.com\/wp-content\/uploads\/elementor\/thumbs\/download-1-rch65elpmt7c0nvnbilgz3dzfbv3otoigljdq3w5q8.png\" title=\"download\" alt=\"download\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-fbecdb7 e-flex e-con-boxed e-con e-parent\" data-id=\"fbecdb7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4622f11 elementor-widget__width-initial elementor-absolute elementor-widget elementor-widget-html\" data-id=\"4622f11\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div style=\"text-align:center;\">\r\n  <input \r\n    id=\"autocomplete\" \r\n    placeholder=\"Search for an address in Montreal..\" \r\n    type=\"text\" \r\n    style=\"width:60%;max-width:500px;padding:15px 20px;border-radius:30px;border:none;font-size:18px;\">\r\n  \r\n  <button \r\n    id=\"search-btn\" \r\n    style=\"padding:15px 25px;border:none;border-radius:30px;background-color:#C9C7C7;color:white;font-size:18px;cursor:pointer;\">\r\n    \ud83d\udd0d\r\n  <\/button>\r\n<\/div>\r\n\r\n<script>\r\nfunction initAutocomplete() {\r\n  const input = document.getElementById('autocomplete');\r\n  const autocomplete = new google.maps.places.Autocomplete(input);\r\n\r\n  function redirectToResults() {\r\n    const address = input.value.trim();\r\n    if (!address) return;\r\n\r\n    \/\/ V\u00e9rifie si l'utilisateur est connect\u00e9\r\n    const isLoggedIn = document.cookie.includes('wordpress_logged_in');\r\n\r\n    if (!isLoggedIn) {\r\n      alert(\"Veuillez vous connecter ou cr\u00e9er un compte avant de rechercher une adresse.\");\r\n      window.location.href = '\/connexion';\r\n      return;\r\n    }\r\n\r\n    \/\/ Redirection vers la page r\u00e9sultats\r\n    window.location.href = '\/search-results?address=' + encodeURIComponent(address);\r\n  }\r\n\r\n  \/\/ Clic sur le bouton \ud83d\udd0d\r\n  document.getElementById('search-btn').addEventListener('click', redirectToResults);\r\n\r\n  \/\/ Appui sur \"Entr\u00e9e\" dans le champ\r\n  input.addEventListener('keydown', function(event) {\r\n    if (event.key === 'Enter') {\r\n      event.preventDefault(); \/\/ Emp\u00eache le rechargement de la page\r\n      redirectToResults();\r\n    }\r\n  });\r\n}\r\n<\/script>\r\n\r\n<script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyAyB0ElZpsM48At2rU-6bFvx9eyVOlBYF8&libraries=places&callback=initAutocomplete\" async defer><\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a90d5ef e-flex e-con-boxed e-con e-parent\" data-id=\"a90d5ef\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-95e7745 elementor-widget elementor-widget-html\" data-id=\"95e7745\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<style>\r\n\/* --- Lang Switcher --- *\/\r\n.lang-switcher {\r\n  position: absolute;\r\n  top: 15px;\r\n  left: 15px;\r\n  display: flex;\r\n  gap: 8px;\r\n  z-index: 1000;\r\n}\r\n\r\n.lang-btn {\r\n  padding: 5px 10px;\r\n  border-radius: 6px;\r\n  border: 1px solid #aaa;\r\n  background-color: #f2f2f2;\r\n  color: #333;\r\n  font-weight: 600;\r\n  font-size: 14px;\r\n  cursor: pointer;\r\n  transition: all 0.2s ease;\r\n}\r\n\r\n.lang-btn.active {\r\n  background-color: #333;\r\n  color: #fff;\r\n}\r\n\r\n.lang-btn:hover {\r\n  background-color: #ddd;\r\n}\r\n<\/style>\r\n\r\n<div class=\"lang-switcher\">\r\n  <button id=\"enBtn\" class=\"lang-btn\">EN<\/button>\r\n  <button id=\"frBtn\" class=\"lang-btn\">FR<\/button>\r\n<\/div>\r\n\r\n<script>\r\n  \/\/ --- D\u00e9tection automatique de la langue actuelle ---\r\n  const urlParams = new URLSearchParams(window.location.search);\r\n  const currentLang = urlParams.get(\"lang\") || \"en\";\r\n\r\n  const enBtn = document.getElementById(\"enBtn\");\r\n  const frBtn = document.getElementById(\"frBtn\");\r\n\r\n  \/\/ Appliquer le style actif\r\n  if (currentLang === \"fr\") {\r\n    frBtn.classList.add(\"active\");\r\n  } else {\r\n    enBtn.classList.add(\"active\");\r\n  }\r\n\r\n  \/\/ --- Actions sur clic ---\r\n  enBtn.addEventListener(\"click\", () => {\r\n    if (currentLang !== \"en\") {\r\n      window.location.href = updateQueryString(\"lang\", \"en\");\r\n    }\r\n  });\r\n\r\n  frBtn.addEventListener(\"click\", () => {\r\n    if (currentLang !== \"fr\") {\r\n      window.location.href = updateQueryString(\"lang\", \"fr\");\r\n    }\r\n  });\r\n\r\n  \/\/ --- Fonction pour mettre \u00e0 jour l\u2019URL ---\r\n  function updateQueryString(key, value) {\r\n    const url = new URL(window.location.href);\r\n    url.searchParams.set(key, value);\r\n    return url.toString();\r\n  }\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2035afc e-flex e-con-boxed e-con e-parent\" data-id=\"2035afc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4d68f96 e-flex e-con-boxed e-con e-parent\" data-id=\"4d68f96\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4941129 e-flex e-con-boxed e-con e-parent\" data-id=\"4941129\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8dece47 elementor-widget elementor-widget-html\" data-id=\"8dece47\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div style=\"position: fixed; top: 20px; right: 20px; display: flex; gap: 10px; z-index: 1000;\">\r\n  <button \r\n    onclick=\"window.location.href='\/connexion'\" \r\n    style=\"background-color: #C9C7C7; color: white; border: none; border-radius: 25px; padding: 10px 20px; cursor: pointer; font-family: 'Inter', sans-serif;\">\r\n    Login\r\n  <\/button>\r\n\r\n  <button \r\n    onclick=\"window.location.href='\/inscription'\" \r\n    style=\"background-color: #808080; color: white; border: none; border-radius: 25px; padding: 10px 20px; cursor: pointer; font-family: 'Inter', sans-serif;\">\r\n    Sign Up\r\n  <\/button>\r\n<\/div>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Enter your address Our mission is to make renting more transparent and fair for everyone. Here, tenants can share their real experiences and honest reviews about rental prices, neighborhoods, and landlords \u2013 all on one trustworthy platform. By sharing our stories, we help each other find better places to live and make informed decisions with [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-2492","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_hostinger_reach_plugin_has_subscription_block":false,"_hostinger_reach_plugin_is_elementor":false,"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"hibatollah.bouslama08@gmail.com","author_link":"https:\/\/iratemylocation.com\/fr\/author\/hibatollah-bouslama08gmail-com\/"},"uagb_comment_info":0,"uagb_excerpt":"Enter your address Our mission is to make renting more transparent and fair for everyone. Here, tenants can share their real experiences and honest reviews about rental prices, neighborhoods, and landlords \u2013 all on one trustworthy platform. By sharing our stories, we help each other find better places to live and make informed decisions with&hellip;","_links":{"self":[{"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/pages\/2492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/comments?post=2492"}],"version-history":[{"count":37,"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/pages\/2492\/revisions"}],"predecessor-version":[{"id":2681,"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/pages\/2492\/revisions\/2681"}],"wp:attachment":[{"href":"https:\/\/iratemylocation.com\/fr\/wp-json\/wp\/v2\/media?parent=2492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}