Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed Oct 1, 2024
1 parent fd1ed79 commit 5398eb7
Show file tree
Hide file tree
Showing 14 changed files with 79 additions and 51 deletions.
2 changes: 1 addition & 1 deletion content/ar/itt.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ irm bit.ly/emadadel | iex
{{< /copycode >}}


{{< video "https://img.youtube.com/vi/QmO82OTsU5c/hqdefault.jpg" "https://youtu.be/QmO82OTsU5c" "Watch Demo" >}}
{{< video "https://img.youtube.com/vi/QmO82OTsU5c/hqdefault.jpg" "https://www.youtube.com/embed/QmO82OTsU5c" "Watch Demo" >}}

{{< download "https://github.com/emadadel4/ITT" "Source code" >}}

Expand Down
3 changes: 3 additions & 0 deletions content/en/itt.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@ irm bit.ly/emadadel | iex
{{< /copycode >}}


{{< video "https://img.youtube.com/vi/QmO82OTsU5c/hqdefault.jpg" "https://www.youtube.com/embed/QmO82OTsU5c" "Watch Demo" >}}

{{< download "https://github.com/emadadel4/ITT" "Source code" >}}

{{< donation "https://www.buymeacoffee.com/emadadel" "https://cdn.buymeacoffee.com/buttons/default-orange.png" >}}
3 changes: 0 additions & 3 deletions layouts/partials/aside-content.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<div class="left-content" id="card">
<h4>Suggested videos</h4>
<small>
Video is more accurate than 100% of the western mainstream media and news outlets
</small>
<iframe src="https://www.youtube.com/embed/UcyNg1B8FJI" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<h4>How to use ITT</h4>
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/donation.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="download" id="card">
<div class="download" id="card" style="margin-top: 20px;">
<h2 style="margin-bottom: 25px;">{{ i18n "donation" }}</h2>
<a href="{{ .Get 0 }}">
<img src="{{ .Get 1 }}" alt="donation" height="40">
Expand Down
6 changes: 2 additions & 4 deletions layouts/shortcodes/video.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<div class="Video" id="card" style="margin-top: 25px; margin-bottom: 25px;">
<div class="Video" style="margin-top: 25px; margin-bottom: 25px;">
<h2>{{ .Get 2 }}</h2>
<a href="{{ .Get 1 }}">
<img src="{{ .Get 0 }}" alt="video" width="400">
</a>
<iframe src="{{ .Get 1 }}" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
3 changes: 0 additions & 3 deletions public/ar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ <h1 style="margin-bottom: 25px;">
<aside>
<div class="left-content" id="card">
<h4>Suggested videos</h4>
<small>
Video is more accurate than 100% of the western mainstream media and news outlets
</small>
<iframe src="https://www.youtube.com/embed/UcyNg1B8FJI" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<h4>How to use ITT</h4>
Expand Down
11 changes: 3 additions & 8 deletions public/ar/itt/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,9 @@ <h4 id="متوفر-فقط-على-نظام-ويندوز-10-و-11">متوفر فق
</div>
</div>

<div class="Video" id="card" style="margin-top: 25px; margin-bottom: 25px;">
<div class="Video" style="margin-top: 25px; margin-bottom: 25px;">
<h2>Watch Demo</h2>
<a href="https://youtu.be/QmO82OTsU5c">
<img src="https://img.youtube.com/vi/QmO82OTsU5c/hqdefault.jpg" alt="video" width="400">
</a>
<iframe src="https://www.youtube.com/embed/QmO82OTsU5c" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>

<section class="download" id="card">
Expand All @@ -137,7 +135,7 @@ <h1>روابط</h1>
</ul>
</section>

<div class="download" id="card">
<div class="download" id="card" style="margin-top: 20px;">
<h2 style="margin-bottom: 25px;">الدعم المدي</h2>
<a href="https://www.buymeacoffee.com/emadadel">
<img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="donation" height="40">
Expand All @@ -156,9 +154,6 @@ <h2 style="margin-bottom: 25px;">الدعم المدي</h2>
<aside>
<div class="left-content" id="card">
<h4>Suggested videos</h4>
<small>
Video is more accurate than 100% of the western mainstream media and news outlets
</small>
<iframe src="https://www.youtube.com/embed/UcyNg1B8FJI" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<h4>How to use ITT</h4>
Expand Down
21 changes: 10 additions & 11 deletions public/assets/css/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@
--link: blue;
--hover:#7882ee;
--footer:black;
--glow: rgb(212, 212, 212);
}

body.light {

--bg: #2b2d31;
--FGColor: #3c3f44;
--bg: #24292e;
--FGColor: #2f363d;
--text: white;
--textSoft: white;
--button:gold;
--link:#098fd4;
--hover:gold;
--footer:white;

--glow: #24292e;
}

body {
Expand Down Expand Up @@ -119,7 +120,7 @@ select:hover {
/* Custom */
#card{
background-color: var(--FGColor);
box-shadow: 1px 1px 50px rgba(17, 17, 17, 0.1);
box-shadow: 0px 0px 5px 0.1px var(--glow);
border-radius: 5px;
padding: 15px;
}
Expand Down Expand Up @@ -178,16 +179,14 @@ select:hover {
}

iframe {
display: block;
margin: 10px 0;
display: block;
width: 100%;
height: 100%;
}


/* End Custom */

/* Mobile % Tablet Screen */
@media (max-width:900px) {
@media (max-width:768px) {

.container {
grid-template-columns: 1fr;
Expand All @@ -204,8 +203,8 @@ iframe {
}

article img{
width: 100%;
height: 100%;
width: 50%;
height: 50%;

}

Expand Down
19 changes: 19 additions & 0 deletions public/assets/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ article {

}

.prevImage img{
width: 80%;
height: 100%;

}

.Video iframe {
height: 500px;
width: 100%;
padding: 20px;

}

@media (max-width: 768px) {
.Video iframe {
width: 100%;
height: auto;
}
}
3 changes: 0 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ <h1 style="margin-bottom: 25px;">
<aside>
<div class="left-content" id="card">
<h4>Suggested videos</h4>
<small>
Video is more accurate than 100% of the western mainstream media and news outlets
</small>
<iframe src="https://www.youtube.com/embed/UcyNg1B8FJI" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<h4>How to use ITT</h4>
Expand Down
14 changes: 11 additions & 3 deletions public/itt/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,24 @@ <h4 id="on-windows-1011">On Windows 10/11</h4>
</div>
</div>

<div class="Video" style="margin-top: 25px; margin-bottom: 25px;">
<h2>Watch Demo</h2>
<iframe src="https://www.youtube.com/embed/QmO82OTsU5c" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>

<section class="download" id="card">
<h1>Links</h1>
<ul>
<li><a href="https://github.com/emadadel4/ITT">Source code</a></li>
</ul>
</section>

<div class="download" id="card" style="margin-top: 20px;">
<h2 style="margin-bottom: 25px;">Support</h2>
<a href="https://www.buymeacoffee.com/emadadel">
<img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="donation" height="40">
</a>
</div>

</p>

Expand All @@ -144,9 +155,6 @@ <h1>Links</h1>
<aside>
<div class="left-content" id="card">
<h4>Suggested videos</h4>
<small>
Video is more accurate than 100% of the western mainstream media and news outlets
</small>
<iframe src="https://www.youtube.com/embed/UcyNg1B8FJI" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<h4>How to use ITT</h4>
Expand Down
3 changes: 0 additions & 3 deletions public/soura/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ <h1>Links</h1>
<aside>
<div class="left-content" id="card">
<h4>Suggested videos</h4>
<small>
Video is more accurate than 100% of the western mainstream media and news outlets
</small>
<iframe src="https://www.youtube.com/embed/UcyNg1B8FJI" title="Average MIDDLE EAST Fighter" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<h4>How to use ITT</h4>
Expand Down
21 changes: 10 additions & 11 deletions static/assets/css/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@
--link: blue;
--hover:#7882ee;
--footer:black;
--glow: rgb(212, 212, 212);
}

body.light {

--bg: #2b2d31;
--FGColor: #3c3f44;
--bg: #24292e;
--FGColor: #2f363d;
--text: white;
--textSoft: white;
--button:gold;
--link:#098fd4;
--hover:gold;
--footer:white;

--glow: #24292e;
}

body {
Expand Down Expand Up @@ -119,7 +120,7 @@ select:hover {
/* Custom */
#card{
background-color: var(--FGColor);
box-shadow: 1px 1px 50px rgba(17, 17, 17, 0.1);
box-shadow: 0px 0px 5px 0.1px var(--glow);
border-radius: 5px;
padding: 15px;
}
Expand Down Expand Up @@ -178,16 +179,14 @@ select:hover {
}

iframe {
display: block;
margin: 10px 0;
display: block;
width: 100%;
height: 100%;
}


/* End Custom */

/* Mobile % Tablet Screen */
@media (max-width:900px) {
@media (max-width:768px) {

.container {
grid-template-columns: 1fr;
Expand All @@ -204,8 +203,8 @@ iframe {
}

article img{
width: 100%;
height: 100%;
width: 50%;
height: 50%;

}

Expand Down
19 changes: 19 additions & 0 deletions static/assets/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ article {

}

.prevImage img{
width: 80%;
height: 100%;

}

.Video iframe {
height: 500px;
width: 100%;
padding: 20px;

}

@media (max-width: 768px) {
.Video iframe {
width: 100%;
height: auto;
}
}

0 comments on commit 5398eb7

Please sign in to comment.