Merge branch 'sageTheDm-main'

This commit is contained in:
Patrick_Pluto 2024-09-20 11:17:28 +02:00
commit e08b8e0783
18 changed files with 16 additions and 14 deletions

View file

@ -1,6 +1,6 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import InputFrontend from './InputFrontend'; import InputFrontend from '../components/InputFrontend';
import ConversationFrontend from './ConversationFrontend'; import ConversationFrontend from '../components/ConversationFrontend';
import { Mistral } from '@mistralai/mistralai'; import { Mistral } from '@mistralai/mistralai';

View file

@ -1,7 +1,7 @@
"use client" "use client"
import React, { useEffect, useRef, useState } from "react"; import React, { useEffect, useRef, useState } from "react";
import ConversationFrontend from "./ConversationFrontend"; import ConversationFrontend from "../components/ConversationFrontend";
import InputFrontend from "./InputFrontend"; import InputFrontend from "../components/InputFrontend";
const handleMicClick = () => { const handleMicClick = () => {
console.log('Mic clicked!'); console.log('Mic clicked!');

View file

@ -1,6 +1,6 @@
// AI.tsx // AI.tsx
import React from 'react'; import React from 'react';
import InputOutputBackend from './InputOutputHandler'; import InputOutputBackend from '../backend/InputOutputHandler';
const AI: React.FC = () => { const AI: React.FC = () => {
return ( return (

View file

@ -1,4 +1,4 @@
import Header from "./Header"; import Header from "./components/Header";
export const metadata = { export const metadata = {

View file

@ -1,11 +1,11 @@
"use client"; "use client";
import React, { useState, useEffect, useRef } from 'react'; import React, { useState, useEffect, useRef } from 'react';
import Header from './Header'; import Header from './components/Header';
import AI from './AI'; import AI from './components/AI';
import FAQ from './Faq'; // Ensure the import path is correct import FAQ from './components/Faq'; // Ensure the import path is correct
import Documentation from './Documentation'; // Ensure the import path is correct import Documentation from './components/Documentation'; // Ensure the import path is correct
import History from './History'; import History from './components/History';
import Models from './Models'; import Models from './components/Models';
import './styles/master.css'; import './styles/master.css';
const LandingPage: React.FC = () => { const LandingPage: React.FC = () => {

View file

@ -9,11 +9,13 @@ const config: Config = {
theme: { theme: {
extend: { extend: {
colors: { colors: {
background: "var(--background)", 'history-background': 'var(--history-background-color)',
foreground: "var(--foreground)", 'text-color': 'var(--text-color)',
'input-button-hover-color': 'var(--input-button-hover-color)',
}, },
}, },
}, },
plugins: [], plugins: [],
}; };
export default config; export default config;