Skip to content

Commit

Permalink
updates socials
Browse files Browse the repository at this point in the history
  • Loading branch information
csaladenes committed Nov 6, 2024
1 parent 2a8215a commit 54ab663
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 42 deletions.
60 changes: 32 additions & 28 deletions html/host/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,24 @@
content="Global Entrepreneurship Monitor Romania - Research conducted at Babeș-Bolyai University of Cluj-Napoca. Analyzing entrepreneurial attitudes, activity and aspirations in Romania." />
<meta name="keywords"
content="GEM Romania, Global Entrepreneurship Monitor, entrepreneurship, Babeș-Bolyai University, Cluj-Napoca, business research, Romanian economy, startup ecosystem, business development, UBB Cluj" />
<meta property="og:image" content="//gem2.csaladen.es/snapshot.png" />
<meta property="twitter:image" content="//gem2.csaladen.es/snapshot.png" />
<meta property="og:image" content="https://gem2.csaladen.es/snapshot.png" />
<meta property="twitter:image" content="https://gem2.csaladen.es/snapshot.png" />
<meta property="og:description"
content="Global Entrepreneurship Monitor Romania - Research conducted at Babeș-Bolyai University of Cluj-Napoca. Analyzing entrepreneurial attitudes, activity and aspirations in Romania." />
<meta property="twitter:description"
content="Global Entrepreneurship Monitor Romania - Research conducted at Babeș-Bolyai University of Cluj-Napoca. Analyzing entrepreneurial attitudes, activity and aspirations in Romania." />
<meta property="og:title" content="Global Entrepreneurship Monitor 🇷🇴 Romania" />
<meta property="twitter:title" content="Global Entrepreneurship Monitor 🇷🇴 Romania" />
<meta http-equiv="content-Type" content="text/html; charset=utf-8" />
<meta property="og:url" content="https://econ.ubbcluj.ro/entrepreneurship/" />
<meta property="twitter:url" content="https://econ.ubbcluj.ro/entrepreneurship/" />
<meta property="og:site_name" content="Global Entrepreneurship Monitor 🇷🇴 Romania" />
<meta property="fb:admins" content="100943737036023614165" />
<link rel="shortcut icon" href="//gem2.csaladen.es/favicon.ico" />
<link rel="shortcut icon" href="//gem2.csaladen.es/favicon.ico" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<link rel="shortcut icon" href="https://gem2.csaladen.es/favicon.ico" />
<link rel="shortcut icon" href="https://gem2.csaladen.es/favicon.ico" />

<title>Global Entrepreneurship Monitor 🇷🇴 Romania</title>

Expand All @@ -65,26 +68,27 @@
}
</style>

<body>
<iframe id="mainFrame" allow="geolocation"></iframe>
<script>
const iframe = document.getElementById('mainFrame');

// For local testing with port 5500/8000/etc
const isLocal = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1';
const baseUrl = isLocal ? '//localhost:8001' : '//gem2.csaladen.es';

// Get the URL parameters
const urlParams = new URLSearchParams(window.location.search);
const targetUrl = urlParams.get('url');

// Set initial src
if (targetUrl) {
const encodedUrl = encodeURIComponent(targetUrl);
iframe.src = `${baseUrl}/?url=${encodedUrl}`;
} else {
iframe.src = baseUrl;
}
</script>
</body>
</html>
<body>
<iframe id="mainFrame" allow="geolocation"></iframe>
<script>
const iframe = document.getElementById('mainFrame');

// For local testing with port 5500/8000/etc
const isLocal = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1';
const baseUrl = isLocal ? '//localhost:8001' : '//gem2.csaladen.es';

// Get the URL parameters
const urlParams = new URLSearchParams(window.location.search);
const targetUrl = urlParams.get('url');

// Set initial src
if (targetUrl) {
const encodedUrl = encodeURIComponent(targetUrl);
iframe.src = `${baseUrl}/?url=${encodedUrl}`;
} else {
iframe.src = baseUrl;
}
</script>
</body>

</html>
31 changes: 17 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,28 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="content-Type" content="text/html; charset=utf-8" />
<!-- <meta name="description"
content="Proiect de cercetare și monitorizare a antreprenoriatului cu cel mai puternic impact la nivel global | The world's foremost study of entrepreneurship | A világ legrangosabb vállalkozói kutatása" />
<meta name="keywords"
content="csaladenes, d3.js, data visualization, infographic, d3plus, d3, echarts, leaflet, map, terkep, szekelyland, szekelydata, romania, transylvania, erdely, gem, global entrepreneurship monitor, monitor, entrepreneurhsip, antreprenoriat, babes-bolyai, ubbcluj, cluj, cluj-napoca, kolozsvar" />
<meta property="og:image" content="https://gem2.csaladen.es/gem_snapshot.jpg" />
<meta property="twitter:image" content="https://gem2.csaladen.es/gem_snapshot.jpg" />
<meta property="og:description"
content="Proiect de cercetare și monitorizare a antreprenoriatului cu cel mai puternic impact la nivel global | The world's foremost study of entrepreneurship | A világ legrangosabb vállalkozói kutatása" />
<meta property="twitter:description"
content="Proiect de cercetare și monitorizare a antreprenoriatului cu cel mai puternic impact la nivel global | The world's foremost study of entrepreneurship | A világ legrangosabb vállalkozói kutatása" /> -->
<meta name="description"
content="Global Entrepreneurship Monitor Romania - Research conducted at Babeș-Bolyai University of Cluj-Napoca. Analyzing entrepreneurial attitudes, activity and aspirations in Romania." />
<meta name="keywords"
content="GEM Romania, Global Entrepreneurship Monitor, entrepreneurship, Babeș-Bolyai University, Cluj-Napoca, business research, Romanian economy, startup ecosystem, business development, UBB Cluj" />
<meta property="og:image" content="//gem2.csaladen.es/snapshot.png" />
<meta property="twitter:image" content="https://gem2.csaladen.es/snapshot.png" />
<meta property="og:description"
content="Global Entrepreneurship Monitor Romania - Research conducted at Babeș-Bolyai University of Cluj-Napoca. Analyzing entrepreneurial attitudes, activity and aspirations in Romania." />
<meta property="twitter:description"
content="Global Entrepreneurship Monitor Romania - Research conducted at Babeș-Bolyai University of Cluj-Napoca. Analyzing entrepreneurial attitudes, activity and aspirations in Romania." />
<meta property="og:title" content="Global Entrepreneurship Monitor 🇷🇴 Romania" />
<meta property="twitter:title" content="Global Entrepreneurship Monitor 🇷🇴 Romania" />
<meta http-equiv="content-Type" content="text/html; charset=utf-8" />
<meta property="og:url" content="https://econ.ubbcluj.ro/entrepreneurship/" />
<meta property="twitter:url" content="https://econ.ubbcluj.ro/entrepreneurship/" />
<meta property="og:site_name" content="Global Entrepreneurship Monitor 🇷🇴 Romania" />
<meta property="fb:admins" content="100943737036023614165" />
<link rel="shortcut icon" href="//gem2.csaladen.es/favicon.ico" />
<link rel="shortcut icon" href="//gem2.csaladen.es/favicon.ico" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<link rel="shortcut icon" href="https://gem2.csaladen.es/favicon.ico" />
<link rel="shortcut icon" href="https://gem2.csaladen.es/favicon.ico" />

<title>Global Entrepreneurship Monitor 🇷🇴 Romania</title>

Expand Down Expand Up @@ -284,7 +287,7 @@
panelId: panelId
}, 'https://gem.csaladen.es');
}

// Prevent default anchor behavior
return false;
}
Expand Down

0 comments on commit 54ab663

Please sign in to comment.