Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Newspaper Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lap nguyen
Newspaper Frontend
Commits
a9990c84
Commit
a9990c84
authored
Nov 23, 2022
by
Ken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refractor project structure
parent
f511a2a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
categoryApi.ts
src/api/categoryApi.ts
+1
-1
Header.scss
src/components/Header/Header.scss
+2
-3
Newspaper.scss
src/components/Newspaper/Newspaper.scss
+3
-4
_index.scss
src/styles/_index.scss
+1
-1
No files found.
src/api/categoryApi.ts
View file @
a9990c84
...
@@ -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/categor
y
"
;
const
url
=
"/api/categor
ies
"
;
return
axiosClient
.
get
(
url
);
return
axiosClient
.
get
(
url
);
},
},
};
};
...
...
src/components/Header/Header.scss
View file @
a9990c84
@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
;
}
}
}
}
}
}
...
...
src/components/Newspaper/Newspaper.scss
View file @
a9990c84
@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
;
}
}
}
}
...
...
src/styles/_index.scss
View file @
a9990c84
@forward
"./mixin
s
"
;
@forward
"./mixin"
;
@forward
"./variables"
;
@forward
"./variables"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment