fix: page styling, search page

This commit is contained in:
Sheldon Cooper 2026-01-17 15:46:49 -05:00
parent ee8ac6fd85
commit 2db955bd7b
8 changed files with 54 additions and 34 deletions

View file

@ -0,0 +1,12 @@
import axios from "axios";
import SERVER_URL from "./web.service"
import type { SearchResult } from "@repo/common/dto";
export default class KotobaService {
public static search(search_term:string){
return axios.get<SearchResult>(`${SERVER_URL}/search`,
{params:{ search_term }});
}
}

View file

@ -0,0 +1,4 @@
/* Establish constants here */
export default class WebConstants {
static SERVER_URL: string = "http://localhost:1225"
}