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{ pre{
white-space:pre-line white-space:pre-line
} }
form, input, textarea, label, p, select, option{
color: #fff !important .column {
flex-grow: 1;
} }
#icon{ #icon{
max-width:45px; max-width:45px;
height:auto; 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) { if(response) {
const url = body.url; const url = body.url;
$('#audioContainer').css("display", "block"); $('#resultContainer').css("display", "block");
setTimeout(() => { 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'); %> <%- 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"> <div align="left">
<h1>Sanskrit TTS</h1> <h1>Sanskrit TTS</h1>
<p>Enter your text below to convert to speech.</p> <p>Enter your text below to convert to speech.</p>
@ -24,8 +24,8 @@
<hr> <hr>
<h3>Result</h3> <h3>Result</h3>
<div id="resultContainer"> <div id="resultContainer" style="display: none;">
<div id="audioContainer" style="display: none;"> <div id="audioContainer">
<div class="gapContainer"> <div class="gapContainer">
<audio controls id="audioPlayer"> <audio controls id="audioPlayer">
<source src="" id="ttsAudio"> <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> </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"/> <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> <title>Sanskrit TTS</title>
</head> </head>
<body class="bg-dark-2"> <body>
<header> <header>
<nav class="navbar navbar-expand-lg navbar-dark bg-info"> <nav class="navbar navbar-expand-lg navbar-dark bg-info">
<a class="navbar-brand" href="/"></a> <a class="navbar-brand" href="/"></a>