Skip to content

Commit

Permalink
content
Browse files Browse the repository at this point in the history
  • Loading branch information
dev committed May 7, 2024
1 parent bfda5dc commit 8aae000
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 1 deletion.
58 changes: 58 additions & 0 deletions hotline.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<style>
.flex {
display: flex;
}
.flex-1 {
flex: 1;
}
</style>

<div>
<div>
<h3>Call us</h3>
<div>
<a href="tel://0048223500908,1,2207%23,47087%23">☎️ +48 22 350 09 08,1,2207#,47087# ☎️</a>
</div>
</div>
<div class="lg:flex flex-row">
<div class="lg:flex-1">
<img src="/dist/pexels-sora-shimazaki-5935792.jpg" alt="" srcset="" style="width: 100%; padding: 20px; box-sizing: border-box;">
</div>
<div class="lg:flex-1">
<div>
<h3>JavaScript Hotline</h3>
<hr>
JavaScript Phoneline Support
</div>
<div>
Do you have doubts how you can solve your JavaScript issue or maybe you would like just to discuss?
Let us help you and give us a call.
</div>
<hr>
<div>
<div>
<a href="tel://0048223500908,1,2207%23,47087%23">Join the call</a>
</div>
<div>
Number of people in the conference: <span id="counter">0</span>
</div>
</div>
<div>
<h2>Example</h2>
<li>How to solve JavaScript syntax error?</li>
<li>Which library to choose?</li>
<li>Which charts library will be a perfect fit for my needs?</li>
<li>Which headless CMS to choose?</li>
<li>Architectural decisions discussions</li>
<li>Which datepicker would be the best for my case?</li>
Does it have to support date-ranges? How about time selection? Does it need to have custom styles?
</div>
</div>
</div>
<div style="margin-top: 300px;">
<img src="/dist/hotline1.png" style="width: 100%">
</div>
<div style="margin-top: 300px; margin-bottom: 300px;">
<img src="/dist/hotline2.png" style="width: 100%">
</div>
</div>
25 changes: 24 additions & 1 deletion hotline.js
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
console.log('JavaScript Hotline™ -- by WarsawJS')
console.log('WarsawJS Hotline™ -- by WarsawJS')

let url = '';
url = 'http://192.168.0.122:8081'
url = 'https://warsawjs.github.io/dist'
fetch(url + '/hotline.html').then(async r => {
const html = await r.text()
window.hothtml.innerHTML = html.replace(/\/dist/g, url);
})

// <div class="nav-item text-center my-5">

window.content.innerHTML = `
<div class="container">
<div class="my-5">
<h2>
WarsawJS Hotline™
</h2>
<div id="hothtml"></div>
</div>
</div>
`;

// alert(314);
Binary file added hotline1.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 hotline2.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 pexels-mati-5952647.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 pexels-sora-shimazaki-5935792.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 pexels-tima-miroshnichenko-5380662.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8aae000

Please sign in to comment.