From 3705ce348221182d0da19e98aa576003e851a08e Mon Sep 17 00:00:00 2001 From: Farrah Mae Ochoa Date: Tue, 23 Apr 2024 20:18:32 +0400 Subject: [PATCH] fix: svg config --- src/constants/url.ts | 10 +++++----- src/main.scss | 8 +++++++- vite.config.ts | 3 +++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/constants/url.ts b/src/constants/url.ts index f29bd15e..206aa6fe 100644 --- a/src/constants/url.ts +++ b/src/constants/url.ts @@ -1,5 +1,5 @@ -export const BUY_SELL_URL = 'buy-sell'; -export const ORDERS_URL = 'orders'; -export const MY_ADS_URL = 'my-ads'; -export const MY_PROFILE_URL = 'my-profile'; -export const ADVERTISER_URL = 'advertiser'; +export const BUY_SELL_URL = '/buy-sell'; +export const ORDERS_URL = '/orders'; +export const MY_ADS_URL = '/my-ads'; +export const MY_PROFILE_URL = '/my-profile'; +export const ADVERTISER_URL = '/advertiser'; diff --git a/src/main.scss b/src/main.scss index e1d7cf2e..1151e6eb 100644 --- a/src/main.scss +++ b/src/main.scss @@ -2,4 +2,10 @@ @tailwind components; @tailwind utilities; -@import '../styles/devices.scss'; \ No newline at end of file +@import '../styles/devices.scss'; + +html, +body { + font-family: 'IBM Plex Sans', sans-serif; + font-size: 10px; +} diff --git a/vite.config.ts b/vite.config.ts index dd5996bf..b13f5ffe 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,5 +1,7 @@ import path from 'path'; import { defineConfig } from 'vite'; +import svgr from 'vite-plugin-svgr'; +import react from '@vitejs/plugin-react'; // https://vitejs.dev/config/ export default defineConfig({ @@ -20,6 +22,7 @@ export default defineConfig({ }, }, }, + plugins: [react(), svgr()], resolve: { alias: { '@': path.resolve(__dirname, './src'),