diff --git a/app/components/Credits.tsx b/app/components/Credits.tsx
index 6af40d0..5144603 100644
--- a/app/components/Credits.tsx
+++ b/app/components/Credits.tsx
@@ -11,22 +11,13 @@ const Credits: React.FC = () => {
This project utilizes the following icon resources:
- Solar Icons
+ fontawesome
-
- Dazzle UI
-
-
Fonts
The fonts used in this project are provided by:
diff --git a/app/components/Header.tsx b/app/components/Header.tsx
index 5a02425..63d0b87 100644
--- a/app/components/Header.tsx
+++ b/app/components/Header.tsx
@@ -34,7 +34,6 @@ const Header: React.FC = ({
// Effect to handle clicks outside of the dropdown
useEffect(() => {
const handleClickOutside = (event: MouseEvent) => {
- // Check if the click is outside both the dropdown and the hamburger menu
if (
dropdownRef.current &&
!dropdownRef.current.contains(event.target as Node) &&
@@ -57,7 +56,19 @@ const Header: React.FC = ({
{showToggle && showHistoryModelsToggle && (
- {showDivs ? 'Hide' : 'Show'}
+ {showDivs ? (
+ <>
+
+
+
+ >
+ ) : (
+ <>
+
+
+
+ >
+ )}
)}
@@ -71,9 +82,9 @@ const Header: React.FC = ({
-
- {/* AI logo or text */}
-
+
+ {/* AI logo or text */}
+
diff --git a/app/components/Models.tsx b/app/components/Models.tsx
index 4e64b33..30c427c 100644
--- a/app/components/Models.tsx
+++ b/app/components/Models.tsx
@@ -8,132 +8,84 @@ const modelList = {
Math: 'qwen2-math:1.5b',
Code: 'starcoder2',
Language: 'llama3.2',
- Character: 'dolphin-phi',
- Finance: 'qwen2-math:1.5b',
Weather: 'llama3.2',
- Time: 'llama3.2',
- Image: 'llava-phi3'
},
'Offline Slow': {
model_type: 'local',
Math: 'wizard-math',
Code: 'starcoder2:7b',
Language: 'llama3.1',
- Character: 'dolphin-llama3',
- Finance: 'wizard-math',
Weather: 'llama3.1',
- Time: 'llama3.1',
- Image: 'llava'
},
'Offline Fast (FOSS)': {
model_type: 'local',
Math: 'qwen2-math:1.5b',
Code: 'qwen2.5-coder:1.5b',
Language: 'phi3.5',
- Character: 'dolphin-mistral',
- Finance: 'qwen2-math:1.5b',
Weather: 'phi3.5',
- Time: 'phi3.5',
- Image: 'llava'
},
'Offline Slow (FOSS)': {
model_type: 'local',
Math: 'mathstral',
Code: 'qwen2.5-coder',
Language: 'qwen2.5',
- Character: 'dolphin-mistral',
- Finance: 'mathstral',
Weather: 'qwen2.5',
- Time: 'qwen2.5',
- Image: 'llava'
},
'Online Cheap (OpenAI)': {
model_type: 'openai',
Math: 'gpt-4o-mini',
Code: 'gpt-4o-mini',
Language: 'gpt-4o-mini',
- Character: 'gpt-4o-mini',
- Finance: 'gpt-4o-mini',
Weather: 'gpt-4o-mini',
- Time: 'gpt-4o-mini',
- Image: 'gpt-4o-mini'
},
'Online Expensive (OpenAI)': {
model_type: 'openai',
Math: 'gpt-4o',
Code: 'gpt-4o',
Language: 'gpt-4o',
- Character: 'gpt-4o',
- Finance: 'gpt-4o',
Weather: 'gpt-4o',
- Time: 'gpt-4o',
- Image: 'gpt-4o'
},
'Online Cheap (Anthropic)': {
model_type: 'anthropic',
Math: 'claude-3-haiku',
Code: 'claude-3-haiku',
Language: 'claude-3-haiku',
- Character: 'claude-3-haiku',
- Finance: 'claude-3-haiku',
Weather: 'claude-3-haiku',
- Time: 'claude-3-haiku',
- Image: 'claude-3-haiku'
},
'Online Expensive (Anthropic)': {
model_type: 'anthropic',
Math: 'claude-3-5-sonnet',
Code: 'claude-3-5-sonnet',
Language: 'claude-3-5-sonnet',
- Character: 'claude-3-5-sonnet',
- Finance: 'claude-3-5-sonnet',
Weather: 'claude-3-5-sonnet',
- Time: 'claude-3-5-sonnet',
- Image: 'claude-3-5-sonnet'
},
'Online Cheap (Google)': {
model_type: 'google',
Math: 'gemini-1.5-flash-latest',
Code: 'gemini-1.5-flash-latest',
Language: 'gemini-1.5-flash-latest',
- Character: 'gemini-1.5-flash-latest',
- Finance: 'gemini-1.5-flash-latest',
Weather: 'gemini-1.5-flash-latest',
- Time: 'gemini-1.5-flash-latest',
- Image: 'gemini-1.5-flash-latest'
},
'Online Expensive (Google)': {
model_type: 'google',
Math: 'gemini-1.5-pro-latest',
Code: 'gemini-1.5-pro-latest',
Language: 'gemini-1.5-pro-latest',
- Character: 'gemini-1.5-pro-latest',
- Finance: 'gemini-1.5-pro-latest',
Weather: 'gemini-1.5-pro-latest',
- Time: 'gemini-1.5-pro-latest',
- Image: 'gemini-1.5-pro-latest'
},
'Online (La Plateforme)': {
model_type: 'mistral',
Math: 'open-mistral-nemo',
Code: 'codestral-latest',
Language: 'mistral-small-latest',
- Character: 'mistral-large-latest',
- Finance: 'open-mistral-nemo',
Weather: 'mistral-small-latest',
- Time: 'mistral-small-latest',
- Image: 'pixtral-12b-2409'
},
'Online (FOSS) (La Plateforme)': {
model_type: 'mistral',
Math: 'open-mistral-nemo',
Code: 'open-codestral-mamba',
Language: 'open-mistral-nemo',
- Character: 'open-mixtral-8x22b',
- Finance: 'open-mixtral-8x22b',
Weather: 'open-mistral-nemo',
- Time: 'open-mistral-nemo',
- Image: 'pixtral-12b-2409'
}
}
@@ -158,13 +110,7 @@ const selectedAIFunction = [
'Code',
'Math',
'Language',
- 'Character',
- 'Finance',
- 'Weather',
- 'Time',
- 'Image',
- 'Custom1',
- 'Custom2'
+ 'Weather'
]
const ModelSection: React.FC = () => {
diff --git a/app/styles/header.css b/app/styles/header.css
index 5c3a2e5..ff5baf3 100644
--- a/app/styles/header.css
+++ b/app/styles/header.css
@@ -46,8 +46,10 @@ header {
background-color: var(--burger-menu-background-color);
width: 100%;
flex-direction: column;
- align-items: flex-start;
- padding: 10px;
+ align-items: center;
+ justify-content: center;
+ padding: 10px auto;
+ margin: auto;
}
.nav-links.active {
@@ -61,11 +63,11 @@ header {
font-size: 0.9em;
height: 50px; /* Consistent height */
border-radius: 5px;
- padding: 10px;
+ padding: 10px auto;
font-family: var(--font-family);
width: 100%; /* Full width */
text-align: center; /* Center text */
- margin: 4px;
+ margin: 4px auto;
}
.nav-btn:hover {
@@ -116,6 +118,8 @@ header {
}
.show-hide-btn{
+ display: flex;
+ align-items: center;
width: fit-content;
align-self: left;
position: absolute;
diff --git a/app/styles/models.css b/app/styles/models.css
index 7b833ae..fd7e22b 100644
--- a/app/styles/models.css
+++ b/app/styles/models.css
@@ -119,21 +119,6 @@
background-position: center;
}
-.character-model {
- background-image: url(/img/character.jpg);
- background-color: #72cce4;
- background-repeat: no-repeat;
- background-size: contain;
- background-position: center;
-}
-
-.finance-model {
- background-image: url(/img/financial.jpg);
- background-color: #72cce4;
- background-repeat: no-repeat;
- background-size: contain;
- background-position: center;
-}
.weather-model {
background-image: url(/img/weather.jpg);
@@ -143,22 +128,6 @@
background-position: center;
}
-.time-model {
- background-image: url(/img/time.jpg);
- background-color: #72cce4;
- background-repeat: no-repeat;
- background-size: contain;
- background-position: center;
-}
-
-.image-model {
- background-image: url(/img/image.jpg);
- background-color: #72cce4;
- background-repeat: no-repeat;
- background-size: contain;
- background-position: center;
-}
-
.custom1-model,
.custom2-model {
background-image: url(/img/default.jpg);
diff --git a/public/img/character.jpg b/public/img/character.jpg
deleted file mode 100644
index b9363db..0000000
Binary files a/public/img/character.jpg and /dev/null differ
diff --git a/public/img/default.jpg b/public/img/default.jpg
deleted file mode 100644
index 527d4fe..0000000
Binary files a/public/img/default.jpg and /dev/null differ
diff --git a/public/img/financial.jpg b/public/img/financial.jpg
deleted file mode 100644
index 56520f2..0000000
Binary files a/public/img/financial.jpg and /dev/null differ
diff --git a/public/img/image.jpg b/public/img/image.jpg
deleted file mode 100644
index 34849a4..0000000
Binary files a/public/img/image.jpg and /dev/null differ
diff --git a/public/img/time.jpg b/public/img/time.jpg
deleted file mode 100644
index 8472916..0000000
Binary files a/public/img/time.jpg and /dev/null differ