Switch to light mode

This commit is contained in:
Win 2023-08-20 22:02:24 +07:00
parent 4dcd202425
commit e04a4157a7
12 changed files with 10 additions and 8 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
index.js Normal file → Executable file
View File

0
package.json Normal file → Executable file
View File

6
public/assets/css/style.css Normal file → Executable file
View File

@ -17,9 +17,11 @@ button{
pre{
white-space:pre-line
}
form, input, textarea, label, p, select, option{
color: #fff !important
.column {
flex-grow: 1;
}
#icon{
max-width:45px;
height:auto;

0
public/assets/js/dropdown.js Normal file → Executable file
View File

2
public/assets/js/fetch.js Normal file → Executable file
View File

@ -25,7 +25,7 @@ $('#formSubmit').click(function () {
if(response) {
const url = body.url;
$('#audioContainer').css("display", "block");
$('#resultContainer').css("display", "block");
setTimeout(() => {

0
public/assets/material/material.min.css vendored Normal file → Executable file
View File

0
public/assets/material/material.min.js vendored Normal file → Executable file
View File

6
views/pages/home.ejs Normal file → Executable file
View File

@ -1,6 +1,6 @@
<%- include('../partials/header'); %>
<div class="column shadow-sm p-3 m-4 bg-dark-3 text-light">
<div class="column shadow-sm p-3 m-4">
<div align="left">
<h1>Sanskrit TTS</h1>
<p>Enter your text below to convert to speech.</p>
@ -24,8 +24,8 @@
<hr>
<h3>Result</h3>
<div id="resultContainer">
<div id="audioContainer" style="display: none;">
<div id="resultContainer" style="display: none;">
<div id="audioContainer">
<div class="gapContainer">
<audio controls id="audioPlayer">
<source src="" id="ttsAudio">

2
views/partials/footer.ejs Normal file → Executable file
View File

@ -1,4 +1,4 @@
<p class="text-center text-light">Source Code: <a href="">Github</a> - Made by <a href="https://github.com/WinsDominoes">Win</a> - Material Theme Library by <a href="https://daemonite.github.io/material/">daemonite.github.io</a>
<p class="text-center">Source Code: <a href="">Github</a> - Made by <a href="https://github.com/WinsDominoes">Win</a> - Material Theme Library by <a href="https://daemonite.github.io/material/">daemonite.github.io</a>
</div>

2
views/partials/header.ejs Normal file → Executable file
View File

@ -20,7 +20,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0"/>
<title>Sanskrit TTS</title>
</head>
<body class="bg-dark-2">
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-dark bg-info">
<a class="navbar-brand" href="/"></a>