diff --git a/backend/services/clustering.service.js b/backend/services/clustering.service.js
index c7bd76a..d342c53 100644
--- a/backend/services/clustering.service.js
+++ b/backend/services/clustering.service.js
@@ -33,11 +33,11 @@ ${notesJson}`;
export const clusterNotes = async (notes) => {
const response = await client.messages.create({
- model: "claude-sonnet-4-20250514",
- max_tokens: 4096,
- messages: [
+ model: "claude-sonnet-4-20250514",
+ max_tokens: 4096,
+ messages: [
{ role: "user", content: buildPrompt(notes) },
- ],
+ ],
});
const textBlock = response?.content?.[0];
diff --git a/frontend/src/components/button.tsx b/frontend/src/components/button.tsx
index 106d6a2..bc08c78 100644
--- a/frontend/src/components/button.tsx
+++ b/frontend/src/components/button.tsx
@@ -8,9 +8,9 @@ type ButtonProps = {
const Button = ({ onClick, isLoading, label }: ButtonProps) => {
return (
-
+
);
};
diff --git a/frontend/src/components/navbar.tsx b/frontend/src/components/navbar.tsx
index 44c321f..b442492 100644
--- a/frontend/src/components/navbar.tsx
+++ b/frontend/src/components/navbar.tsx
@@ -1,14 +1,14 @@
const Navbar = () => {
- return (
-
-
-
kongruity
-
-
- recenter
-
+ return (
+
+
+
kongruity
- )
+
+ recenter
+
+
+ )
}
-export default Navbar;
\ No newline at end of file
+export default Navbar;
diff --git a/frontend/src/components/stickies.tsx b/frontend/src/components/stickies.tsx
index 288b8d3..6311144 100644
--- a/frontend/src/components/stickies.tsx
+++ b/frontend/src/components/stickies.tsx
@@ -7,7 +7,6 @@ import '../styles/stickies.css';
const Stickies = () => {
const { data: stickies, isLoading, error } = useGetStickies();
const { mutate: cluster, data: clusters, isPending } = useClusterStickies();
- console.log('data, error', stickies, error)
if (isLoading) return
Loading...
;
if (error) return
Error: {error.message}
;
diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx
index 09032bd..ef7fea2 100644
--- a/frontend/src/pages/Home.tsx
+++ b/frontend/src/pages/Home.tsx
@@ -3,16 +3,12 @@ import Navbar from '../components/navbar'
import '../styles/home.css'
const Home = () => {
- return (
-
-
-
-
-
-
-
-
- );
+ return (
+
+
+
+
+ );
};
-export default Home;
\ No newline at end of file
+export default Home;
diff --git a/frontend/src/styles/home.css b/frontend/src/styles/home.css
index 734562b..cc0d5d4 100644
--- a/frontend/src/styles/home.css
+++ b/frontend/src/styles/home.css
@@ -1,74 +1,73 @@
.main-head-box {
- border-radius: 8px;
- border: 1px solid #6dd6f4;
- background-color: rgb(92, 0, 91);
- display: flex;
- }
-
+ border-radius: 8px;
+ border: 1px solid #6dd6f4;
+ background-color: rgb(92, 0, 91);
+ display: flex;
+}
+
+.main-head-subbox-right {
+ display: flex;
+ justify-content: flex-end;
+ margin-right: 34px;
+ width: 50%;
+}
+
+.main-head-subbox-left {
+ display: flex;
+ justify-content: flex-start;
+ margin-left: 34px;
+ width: 50%;
+}
+
+.main-head {
+ font-size: 5rem;
+ color: #6dd6f4;
+ margin: 6px 0px 24px 22px;
+ font-family: "Sulphur Point", sans-serif;
+ font-weight: 500;
+ letter-spacing: 4px;
+ text-decoration: underline;
+}
+
+.material-symbols-outlined {
+ margin: 13px 74px 0px 0px;
+ font-size: 82px;
+ color: #6dd6f4;
+ font-variation-settings:
+ 'FILL' 0,
+ 'wght' 300,
+ 'GRAD' 0,
+ 'opsz' 24;
+}
+
+@media screen and (max-width: 478px) {
.main-head-subbox-right {
- display: flex;
- justify-content: flex-end;
- margin-right: 34px;
- width: 50%;
+ display: none;
}
.main-head-subbox-left {
display: flex;
- justify-content: flex-start;
- margin-left: 34px;
- width: 50%;
+ justify-content: center;
+ margin-left: auto;
+ margin-right: auto;
+ width: 100%;
}
.main-head {
- font-size: 5rem;
+ font-size: 4rem;
color: #6dd6f4;
- margin: 6px 0px 24px 22px;
font-family: "Sulphur Point", sans-serif;
- font-weight: 500;
- letter-spacing: 4px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-left: auto;
+ margin-right: auto;
+ font-weight: 400;
+ letter-spacing: 2px;
text-decoration: underline;
}
.material-symbols-outlined {
- margin: 13px 74px 0px 0px;
- font-size: 82px;
- color: #6dd6f4;
- font-variation-settings:
- 'FILL' 0,
- 'wght' 300,
- 'GRAD' 0,
- 'opsz' 24
+ display: none !important;
}
-
- @media screen and (max-width: 478px) {
-
- .main-head-subbox-right {
- display: none;
- }
-
- .main-head-subbox-left {
- display: flex;
- justify-content: center;
- margin-left: auto;
- margin-right: auto;
- width: 100%;
- }
-
- .main-head {
- font-size: 4rem;
- color: #6dd6f4;
- font-family: "Sulphur Point", sans-serif;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: auto;
- margin-right: auto;
- font-weight: 400;
- letter-spacing: 2px;
- text-decoration: underline;
- }
-
- .material-symbols-outlined {
- display: none !important;
- }
- }
\ No newline at end of file
+}