Skip to content

Commit

Permalink
fix: svg config
Browse files Browse the repository at this point in the history
  • Loading branch information
farrah-deriv committed Apr 23, 2024
1 parent dd267d1 commit 3705ce3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/constants/url.ts
Original file line number Diff line number Diff line change
@@ -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';
8 changes: 7 additions & 1 deletion src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
@tailwind components;
@tailwind utilities;

@import '../styles/devices.scss';
@import '../styles/devices.scss';

html,
body {
font-family: 'IBM Plex Sans', sans-serif;
font-size: 10px;
}
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -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({
Expand All @@ -20,6 +22,7 @@ export default defineConfig({
},
},
},
plugins: [react(), svgr()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
Expand Down

0 comments on commit 3705ce3

Please sign in to comment.