Our 180 acres overlook the city of San Diego, Mission Bay and the Pacific Ocean and create the perfect setting for those seeking a rigorous and rewarding academic environment where students and faculty are partners in learning. From this vantage point, anything is possible.<\/p>" , size:"normal", theme: "standard" , position: "left" , buttons: null } } , { MediaGroup: { label: "" , heading: "" , description: "" , items: [ { type: "image", media: { src: "https://www.sandiego.edu/images/fast-facts-our-campus.jpg", alt: "The USD campus with the Immaculata church", srcSet: [ {width: 480, imageSrc: 'https://s8kvb6qnle.execute-api.us-west-2.amazonaws.com/?hash=1d7dafa5f272ff295a7dc3413f7cb4f0&url=https://www.sandiego.edu/images/fast-facts-our-campus.jpg&width=480&webp=false'}, {width: 640, imageSrc: 'https://s8kvb6qnle.execute-api.us-west-2.amazonaws.com/?hash=1d7dafa5f272ff295a7dc3413f7cb4f0&url=https://www.sandiego.edu/images/fast-facts-our-campus.jpg&width=640&webp=false'}, {width: 960, imageSrc: 'https://s8kvb6qnle.execute-api.us-west-2.amazonaws.com/?hash=1d7dafa5f272ff295a7dc3413f7cb4f0&url=https://www.sandiego.edu/images/fast-facts-our-campus.jpg&width=960&webp=false'}, {width: 2100, imageSrc: 'https://s8kvb6qnle.execute-api.us-west-2.amazonaws.com/?hash=1d7dafa5f272ff295a7dc3413f7cb4f0&url=https://www.sandiego.edu/images/fast-facts-our-campus.jpg&width=2100&webp=false'} ], } , text: { label: null, heading: "Our Campus" , description: "
\"The University of San Diego is a binational anchor. It\'s an opportunity and a responsibility for us, being so close to the border, to reach out to partners in Tijuana the same way as we do here.\"<\/p>" , buttons: null } ], size: "normal", theme: "light", position: "left", animate: { enabled: true }, introPosition: "center", introTheme: "standard", display: { type: "list", list: { align: "left" } } } } ] } ] }, contact:{ showSocial: true, showDirectory: true, contactInfo: { siteName: "University of San Diego", parentDepartment: null , "location": { "building": null, "street": "5998 Alcalá Park", "city": "San Diego, CA 92110", "url": "https://www.sandiego.edu/maps/", }, "phone": ["(619) 260-4600"], "fax": null, "email": null, showHours: false, hours: null, social: [ { url: "https://www.facebook.com/usandiego", brand: "facebook" }, { url: "https://twitter.com/uofsandiego", brand: "twitter" }, { url: "https://www.instagram.com/uofsandiego/", brand: "instagram" }, { url: "https://www.linkedin.com/school/university-of-san-diego/", brand: "linkedin" }, { url: "https://vimeo.com/usd", brand: "vimeo" }, { url: "https://www.youtube.com/uofsandiego", brand: "youtube" } ] , directoryURL: "/about/leadership/?alpha=&expert=&division_id=NaN&office_department_id=123&sub_department_id=NaN&sub_unit_id=NaN&user_type=&list_view_type=box-view&group_id=&show_image=&details_button=hide-details-button&row_limit=24&state=NaNamp;&usd_expert_keyword=&department_filter_type=0&filter_action=clicks" }, }, footer:{ editPageText: "Edit Page in Cascade", editPageUrl: "https://cms.sandiego.edu/entity/open.act?id=630d5a8eac1e0015258e60263ca75782&type=page&action=edit", cascadeURL: "https://cms.sandiego.edu/entity/open.act?id=630d5a8eac1e0015258e60263ca75782&type=page&action=edit", type: "main", size: "large", inverse: true, logos: { horizontal: { normal: "https://www.sandiego.edu/assets/global/images/logos/usd-logo-horizontal.png", inverse: "https://www.sandiego.edu/assets/global/images/logos/usd-logo-horizontal-inverse.png", }, stacked: { normal: "https://www.sandiego.edu/assets/global/images/logos/usd-logo-stacked.png", inverse: "https://www.sandiego.edu/assets/global/images/logos/usd-logo-stacked-inverse.png", } } } } } }; var server = window.location.hostname.split('.')[0]; switch(server) { case "cms": // If in cascade, use the file on staging server = "staging"; break; case "build": server = "build"; break; case "staging": server = "staging"; break; default: server = "www"; } // Call vars var navCall, footerCall; // SITE NAVIGATION var navSrc = data.Page.template.siteNav.navSrc; // json nav for site is here var navItems = data.Page.template.siteNav.items; if (!Array.isArray(navItems) || !navItems.length) { // if nav is empty, its the initial page load // insert json file array of nav in its place if (navSrc) { navCall = axios.get(navSrc); } } var footerJSON = "sandiego.edu/_common/json/footer.json"; var lang = '$language'; if (lang == 'es') { footerJSON = "sandiego.edu/_common/json/footer-es.json"; } footerCall = axios.get("https://" + server + "." + footerJSON); axios.all([navCall, footerCall]) .then(function (responses) { const navResponse = responses[0]; const footerResponse = responses[1]; // replace empty nav "items" prop with json nav array if (navResponse) { if(typeof navResponse.data === "string"){ console.warn("siteNav returned bad format."); }else{ buildSiteNav(navResponse.data); buildSidebar(navResponse.data); //console.log(data.Page.template.sidebar.items) } } data.Page.template.footer.links = footerResponse.data.all; data.Page.template.footer.linkGroups = footerResponse.data.groups; data.Page.template.footer.legalLinks = footerResponse.data.legalLinks; }) .catch(function (error) { // handle error console.log(error); }) .finally(function () { // if more stuff needed initCamino(); }); function initCamino() { //console.log(data); var JSONString = decodeHTMLEntities(JSON.stringify(data, replacer)); window.Camino.setJSONString(JSONString); window.Camino.render(document.getElementById("root")); } })();