Merge pull request 'Added some fonts' (#43) from sageTheDm/interstellar_ai:main into main
Reviewed-on: https://interstellardevelopment.org/code/code/React-Group/interstellar_ai/pulls/43
This commit is contained in:
commit
ce8c3b8c87
333 changed files with 2609 additions and 11 deletions
|
@ -11,14 +11,15 @@ const Login: React.FC = () => {
|
|||
// Credentials state
|
||||
const [email, setEmail] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
const [accountName, setAccountName] = useState('Pluto'); // Set the account name
|
||||
const [accountName, setAccountName] = useState(''); // Set the account name
|
||||
const [newAccountEmail, setNewAccountEmail] = useState('');
|
||||
const [newAccountPassword, setNewAccountPassword] = useState('');
|
||||
const [newAccountName, setNewAccountName] = useState('');
|
||||
|
||||
// Fixed credentials
|
||||
const fixedEmail = 'pluto@imareal.planet';
|
||||
const fixedPassword = 'fuckTheSun1234';
|
||||
const fixedAccount = 'Pluto';
|
||||
const fixedEmail = '';
|
||||
const fixedPassword = '';
|
||||
const fixedAccount = '';
|
||||
|
||||
// Function to toggle the login popup
|
||||
const toggleLoginPopup = () => setShowLoginPopup(!showLoginPopup);
|
||||
|
@ -123,6 +124,16 @@ const Login: React.FC = () => {
|
|||
/>
|
||||
</div>
|
||||
|
||||
{/* New Account Name Input */}
|
||||
<div>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Name"
|
||||
value={newAccountName}
|
||||
onChange={(e) => setAccountName(e.target.value)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* New Account Password Input */}
|
||||
<div>
|
||||
<input
|
||||
|
|
|
@ -833,10 +833,19 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
|
|||
}}
|
||||
>
|
||||
<option value="'Poppins', sans-serif">Poppins</option>
|
||||
<option value="'Arial', sans-serif">Arial</option>
|
||||
<option value="'Calibri', sans-serif">Calibri</option>
|
||||
<option value="'Helvetica', sans-serif">Helvetica</option>
|
||||
<option value="'Times New Roman', serif">Times New Roman</option>
|
||||
<option value="'Inconsolata', monospace">Inconsolata</option>
|
||||
<option value="'Merriweather', serif">Merriweather</option>
|
||||
<option value="'Noto Sans', sans-serif">Noto Sans</option>
|
||||
<option value="'Noto Serif', serif">Noto Serif</option>
|
||||
<option value="'Playfair Display', serif">Playfair Display</option>
|
||||
<option value="'Roboto', sans-serif">Roboto</option>
|
||||
<option value="'Ubuntu', sans-serif">Ubuntu</option>
|
||||
<option value="'Bangers', cursive">Bangers</option>
|
||||
<option value="'Caveat', cursive">Caveat</option>
|
||||
<option value="'Frederika the Great', cursive">Frederika the Great</option>
|
||||
<option value="'Rock Salt', cursive">Rock Salt</option>
|
||||
<option value="'Sofadi One', sans-serif">Sofadi One</option>
|
||||
<option value="'Zilla Slab Highlight', serif">Zilla Slab Highlight</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
{"backgroundColor":"#8B9635","textColor":"#474D22","inputBackgroundColor":"#ffffff","inputButtonColor":"#8B9635","inputButtonHoverColor":"#6b7c2b","userMessageBackgroundColor":"#8B9635","userMessageTextColor":"#000","aiMessageBackgroundColor":"#FCFCEB","aiMessageTextColor":"#000","buttonBackgroundColor":"#8B9635","buttonHoverBackgroundColor":"#6b7c2b","modelsBackgroundColor":"#ffffff","historyBackgroundColor":"#f9f9f9","leftPanelBackgroundColor":"#79832e","conversationBackgroundColor":"#79832e","popUpTextColor":"#000","inputBorderColor":"#8B9635","fontFamily":"'Poppins', 'sans-serif'","fontSize":"16px","preferredLanguage":"en","preferredCurrency":"usd","dateFormat":"mm/dd/yyyy","timeFormat":"12-hour","timeZone":"GMT","disableOnlineAI":false,"disableChatHistory":false,"disableAIMemory":false,"openSourceMode":false,"laPlateforme":"","openAI":"","anthropic":"","google":""}
|
|
@ -1 +0,0 @@
|
|||
{"backgroundColor":"#8B9635","textColor":"#474D22","inputBackgroundColor":"#ffffff","inputButtonColor":"#8B9635","inputButtonHoverColor":"#6b7c2b","userMessageBackgroundColor":"#8B9635","userMessageTextColor":"#000","aiMessageBackgroundColor":"#FCFCEB","aiMessageTextColor":"#000","buttonBackgroundColor":"#8B9635","buttonHoverBackgroundColor":"#6b7c2b","modelsBackgroundColor":"#ffffff","historyBackgroundColor":"#f9f9f9","leftPanelBackgroundColor":"#79832e","conversationBackgroundColor":"#79832e","popUpTextColor":"#000","inputBorderColor":"#8B9635","fontFamily":"'Poppins', 'sans-serif'","fontSize":"16px","preferredLanguage":"en","preferredCurrency":"usd","dateFormat":"mm/dd/yyyy","timeFormat":"12-hour","timeZone":"GMT","disableOnlineAI":false,"disableChatHistory":false,"disableAIMemory":false,"openSourceMode":false,"laPlateforme":"","openAI":"","anthropic":"","google":""}
|
|
@ -1 +0,0 @@
|
|||
{"backgroundColor":"#8B9635","textColor":"#474D22","inputBackgroundColor":"#ffffff","inputButtonColor":"#8B9635","inputButtonHoverColor":"#6b7c2b","userMessageBackgroundColor":"#8B9635","userMessageTextColor":"#000","aiMessageBackgroundColor":"#FCFCEB","aiMessageTextColor":"#000","buttonBackgroundColor":"#8B9635","buttonHoverBackgroundColor":"#6b7c2b","modelsBackgroundColor":"#ffffff","historyBackgroundColor":"#f9f9f9","leftPanelBackgroundColor":"#79832e","conversationBackgroundColor":"#79832e","popUpTextColor":"#000","inputBorderColor":"#8B9635","fontFamily":"'Poppins', 'sans-serif'","fontSize":"16px","preferredLanguage":"en","preferredCurrency":"usd","dateFormat":"mm/dd/yyyy","timeFormat":"12-hour","timeZone":"GMT","disableOnlineAI":false,"disableChatHistory":false,"disableAIMemory":false,"openSourceMode":false,"laPlateforme":"","openAI":"","anthropic":"","google":""}
|
69
app/styles/fonts.css
Normal file
69
app/styles/fonts.css
Normal file
|
@ -0,0 +1,69 @@
|
|||
@font-face {
|
||||
font-family: 'Inconsolata';
|
||||
src: url('/fonts/serious/Inconsolata/Inconsolata-VariableFont_wdth,wght.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Merriweather';
|
||||
src: url('/fonts/serious/Merriweather/Merriweather-Regular.tff') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('/fonts/serious/Noto_Sans/NotoSans-VariableFont_wdth\,wght.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
src: url('/fonts/serious/Noto_Serif/NotoSerif-VariableFont_wdth\,wght.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Playfair Display';
|
||||
src: url('/fonts/serious/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Poppins';
|
||||
src: url('/fonts/serious/Poppins/Poppins-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
src: url('/fonts/serious/Roboto/Roboto-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
src: url('/fonts/serious/Ubuntu/Ubuntu-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bangers';
|
||||
src: url('/fonts/comic-sans-but-better/Bangers/Bangers-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Caveat';
|
||||
src: url('/fonts/comic-sans-but-better/Caveat/Caveat-VariableFont_wght.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Frederika the Great';
|
||||
src: url('/fonts/comic-sans-but-better/Fredericka_the_Great/FrederickatheGreat-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Rock Salt';
|
||||
src: url('/fonts/RockSalt.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sofadi One';
|
||||
src: url('/fonts/comic-sans-but-better/Sofadi_One/SofadiOne-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Zilla Slab Highlight';
|
||||
src: url('/fonts/comic-sans-but-better/Zilla_Slab_Highlight/ZillaSlabHighlight-Regular.ttf') format('truetype');
|
||||
}
|
|
@ -14,4 +14,5 @@
|
|||
@import './doc.css';
|
||||
@import './Login.css';
|
||||
@import './Settings.css';
|
||||
@import './fonts.css';
|
||||
@import './responsive.css';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue