mirror of
				https://github.com/ItzCrazyKns/Perplexica.git
				synced 2025-11-04 04:38:15 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/ItzCrazyKns/Perplexica
This commit is contained in:
		@@ -44,7 +44,7 @@ Want to know more about its architecture and how it works? You can read it [here
 | 
				
			|||||||
  - **Normal Mode:** Processes your query and performs a web search.
 | 
					  - **Normal Mode:** Processes your query and performs a web search.
 | 
				
			||||||
- **Focus Modes:** Special modes to better answer specific types of questions. Perplexica currently has 6 focus modes:
 | 
					- **Focus Modes:** Special modes to better answer specific types of questions. Perplexica currently has 6 focus modes:
 | 
				
			||||||
  - **All Mode:** Searches the entire web to find the best results.
 | 
					  - **All Mode:** Searches the entire web to find the best results.
 | 
				
			||||||
  - **Writing Assistant Mode:** Helpful for writing tasks that does not require searching the web.
 | 
					  - **Writing Assistant Mode:** Helpful for writing tasks that do not require searching the web.
 | 
				
			||||||
  - **Academic Search Mode:** Finds articles and papers, ideal for academic research.
 | 
					  - **Academic Search Mode:** Finds articles and papers, ideal for academic research.
 | 
				
			||||||
  - **YouTube Search Mode:** Finds YouTube videos based on the search query.
 | 
					  - **YouTube Search Mode:** Finds YouTube videos based on the search query.
 | 
				
			||||||
  - **Wolfram Alpha Search Mode:** Answers queries that need calculations or data analysis using Wolfram Alpha.
 | 
					  - **Wolfram Alpha Search Mode:** Answers queries that need calculations or data analysis using Wolfram Alpha.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -110,7 +110,7 @@ const Attach = ({
 | 
				
			|||||||
                <button
 | 
					                <button
 | 
				
			||||||
                  type="button"
 | 
					                  type="button"
 | 
				
			||||||
                  onClick={() => fileInputRef.current.click()}
 | 
					                  onClick={() => fileInputRef.current.click()}
 | 
				
			||||||
                  className="flex flex-row items-center space-x-1 text-white/70 hover:text-white transition duration-200"
 | 
					                  className="flex flex-row items-center space-x-1 text-black/70 dark:text-white/70 hover:text-black hover:dark:text-white transition duration-200"
 | 
				
			||||||
                >
 | 
					                >
 | 
				
			||||||
                  <input
 | 
					                  <input
 | 
				
			||||||
                    type="file"
 | 
					                    type="file"
 | 
				
			||||||
@@ -128,7 +128,7 @@ const Attach = ({
 | 
				
			|||||||
                    setFiles([]);
 | 
					                    setFiles([]);
 | 
				
			||||||
                    setFileIds([]);
 | 
					                    setFileIds([]);
 | 
				
			||||||
                  }}
 | 
					                  }}
 | 
				
			||||||
                  className="flex flex-row items-center space-x-1 text-white/70 hover:text-white transition duration-200"
 | 
					                  className="flex flex-row items-center space-x-1 text-black/70 dark:text-white/70 hover:text-black hover:dark:text-white transition duration-200"
 | 
				
			||||||
                >
 | 
					                >
 | 
				
			||||||
                  <Trash size={14} />
 | 
					                  <Trash size={14} />
 | 
				
			||||||
                  <p className="text-xs">Clear</p>
 | 
					                  <p className="text-xs">Clear</p>
 | 
				
			||||||
@@ -145,7 +145,7 @@ const Attach = ({
 | 
				
			|||||||
                  <div className="bg-dark-100 flex items-center justify-center w-10 h-10 rounded-md">
 | 
					                  <div className="bg-dark-100 flex items-center justify-center w-10 h-10 rounded-md">
 | 
				
			||||||
                    <File size={16} className="text-white/70" />
 | 
					                    <File size={16} className="text-white/70" />
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                  <p className="text-white/70 text-sm">
 | 
					                  <p className="text-black/70 dark:text-white/70 text-sm">
 | 
				
			||||||
                    {file.fileName.length > 25
 | 
					                    {file.fileName.length > 25
 | 
				
			||||||
                      ? file.fileName.replace(/\.\w+$/, '').substring(0, 25) +
 | 
					                      ? file.fileName.replace(/\.\w+$/, '').substring(0, 25) +
 | 
				
			||||||
                        '...' +
 | 
					                        '...' +
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -82,7 +82,7 @@ const AttachSmall = ({
 | 
				
			|||||||
                <button
 | 
					                <button
 | 
				
			||||||
                  type="button"
 | 
					                  type="button"
 | 
				
			||||||
                  onClick={() => fileInputRef.current.click()}
 | 
					                  onClick={() => fileInputRef.current.click()}
 | 
				
			||||||
                  className="flex flex-row items-center space-x-1 text-white/70 hover:text-white transition duration-200"
 | 
					                  className="flex flex-row items-center space-x-1 text-black/70 dark:text-white/70 hover:text-black hover:dark:text-white transition duration-200"
 | 
				
			||||||
                >
 | 
					                >
 | 
				
			||||||
                  <input
 | 
					                  <input
 | 
				
			||||||
                    type="file"
 | 
					                    type="file"
 | 
				
			||||||
@@ -100,7 +100,7 @@ const AttachSmall = ({
 | 
				
			|||||||
                    setFiles([]);
 | 
					                    setFiles([]);
 | 
				
			||||||
                    setFileIds([]);
 | 
					                    setFileIds([]);
 | 
				
			||||||
                  }}
 | 
					                  }}
 | 
				
			||||||
                  className="flex flex-row items-center space-x-1 text-white/70 hover:text-white transition duration-200"
 | 
					                  className="flex flex-row items-center space-x-1 text-black/70 dark:text-white/70 hover:text-black hover:dark:text-white transition duration-200"
 | 
				
			||||||
                >
 | 
					                >
 | 
				
			||||||
                  <Trash size={14} />
 | 
					                  <Trash size={14} />
 | 
				
			||||||
                  <p className="text-xs">Clear</p>
 | 
					                  <p className="text-xs">Clear</p>
 | 
				
			||||||
@@ -117,7 +117,7 @@ const AttachSmall = ({
 | 
				
			|||||||
                  <div className="bg-dark-100 flex items-center justify-center w-10 h-10 rounded-md">
 | 
					                  <div className="bg-dark-100 flex items-center justify-center w-10 h-10 rounded-md">
 | 
				
			||||||
                    <File size={16} className="text-white/70" />
 | 
					                    <File size={16} className="text-white/70" />
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                  <p className="text-white/70 text-sm">
 | 
					                  <p className="text-black/70 dark:text-white/70 text-sm">
 | 
				
			||||||
                    {file.fileName.length > 25
 | 
					                    {file.fileName.length > 25
 | 
				
			||||||
                      ? file.fileName.replace(/\.\w+$/, '').substring(0, 25) +
 | 
					                      ? file.fileName.replace(/\.\w+$/, '').substring(0, 25) +
 | 
				
			||||||
                        '...' +
 | 
					                        '...' +
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user