Move newsletter panel inside login-panel as hidden div
This commit is contained in:
+2
-4
@@ -33,7 +33,7 @@
|
|||||||
<h2 class="hide-de">Über den Channel</h2>
|
<h2 class="hide-de">Über den Channel</h2>
|
||||||
<h2 class="hide-en">About the Channel</h2>
|
<h2 class="hide-en">About the Channel</h2>
|
||||||
<p class="hide-de">Willkommen in der Paraguay SRL LLC Community! Wir sind eine engagierte Gruppe von deutschen und amerikanischen Expats, die in Paraguay eine LLC oder SRL betreiben und sich darauf freuen ihre Erfahrungen zu teilen.</p>
|
<p class="hide-de">Willkommen in der Paraguay SRL LLC Community! Wir sind eine engagierte Gruppe von deutschen und amerikanischen Expats, die in Paraguay eine LLC oder SRL betreiben und sich darauf freuen ihre Erfahrungen zu teilen.</p>
|
||||||
<p class="hide-en">Welcome to the Paraguay SRL LLC community! We are a dedicated group of German and American expats running an LLC or SRL in Paraguay and eager to share our experiences.</p>
|
<p class="hide-en">Welcome to the Paraguay SRL LLC community! We are eine dedicated group of German and American expats running an LLC or SRL in Paraguay and eager to share our experiences.</p>
|
||||||
<h3 class="hide-de">Unsere Themen</h3>
|
<h3 class="hide-de">Unsere Themen</h3>
|
||||||
<h3 class="hide-en">Our Topics</h3>
|
<h3 class="hide-en">Our Topics</h3>
|
||||||
<ul class="hide-de"><li>Banken & Zahlungsverkehr</li><li>Rechtliches & Gesellschaftsrecht</li><li>Steuern & Buchhaltung</li></ul>
|
<ul class="hide-de"><li>Banken & Zahlungsverkehr</li><li>Rechtliches & Gesellschaftsrecht</li><li>Steuern & Buchhaltung</li></ul>
|
||||||
@@ -105,10 +105,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
|
||||||
|
|
||||||
<aside class="sidebar-col hidden" id="newsletter-panel">
|
<div class="newsletter-panel hidden" id="newsletter-panel-inner">
|
||||||
<div class="newsletter-panel">
|
|
||||||
<h3 class="hide-de">Newsletter</h3>
|
<h3 class="hide-de">Newsletter</h3>
|
||||||
<h3 class="hide-en">Newsletter</h3>
|
<h3 class="hide-en">Newsletter</h3>
|
||||||
<form id="newsletter-form">
|
<form id="newsletter-form">
|
||||||
|
|||||||
+1
-2
@@ -24,14 +24,13 @@ function checkSession() {
|
|||||||
const intro = document.getElementById('intro-section');
|
const intro = document.getElementById('intro-section');
|
||||||
const news = document.getElementById('news-col');
|
const news = document.getElementById('news-col');
|
||||||
const login = document.getElementById('login-panel');
|
const login = document.getElementById('login-panel');
|
||||||
const newsletter = document.getElementById('newsletter-panel');
|
const newsletter = document.querySelector('#login-panel .newsletter-panel');
|
||||||
const notebook = document.getElementById('notebook-panel');
|
const notebook = document.getElementById('notebook-panel');
|
||||||
console.log('checkSession elements:', { intro, news, login, newsletter, notebook });
|
console.log('checkSession elements:', { intro, news, login, newsletter, notebook });
|
||||||
if (sessionid) {
|
if (sessionid) {
|
||||||
if (intro) intro.classList.add('hidden');
|
if (intro) intro.classList.add('hidden');
|
||||||
if (news) news.classList.add('hidden');
|
if (news) news.classList.add('hidden');
|
||||||
if (login) login.classList.add('hidden');
|
if (login) login.classList.add('hidden');
|
||||||
if (newsletter) newsletter.classList.add('hidden');
|
|
||||||
if (notebook) notebook.classList.remove('hidden');
|
if (notebook) notebook.classList.remove('hidden');
|
||||||
} else {
|
} else {
|
||||||
if (notebook) notebook.classList.add('hidden');
|
if (notebook) notebook.classList.add('hidden');
|
||||||
|
|||||||
Reference in New Issue
Block a user