Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Fix Icons and decrease loading time
Browse files Browse the repository at this point in the history
Argent Update in May 23 caused by sudden stop in Icons and to decrease loading time and unused assets
  • Loading branch information
HamzaElkotp committed Jun 1, 2023
1 parent 15683fa commit c9b9d5b
Show file tree
Hide file tree
Showing 27 changed files with 38 additions and 30 deletions.
Binary file removed Source_Code/assets/images/vectors/Cylinder.png
Binary file not shown.
Binary file removed Source_Code/assets/images/vectors/Pyramid.png
Binary file not shown.
Binary file removed Source_Code/assets/images/vectors/Triangle.png
Binary file not shown.
15 changes: 0 additions & 15 deletions Source_Code/assets/javascript/update.json

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const donateClose = document.querySelector('#donateClose');


const recentVesrion = window.localStorage.recentVesrion || (window.localStorage.recentVesrion = '');
const currentVersion = '1.2.2';
const currentVersion = '1.2.3.1';


const today = (new Date).toLocaleDateString();
Expand Down Expand Up @@ -50,7 +50,7 @@ function preload(){
loadSpace.classList.add('trans');
chatSpace.classList.remove('trans');
welcomingMsg.innerText = welcomeMsgs[Math.floor(Math.random() * (welcomeMsgs.length - 1))];
}, 1000);
}, 10);
}
document.body.onload = ()=>{
preload();
Expand Down
12 changes: 12 additions & 0 deletions ZChatGPT/assets/javascript/update.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "😔Sorry For What Happened❗",
"version": "<span class='is-size-6'>22nd May</span> <span class='is-size-5'>Version</span> 1.2.3.1",
"note": "Every Month There Is A Major Update",
"newNote": "See What Is New:👇",
"features": [
"Fix Icons",
"Decrease Loading page time"
],
"contact": "For problems and sugessions contact us on <span class='has-text-success'>[email protected]</span>",
"buttonMsg": "I forgive you"
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
9 changes: 9 additions & 0 deletions ZChatGPT/assets/style/all.min.css

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,9 @@ body,html{
width: 100%;
height: 100vh;
}
.donations {
.popupbar {
width: calc(100% - 40px);
max-width: 600px;
padding: 15px;
background-color: var(--whiteBg);
position: absolute;
Expand All @@ -278,7 +279,7 @@ body,html{
padding-left: 15px !important;
font-size: 14px;
}
.donations .heada {
.popupbar .heada {
font-size: 18px;
font-weight: 600;
}
Expand Down Expand Up @@ -314,6 +315,8 @@ i.donate{
}




.full-shadowT{
position: absolute;
width: 100%;
Expand Down
Binary file added ZChatGPT/assets/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file added ZChatGPT/assets/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file added ZChatGPT/assets/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file added ZChatGPT/assets/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file added ZChatGPT/assets/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file added ZChatGPT/assets/webfonts/fa-solid-900.woff2
Binary file not shown.
Binary file added ZChatGPT/assets/webfonts/fa-v4compatibility.ttf
Binary file not shown.
Binary file added ZChatGPT/assets/webfonts/fa-v4compatibility.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion Source_Code/manifest.json → ZChatGPT/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "ZChatGPT",
"description": "A simple extension to allow browser users to use ChatGPT in any tab without the need to open ChatGPT or having an account.",
"version": "1.2.3",
"version": "1.2.3.1",
"icons":{
"16": "/assets/logo/icon16.png",
"48": "/assets/logo/icon48.png",
Expand Down
19 changes: 9 additions & 10 deletions Source_Code/popup.html → ZChatGPT/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,23 @@
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='/assets/style/main.css'>
<link rel='stylesheet' type='text/css' media='screen' href='/assets/style/bulma.css'>
<link href="https://cdn.jsdelivr.net/gh/hung1001/font-awesome-pro-v6@44659d9/css/all.min.css" rel="stylesheet" type="text/css" />
<link rel='stylesheet' type='text/css' media='screen' href='/assets/style/all.min.css'>
</head>
<body>
<div class="conatiner load" id="load">
<div class="centeredBox">
<img src="/assets/logo/icon.png" alt="">
<img src="/assets/logo/icon128.png" alt="">
<p class="authorname"><span class="powered">by</span> <span class="fnames">GPT</span>core Studio</p>
</div>
</div>

<div class="conatiner chatapp trans" id="chatapp">
<div class="innerContainer">
<div class="button is-primary is-small donate" target="_blank" id="donateBtn">Support us <i class="fa-duotone fa-circle-dollar-to-slot donate"></i></div>
</div>
<div class="button is-primary is-small donate" id="donateBtn">Support us <i class="fa-solid fa-circle-dollar-to-slot donate"></i></div>


<div class="chat msgBox is-relative innerContainer" id="msgBox">
<div class="centeredBox starter" id="welcomeBox">
<i class="is-size-1 has-text-primary fa-duotone fa-robot" style="--fa-primary-opacity: 0.8; --fa-secondary-opacity: 0.3;"></i>
<i class="is-size-1 has-text-primary fa-solid fa-robot" style="opacity: 0.8"></i>
<p class="is-size-6" id="welcommsg"></p>
<p class="is-size-6">Write anything to start</p>
</div>
Expand Down Expand Up @@ -89,22 +88,22 @@
</form>

<div class="controler innerContainer is-flex">
<button class="settings contbtn" id="settings"><i class="fa-duotone fa-sliders"></i></button>
<button class="settings contbtn" id="settings"><i class="fa-solid fa-sliders"></i></button>
<textarea name="userMSG" id="userMsg" class="input" placeholder="Write anything here to chat!"></textarea>
<button class="sendBTN contbtn" id="submitBTN"><i class="fa-solid fa-paper-plane-top"></i></button>
<button class="sendBTN contbtn" id="submitBTN"><i class="fa-solid fa-paper-plane"></i></button>
</div>
</section>
</div>

<div class="full-shadowBg trans" id="donationPop">
<div class="is-relative popup">
<div class="donations">
<div class="popupbar">
<i class="fa-solid fa-xmark xmark" id="donateClose"></i>
<p class="par1 has-text-centered">🎊Donations help this extension continue for free.🥳</p>
<p class="nota">This extension <span class="has-text-danger-dark">depends</span> on donations because we don't provide <span class="has-text-warning-dark">paid</span> sevices or <span class="has-text-warning-dark">selling</span> users data.</p>
<div class="dWays">
<h1 class="heada">Support on:</h1>
<a href="https://www.buymeacoffee.com/HamzaElkotp/w/17860" target="_blank" class="button is-bcoffee is-fullwidth">Buy Me a Coffee <i class="fa-duotone fa-cup-togo"></i></a>
<a href="https://www.buymeacoffee.com/HamzaElkotp/w/17860" target="_blank" class="button is-bcoffee is-fullwidth">Buy Me a Coffee <i class="fa-solid fa-mug-hot"></i></a>
<a href="https://www.patreon.com/HamzaElkotb" target="_blank" class="button is-patreon is-fullwidth"><i class="fa-brands fa-patreon"></i> Patreon</a>
<a href="https://www.paypal.com/paypalme/dtcHamza" target="_blank" class="button is-paypal is-fullwidth"><i class="fa-brands fa-paypal"></i> PayPal</a>
</div>
Expand Down

0 comments on commit c9b9d5b

Please sign in to comment.