Commit a9990c84 authored by Ken's avatar Ken

refractor project structure

parent f511a2a1
...@@ -2,7 +2,7 @@ import axiosClient from "./axiosClient"; ...@@ -2,7 +2,7 @@ import axiosClient from "./axiosClient";
const categoryApi = { const categoryApi = {
getCategories: () => { getCategories: () => {
const url = "/api/category"; const url = "/api/categories";
return axiosClient.get(url); return axiosClient.get(url);
}, },
}; };
......
@use "../../styles/variables"; @use "styles/index" as *;
@import "../../styles/mixin";
.header { .header {
&-toolbar { &-toolbar {
...@@ -28,7 +27,7 @@ ...@@ -28,7 +27,7 @@
.navbar-readAll { .navbar-readAll {
&:hover { &:hover {
color: variables.$green-1; color: $green-1;
} }
} }
} }
......
@use "../../styles/variables"; @use "styles/index" as *;
@import "../../styles/mixin";
.newspaper { .newspaper {
&-article { &-article {
...@@ -43,7 +42,7 @@ ...@@ -43,7 +42,7 @@
margin: 50px 0; margin: 50px 0;
width: 100%; width: 100%;
height: 1px; height: 1px;
background-color: variables.$gray-1; background-color: $gray-1;
position: relative; position: relative;
&::after { &::after {
...@@ -55,7 +54,7 @@ ...@@ -55,7 +54,7 @@
width: 7px; width: 7px;
height: 7px; height: 7px;
border-radius: 50%; border-radius: 50%;
background-color: variables.$green-1; background-color: $green-1;
} }
} }
......
@forward "./mixins"; @forward "./mixin";
@forward "./variables"; @forward "./variables";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment