mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 12:38:28 +01:00
chore: clean up obsolete files and consolidate code
Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
1 parent
e5399683ab
commit
cd4c9df2ac
18 files changed
+8
-733
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
import { searchAmazon } from '@/lib/platforms/amazon';
|
||||
import { searchRicardo } from '@/lib/platforms/ricardo';
|
||||
import { processQuery } from '@/lib/nlp';
|
||||
import { searchAmazon } from '@/src/lib/platforms/amazon';
|
||||
import { searchRicardo } from '@/src/lib/platforms/ricardo';
|
||||
import { processQuery } from '@/src/lib/nlp';
|
||||
import { ProductResult } from '@/types/products';
|
||||
|
||||
export async function POST(req: Request) {
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
|
||||
export default function FutureOfShoppingPost() {
|
||||
return (
|
||||
<article className="prose prose-gray mx-auto">
|
||||
<h1 className="mb-8 text-4xl font-semibold tracking-tight text-gray-900">
|
||||
The Future of Shopping: One Word is All You Need
|
||||
</h1>
|
||||
|
||||
<p className="mb-4 text-gray-600">
|
||||
Shopping is about to become radically simpler with Roboshop's revolutionary one-word query
|
||||
system. Our AI-powered shopping assistant understands exactly what you need from a single
|
||||
word, making online shopping more efficient and intuitive than ever before.
|
||||
</p>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">The Power of One Word</h2>
|
||||
<p className="mb-4 text-gray-600">
|
||||
Traditional e-commerce requires you to navigate through multiple menus, filters, and search
|
||||
results. With Roboshop, you simply:
|
||||
</p>
|
||||
<ol className="mb-6 list-decimal pl-6 text-gray-600">
|
||||
<li>Enter a single word</li>
|
||||
<li>Let our AI understand your intent</li>
|
||||
<li>Receive perfectly matched products</li>
|
||||
</ol>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Multi-Platform Integration</h2>
|
||||
<p className="mb-4 text-gray-600">
|
||||
Roboshop searches across multiple e-commerce platforms simultaneously:
|
||||
</p>
|
||||
<ul className="mb-6 list-disc pl-6 text-gray-600">
|
||||
<li>Amazon marketplace integration</li>
|
||||
<li>Ricardo platform connectivity</li>
|
||||
<li>Real-time price tracking</li>
|
||||
<li>Automated price comparison</li>
|
||||
<li>Best deal identification</li>
|
||||
</ul>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">How It Works</h2>
|
||||
<p className="mb-4 text-gray-600">Our advanced AI system:</p>
|
||||
<ol className="mb-6 list-decimal pl-6 text-gray-600">
|
||||
<li>Analyzes Intent: Understanding not just the word, but its context and likely use case</li>
|
||||
<li>Matches Products: Searching across platforms for the best matches</li>
|
||||
<li>Compares Options: Evaluating prices, ratings, and availability</li>
|
||||
<li>Presents Results: Showing you the most relevant options first</li>
|
||||
</ol>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Real-World Examples</h2>
|
||||
<p className="mb-4 text-gray-600">Here's how Roboshop interprets different single-word queries:</p>
|
||||
<ul className="mb-6 list-disc pl-6 text-gray-600">
|
||||
<li>"Laptop" → Understanding your need for portable computing</li>
|
||||
<li>"Camera" → Matching your photography requirements</li>
|
||||
<li>"Desk" → Finding workspace solutions that fit your needs</li>
|
||||
</ul>
|
||||
|
||||
<div className="mt-8">
|
||||
<Link
|
||||
href="/about"
|
||||
className="inline-flex items-center justify-center rounded-md bg-openai-green px-4 py-2 text-sm font-medium text-white hover:bg-opacity-90"
|
||||
>
|
||||
Contact Us
|
||||
</Link>
|
||||
</div>
|
||||
</article>
|
||||
);
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
|
||||
export default function LibertechRevolutionPost() {
|
||||
return (
|
||||
<article className="prose prose-gray mx-auto">
|
||||
<h1 className="mb-8 text-4xl font-semibold tracking-tight text-gray-900">
|
||||
The LiberTech Revolution: Transparency Through Technology
|
||||
</h1>
|
||||
|
||||
<p className="mb-4 text-gray-600">
|
||||
In an age where government accountability is more crucial than ever, we're proud to introduce
|
||||
LiberTech - our initiative to maximize human liberty through technological innovation. At the
|
||||
heart of this revolution is our government spending tracker, a tool that brings unprecedented
|
||||
transparency to public finance.
|
||||
</p>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">The Power of Public Oversight</h2>
|
||||
<p className="mb-4 text-gray-600">
|
||||
Our government spending tracker transforms how citizens interact with public finance by creating
|
||||
a Venmo-like social experience around government transactions. Every payment made by government
|
||||
entities is:
|
||||
</p>
|
||||
<ul className="mb-6 list-disc pl-6 text-gray-600">
|
||||
<li>Assigned a unique transaction ID</li>
|
||||
<li>Timestamped and dated</li>
|
||||
<li>Tagged with sender (government agency) and receiver information</li>
|
||||
<li>Documented with amount and currency</li>
|
||||
<li>Linked to its legal basis</li>
|
||||
<li>Described with a clear purpose</li>
|
||||
</ul>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Social Features for Civic Engagement</h2>
|
||||
<p className="mb-4 text-gray-600">What makes our platform revolutionary is its social aspect. Users can:</p>
|
||||
<ul className="mb-6 list-disc pl-6 text-gray-600">
|
||||
<li>View a chronological timeline of government spending</li>
|
||||
<li>Like and react to transactions</li>
|
||||
<li>Comment on spending decisions</li>
|
||||
<li>Share transactions on social media</li>
|
||||
<li>Donate directly to either the government agency or recipient</li>
|
||||
<li>Follow specific agencies or spending categories</li>
|
||||
</ul>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Impact on Democracy</h2>
|
||||
<p className="mb-4 text-gray-600">This level of transparency and engagement has far-reaching implications:</p>
|
||||
<ol className="mb-6 list-decimal pl-6 text-gray-600">
|
||||
<li>Officials know their spending decisions are visible to all</li>
|
||||
<li>Citizens gain insight into how their tax money is used</li>
|
||||
<li>The ability to comment and donate creates a new form of civic engagement</li>
|
||||
<li>Patterns in spending become visible and analyzable</li>
|
||||
</ol>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Looking Forward</h2>
|
||||
<p className="mb-4 text-gray-600">
|
||||
The government spending tracker is just the beginning. We're developing additional tools to:
|
||||
</p>
|
||||
<ul className="mb-6 list-disc pl-6 text-gray-600">
|
||||
<li>Track legislative processes in real-time</li>
|
||||
<li>Monitor regulatory compliance</li>
|
||||
<li>Analyze policy impacts</li>
|
||||
<li>Enable citizen feedback on proposed legislation</li>
|
||||
</ul>
|
||||
|
||||
<div className="mt-8">
|
||||
<Link
|
||||
href="/about"
|
||||
className="inline-flex items-center justify-center rounded-md bg-openai-green px-4 py-2 text-sm font-medium text-white hover:bg-opacity-90"
|
||||
>
|
||||
Contact Us
|
||||
</Link>
|
||||
</div>
|
||||
</article>
|
||||
);
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
|
||||
export default function WelcomePost() {
|
||||
return (
|
||||
<article className="prose prose-gray mx-auto">
|
||||
<h1 className="mb-8 text-4xl font-semibold tracking-tight text-gray-900">
|
||||
Welcome to Botsmann: AI Solutions for Human Progress
|
||||
</h1>
|
||||
|
||||
<p className="mb-4 text-gray-600">
|
||||
At Botsmann, we're dedicated to developing cutting-edge AI solutions that help businesses automate tasks,
|
||||
enhance productivity, and unlock new possibilities. Our suite of specialized bots and innovative projects
|
||||
are designed to transform industries and promote transparency.
|
||||
</p>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Our Mission</h2>
|
||||
<p className="mb-4 text-gray-600">
|
||||
We believe in the power of AI to drive positive change in society. Through our specialized bots and
|
||||
ambitious projects, we're working to:
|
||||
</p>
|
||||
<ul className="mb-6 list-disc pl-6 text-gray-600">
|
||||
<li>Enhance learning with AI tutors like our Swiss German Teacher</li>
|
||||
<li>Support healthcare professionals with our Medical Expert Assistant</li>
|
||||
<li>Provide legal guidance through our Legal Expert Assistant</li>
|
||||
<li>Foster creativity with our Artistic Advisor</li>
|
||||
<li>Promote government transparency with LiberTech</li>
|
||||
<li>Revolutionize shopping with Roboshop</li>
|
||||
</ul>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Featured Projects</h2>
|
||||
|
||||
<h3 className="mb-2 text-xl font-semibold text-gray-900">LiberTech</h3>
|
||||
<p className="mb-4 text-gray-600">
|
||||
Our flagship project dedicated to maximizing human liberty and minimizing government power.
|
||||
The centerpiece is our Venmo-style government spending tracker, bringing unprecedented
|
||||
transparency to public finance.
|
||||
</p>
|
||||
|
||||
<h3 className="mb-2 text-xl font-semibold text-gray-900">Roboshop</h3>
|
||||
<p className="mb-4 text-gray-600">
|
||||
An AI-powered shopping assistant that finds exactly what you need with just one word.
|
||||
By integrating with multiple e-commerce platforms and using advanced natural language
|
||||
processing, we're simplifying the online shopping experience.
|
||||
</p>
|
||||
|
||||
<h2 className="mb-4 text-2xl font-semibold text-gray-900">Get Involved</h2>
|
||||
<p className="mb-6 text-gray-600">
|
||||
We're always looking for partners, contributors, and early adopters who share our vision.
|
||||
Whether you're interested in our specialized bots or want to help promote government
|
||||
transparency, we'd love to hear from you.
|
||||
</p>
|
||||
|
||||
<div className="mt-8">
|
||||
<Link
|
||||
href="/about"
|
||||
className="inline-flex items-center justify-center rounded-md bg-openai-green px-4 py-2 text-sm font-medium text-white hover:bg-opacity-90"
|
||||
>
|
||||
Contact Us
|
||||
</Link>
|
||||
</div>
|
||||
</article>
|
||||
);
|
||||
}
|
||||
Generated
+2
-183
@@ -14,11 +14,8 @@
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"mongodb": "^6.12.0",
|
||||
"mongoose": "^8.9.3",
|
||||
"next": "^14.0.4",
|
||||
"next-mdx-remote": "^5.0.0",
|
||||
"nodemailer": "^6.9.16",
|
||||
"postcss": "^8.4.35",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
@@ -1181,14 +1178,6 @@
|
||||
"react": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/@mongodb-js/saslprep": {
|
||||
"version": "1.1.9",
|
||||
"resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.9.tgz",
|
||||
"integrity": "sha512-tVkljjeEaAhCqTzajSdgbQ6gE6f3oneVwa3iXR6csiEwXXOFsiC6Uh9iAjAhXPtqa/XMDHWjjeNH/77m/Yq2dw==",
|
||||
"dependencies": {
|
||||
"sparse-bitfield": "^3.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/env": {
|
||||
"version": "14.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.4.tgz",
|
||||
@@ -1905,19 +1894,6 @@
|
||||
"integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/webidl-conversions": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz",
|
||||
"integrity": "sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA=="
|
||||
},
|
||||
"node_modules/@types/whatwg-url": {
|
||||
"version": "11.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz",
|
||||
"integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==",
|
||||
"dependencies": {
|
||||
"@types/webidl-conversions": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/yargs": {
|
||||
"version": "17.0.33",
|
||||
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz",
|
||||
@@ -2380,14 +2356,6 @@
|
||||
"node-int64": "^0.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/bson": {
|
||||
"version": "6.10.1",
|
||||
"resolved": "https://registry.npmjs.org/bson/-/bson-6.10.1.tgz",
|
||||
"integrity": "sha512-P92xmHDQjSKPLHqFxefqMxASNq/aWJMEZugpCjf+AF/pgcUpMMQCg7t7+ewko0/u8AapvF3luf/FoehddEK+sA==",
|
||||
"engines": {
|
||||
"node": ">=16.20.1"
|
||||
}
|
||||
},
|
||||
"node_modules/buffer-from": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
|
||||
@@ -5197,14 +5165,6 @@
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/kareem": {
|
||||
"version": "2.6.3",
|
||||
"resolved": "https://registry.npmjs.org/kareem/-/kareem-2.6.3.tgz",
|
||||
"integrity": "sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==",
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/kleur": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
|
||||
@@ -5543,11 +5503,6 @@
|
||||
"url": "https://opencollective.com/unified"
|
||||
}
|
||||
},
|
||||
"node_modules/memory-pager": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz",
|
||||
"integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg=="
|
||||
},
|
||||
"node_modules/merge-stream": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
|
||||
@@ -6246,100 +6201,6 @@
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/mongodb": {
|
||||
"version": "6.12.0",
|
||||
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.12.0.tgz",
|
||||
"integrity": "sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==",
|
||||
"dependencies": {
|
||||
"@mongodb-js/saslprep": "^1.1.9",
|
||||
"bson": "^6.10.1",
|
||||
"mongodb-connection-string-url": "^3.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.20.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@aws-sdk/credential-providers": "^3.188.0",
|
||||
"@mongodb-js/zstd": "^1.1.0 || ^2.0.0",
|
||||
"gcp-metadata": "^5.2.0",
|
||||
"kerberos": "^2.0.1",
|
||||
"mongodb-client-encryption": ">=6.0.0 <7",
|
||||
"snappy": "^7.2.2",
|
||||
"socks": "^2.7.1"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@aws-sdk/credential-providers": {
|
||||
"optional": true
|
||||
},
|
||||
"@mongodb-js/zstd": {
|
||||
"optional": true
|
||||
},
|
||||
"gcp-metadata": {
|
||||
"optional": true
|
||||
},
|
||||
"kerberos": {
|
||||
"optional": true
|
||||
},
|
||||
"mongodb-client-encryption": {
|
||||
"optional": true
|
||||
},
|
||||
"snappy": {
|
||||
"optional": true
|
||||
},
|
||||
"socks": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/mongodb-connection-string-url": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.1.tgz",
|
||||
"integrity": "sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==",
|
||||
"dependencies": {
|
||||
"@types/whatwg-url": "^11.0.2",
|
||||
"whatwg-url": "^13.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/mongoose": {
|
||||
"version": "8.9.3",
|
||||
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.9.3.tgz",
|
||||
"integrity": "sha512-G50GNPdMqhoiRAJ/24GYAzg13yxXDD3FOOFeYiFwtHmHpAJem3hxbYIxAhLJGWbYEiUZL0qFMu2LXYkgGAmo+Q==",
|
||||
"dependencies": {
|
||||
"bson": "^6.10.1",
|
||||
"kareem": "2.6.3",
|
||||
"mongodb": "~6.12.0",
|
||||
"mpath": "0.9.0",
|
||||
"mquery": "5.0.0",
|
||||
"ms": "2.1.3",
|
||||
"sift": "17.1.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.20.1"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/mongoose"
|
||||
}
|
||||
},
|
||||
"node_modules/mpath": {
|
||||
"version": "0.9.0",
|
||||
"resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz",
|
||||
"integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==",
|
||||
"engines": {
|
||||
"node": ">=4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/mquery": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz",
|
||||
"integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==",
|
||||
"dependencies": {
|
||||
"debug": "4.x"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ms": {
|
||||
"version": "2.1.3",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
||||
@@ -6491,14 +6352,6 @@
|
||||
"integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/nodemailer": {
|
||||
"version": "6.9.16",
|
||||
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.16.tgz",
|
||||
"integrity": "sha512-psAuZdTIRN08HKVd/E8ObdV6NO7NTBY3KsC30F7M4H1OnmLCUNaS56FpYxyb26zWLSyYF9Ozch9KYHhHegsiOQ==",
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/normalize-path": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
||||
@@ -7029,6 +6882,7 @@
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
|
||||
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
@@ -7458,11 +7312,6 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/sift": {
|
||||
"version": "17.1.3",
|
||||
"resolved": "https://registry.npmjs.org/sift/-/sift-17.1.3.tgz",
|
||||
"integrity": "sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ=="
|
||||
},
|
||||
"node_modules/signal-exit": {
|
||||
"version": "3.0.7",
|
||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
||||
@@ -7527,14 +7376,6 @@
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
}
|
||||
},
|
||||
"node_modules/sparse-bitfield": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz",
|
||||
"integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==",
|
||||
"dependencies": {
|
||||
"memory-pager": "^1.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/sprintf-js": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
||||
@@ -7915,17 +7756,6 @@
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/tr46": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/tr46/-/tr46-4.1.1.tgz",
|
||||
"integrity": "sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==",
|
||||
"dependencies": {
|
||||
"punycode": "^2.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
}
|
||||
},
|
||||
"node_modules/trim-lines": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
|
||||
@@ -8353,6 +8183,7 @@
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
|
||||
"integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
@@ -8393,18 +8224,6 @@
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/whatwg-url": {
|
||||
"version": "13.0.0",
|
||||
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-13.0.0.tgz",
|
||||
"integrity": "sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==",
|
||||
"dependencies": {
|
||||
"tr46": "^4.1.1",
|
||||
"webidl-conversions": "^7.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/which": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
||||
|
||||
@@ -16,11 +16,8 @@
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"mongodb": "^6.12.0",
|
||||
"mongoose": "^8.9.3",
|
||||
"next": "^14.0.4",
|
||||
"next-mdx-remote": "^5.0.0",
|
||||
"nodemailer": "^6.9.16",
|
||||
"postcss": "^8.4.35",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Botsmann</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script defer src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<div class="logo">Botsmann</div>
|
||||
<div class="nav-links">
|
||||
<a href="#solutions">Solutions</a>
|
||||
<a href="#contact">Contact</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
<section class="hero">
|
||||
<h1>AI Solutions for
|
||||
<span class="gradient-text">Human Progress</span>
|
||||
</h1>
|
||||
<p>Transforming industries through advanced robotics and artificial intelligence</p>
|
||||
</section>
|
||||
|
||||
<section id="contact" class="contact-form">
|
||||
<h2>Contact Us</h2>
|
||||
<form id="consultationForm">
|
||||
<div class="form-group">
|
||||
<label for="name">Full Name</label>
|
||||
<input type="text" id="name" name="name" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">Email</label>
|
||||
<input type="email" id="email" name="email" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="message">Message</label>
|
||||
<textarea id="message" name="message" required></textarea>
|
||||
</div>
|
||||
<button type="submit">Send Message</button>
|
||||
</form>
|
||||
<div id="formStatus"></div>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,35 +0,0 @@
|
||||
document.getElementById('consultationForm').addEventListener('submit', async (event) => {
|
||||
event.preventDefault();
|
||||
|
||||
const formStatus = document.getElementById('formStatus');
|
||||
formStatus.textContent = 'Sending...';
|
||||
formStatus.style.color = 'blue';
|
||||
|
||||
const formData = {
|
||||
name: document.getElementById('name').value.trim(),
|
||||
email: document.getElementById('email').value.trim(),
|
||||
message: document.getElementById('message').value.trim()
|
||||
};
|
||||
|
||||
try {
|
||||
const response = await fetch('/api/consultations', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(formData)
|
||||
});
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
if (response.ok) {
|
||||
window.location.href = '/thank-you.html';
|
||||
} else {
|
||||
formStatus.textContent = data.error || 'An error occurred';
|
||||
formStatus.style.color = 'red';
|
||||
console.error('Submission error:', data);
|
||||
}
|
||||
} catch (error) {
|
||||
formStatus.textContent = 'Failed to send message. Please try again.';
|
||||
formStatus.style.color = 'red';
|
||||
console.error('Request error:', error);
|
||||
}
|
||||
});
|
||||
@@ -1,13 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Solutions - Coming Soon</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="coming-soon">
|
||||
<h1>Contact Us for Details</h1>
|
||||
<a href="/">Back to Home</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,187 +0,0 @@
|
||||
:root {
|
||||
--primary: #0066FF;
|
||||
--background: #000000;
|
||||
--text: #FFFFFF;
|
||||
--gray: #333333;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: var(--background);
|
||||
color: var(--text);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 2rem 4rem;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
backdrop-filter: blur(10px);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
margin-left: 2rem;
|
||||
opacity: 0.8;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.hero {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 4rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.gradient-text {
|
||||
background: linear-gradient(45deg, #0066FF, #00FF95);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
max-width: 600px;
|
||||
margin: 4rem auto;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
position: relative;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
background: var(--gray);
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
color: var(--text);
|
||||
font-size: 1rem;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: 150px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
label {
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
top: 1rem;
|
||||
color: #888;
|
||||
transition: all 0.3s;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
input:focus ~ label,
|
||||
textarea:focus ~ label,
|
||||
input:valid ~ label,
|
||||
textarea:valid ~ label {
|
||||
top: -1.5rem;
|
||||
left: 0;
|
||||
font-size: 0.875rem;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
background: var(--primary);
|
||||
color: var(--text);
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.spinner {
|
||||
display: none;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid #ffffff;
|
||||
border-top: 2px solid transparent;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: translate(-50%, -50%) rotate(0deg); }
|
||||
100% { transform: translate(-50%, -50%) rotate(360deg); }
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
nav {
|
||||
padding: 1rem 2rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
.thank-you-page {
|
||||
text-align: center;
|
||||
padding: 4rem 2rem;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.thank-you-content {
|
||||
margin-top: 2rem;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.back-button {
|
||||
display: inline-block;
|
||||
margin-top: 2rem;
|
||||
padding: 0.8rem 1.5rem;
|
||||
background: linear-gradient(90deg, #4776E6, #8E54E9);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.back-button:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Thank You! - Botsmann</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<div class="logo">Botsmann</div>
|
||||
</nav>
|
||||
<main class="thank-you-page">
|
||||
<h1>Thank You for Reaching Out! 🚀</h1>
|
||||
<div class="thank-you-content">
|
||||
<p>We're excited to explore how we can help transform your ideas into reality.</p>
|
||||
<p>Our team has received your message and will get back to you within 24 hours.</p>
|
||||
<a href="/" class="back-button">Back to Home</a>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,21 +0,0 @@
|
||||
const express = require('express');
|
||||
const cors = require('cors');
|
||||
require('dotenv').config();
|
||||
|
||||
const app = express();
|
||||
|
||||
// Middleware
|
||||
app.use(cors());
|
||||
app.use(express.json());
|
||||
app.use(express.static('public'));
|
||||
|
||||
// Import the consultations route handler
|
||||
const consultationsHandler = require('./api/consultations');
|
||||
|
||||
// Set up the API route
|
||||
app.post('/api/consultations', consultationsHandler);
|
||||
|
||||
const PORT = process.env.PORT || 3001;
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Server running on port ${PORT}`);
|
||||
});
|
||||
@@ -1,4 +1,4 @@
|
||||
import { processQuery } from '@/lib/nlp';
|
||||
import { processQuery } from '@/src/lib/nlp';
|
||||
|
||||
describe('NLP Processing', () => {
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { searchAmazon } from '@/lib/platforms/amazon';
|
||||
import { searchRicardo } from '@/lib/platforms/ricardo';
|
||||
import { searchAmazon } from '@/src/lib/platforms/amazon';
|
||||
import { searchRicardo } from '@/src/lib/platforms/ricardo';
|
||||
|
||||
describe('Platform Integrations', () => {
|
||||
describe('Amazon Integration', () => {
|
||||
|
||||
Reference in new issue
Block a user