Skip to content

Commit

Permalink
fix: only font family LineSeedEN and add "dist" in .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
chiol authored Aug 23, 2023
1 parent 7a21e3d commit 6d65012
Show file tree
Hide file tree
Showing 269 changed files with 5 additions and 75,459 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ yarn-error.log*


.vscode
volumes
volumes

dist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 0 additions & 20 deletions apps/web/src/constants/font-family.ts

This file was deleted.

18 changes: 0 additions & 18 deletions apps/web/src/pages/_app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@
@tailwind utilities;

@layer components {
.chip {
@apply font-14-bold rounded-full px-3 py-2 bg-fill-quaternary;

}

.chip-disabled {
@apply border text-fill-tertiary border-fill-tertiary bg-primary;
}

.chip-sm {
@apply font-10-bold rounded-full px-1.5 py-0.5 bg-fill-quaternary;
}


.loading {
position: relative;
overflow: hidden;
Expand Down Expand Up @@ -68,8 +54,4 @@ th {
width: 8px;
height: 100%;
top: 0;
}

.date_picker_container:hover:not(:has(.date_picker_clear_btn:hover)) {
@apply border-fill-primary;
}
10 changes: 0 additions & 10 deletions apps/web/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ import { NextPage } from 'next';
import { appWithTranslation } from 'next-i18next';
import { AppProps } from 'next/app';
import Head from 'next/head';
import { useRouter } from 'next/router';
import { ReactElement, ReactNode, useState } from 'react';
import 'react-datepicker/dist/react-datepicker.css';

import { LOCALE_FONT_FAMILY } from '@/constants/font-family';
import { TenantProvider } from '@/contexts/tenant.context';
import { UserProvider } from '@/contexts/user.context';
import '@/styles/react-datepicker.css';
Expand All @@ -46,20 +44,12 @@ function App({ Component, pageProps }: AppPropsWithLayout) {
const [queryClient] = useState(() => new QueryClient());

const getLayout = Component.getLayout ?? ((page) => page);
const { locale } = useRouter();

return (
<>
<Head>
<title>User Feedback</title>
<link rel="shortcut icon" href="/assets/images/logo.svg" />
<style>{`
html {
font-family: ${
LOCALE_FONT_FAMILY[locale ?? 'ko']
}, LineSeedEN !important;
}
`}</style>
</Head>
<QueryClientProvider client={queryClient}>
<Hydrate state={pageProps.dehydratedState}>
Expand Down
4 changes: 0 additions & 4 deletions apps/web/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ class MyDocument extends Document {
return (
<Html>
<Head>
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100;300;400;500;700;900&display=swap"
rel="stylesheet"
/>
<script
dangerouslySetInnerHTML={{
__html: `
Expand Down
186 changes: 0 additions & 186 deletions packages/ufb-tailwind/dist/layer/base.css

This file was deleted.

1 change: 0 additions & 1 deletion packages/ufb-tailwind/dist/layer/base.js

This file was deleted.

Loading

0 comments on commit 6d65012

Please sign in to comment.