Skip to content

Commit e821a97

Browse files
authored
Merge pull request #38 from techbloghub/dev
release(search-tag): 2024.02.22 태그 검색 기능 및 Docker 배포 환경 구축
2 parents a733868 + bd76c7d commit e821a97

44 files changed

Lines changed: 465 additions & 252 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"import/order": "off",
2424
"no-console": "off",
2525
"react/function-component-definition": "off",
26-
"arrow-body-style": "off"
26+
"arrow-body-style": "off",
27+
"jsx-a11y/no-autofocus": "off"
2728
}
2829
}

next.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
const { createVanillaExtractPlugin } = require("@vanilla-extract/next-plugin");
1+
const { createVanillaExtractPlugin } = require('@vanilla-extract/next-plugin');
22

33
const withVanillaExtract = createVanillaExtractPlugin();
44

55
/** @type {import('next').NextConfig} */
6-
const nextConfig = {};
6+
const nextConfig = {
7+
compiler: {
8+
removeConsole: process.env.NODE_ENV === 'production',
9+
},
10+
};
711

812
module.exports = withVanillaExtract(nextConfig);

src/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import ThemeProvider from '@/providers/ThemeProvider/ThemeProvider';
2-
import '../styles/globalStyles.css.ts';
1+
import ThemeProvider from '@/commons/providers/ThemeProvider/ThemeProvider.tsx';
2+
import '../commons/styles/globalStyles.css.ts';
33
import { Metadata } from 'next';
44

55
export const metadata: Metadata = {

src/app/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import RemoteControl from '@/components/features/Common/RemoteControl/RemoteControl';
2-
import Card from '@/components/features/Items/Card/Card';
3-
import Header from '@/components/widgets/Header/Header';
4-
import SearchToolbar from '@/components/widgets/SearchToolbar/SearchToolbar';
5-
import * as styles from '@/styles/rootStyles.css';
1+
import RemoteControl from '@/commons/components/features/Common/RemoteControl/RemoteControl';
2+
import Card from '@/commons/components/features/Items/Card/Card';
3+
import Header from '@/commons/components/widgets/Header/Header';
4+
import SearchToolbar from '@/commons/components/widgets/SearchToolbar/SearchToolbar';
5+
import * as styles from '@/commons/styles/rootStyles.css';
66

77
export default function RootPage() {
88
return (

src/components/atoms/Icons/ArrowUp/ArrowUp.tsx renamed to src/commons/components/atoms/Icons/ArrowUp/ArrowUp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import { vars } from '@/commons/styles/globalStyles.css';
12
import { SVGProps } from 'react';
23

34
export default function ArrowUp({ ...props }: SVGProps<SVGSVGElement>) {
45
return (
56
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none" {...props}>
67
<path
78
d="M26.7081 21.7083C26.6152 21.8013 26.5049 21.875 26.3835 21.9253C26.2621 21.9757 26.132 22.0016 26.0006 22.0016C25.8691 22.0016 25.739 21.9757 25.6176 21.9253C25.4962 21.875 25.3859 21.8013 25.2931 21.7083L16.0006 12.4145L6.70806 21.7083C6.52042 21.8959 6.26592 22.0013 6.00056 22.0013C5.73519 22.0013 5.4807 21.8959 5.29306 21.7083C5.10542 21.5206 5 21.2662 5 21.0008C5 20.7354 5.10542 20.4809 5.29306 20.2933L15.2931 10.2933C15.3859 10.2003 15.4962 10.1266 15.6176 10.0762C15.739 10.0259 15.8691 10 16.0006 10C16.132 10 16.2621 10.0259 16.3835 10.0762C16.5049 10.1266 16.6152 10.2003 16.7081 10.2933L26.7081 20.2933C26.801 20.3862 26.8748 20.4964 26.9251 20.6178C26.9754 20.7392 27.0013 20.8694 27.0013 21.0008C27.0013 21.1322 26.9754 21.2623 26.9251 21.3837C26.8748 21.5051 26.801 21.6154 26.7081 21.7083Z"
8-
fill="white"
9+
fill={vars.themeColor.color.mainFontColor}
910
/>
1011
</svg>
1112
);

src/components/atoms/Icons/MagnifyingGlass/MagnifyingGlass.tsx renamed to src/commons/components/atoms/Icons/MagnifyingGlass/MagnifyingGlass.tsx

File renamed without changes.
File renamed without changes.
File renamed without changes.

src/components/atoms/Icons/Tag/Tag.tsx renamed to src/commons/components/atoms/Icons/Tag/Tag.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import { vars } from '@/commons/styles/globalStyles.css';
12
import { SVGProps } from 'react';
23

34
export default function Tag({ ...props }: SVGProps<SVGSVGElement>) {
45
return (
56
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none" {...props}>
67
<path
78
d="M30.8325 15.445L25.125 6.89125C24.9433 6.61728 24.6966 6.39252 24.407 6.23702C24.1174 6.08151 23.7937 6.00008 23.465 6H5C4.46957 6 3.96086 6.21071 3.58579 6.58579C3.21071 6.96086 3 7.46957 3 8V24C3 24.5304 3.21071 25.0391 3.58579 25.4142C3.96086 25.7893 4.46957 26 5 26H23.465C23.7935 25.9994 24.1168 25.9179 24.4063 25.7626C24.6959 25.6074 24.9427 25.3833 25.125 25.11L30.8288 16.555C30.9389 16.391 30.9981 16.1981 30.9988 16.0006C30.9994 15.803 30.9416 15.6097 30.8325 15.445Z"
8-
fill="#343330"
9+
fill={vars.themeColor.color.tagIconBackground}
910
/>
1011
</svg>
1112
);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { vars } from '@/commons/styles/globalStyles.css';
2+
import { style } from '@vanilla-extract/css';
3+
4+
export const tagBox = style({
5+
padding: '8px 10px',
6+
borderRadius: '50px',
7+
backgroundColor: `${vars.themeColor.color.mainBackground}`,
8+
fontSize: '12px',
9+
});

0 commit comments

Comments
 (0)