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
2 years ago
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";
const
categoryApi
=
{
getCategories
:
()
=>
{
const
url
=
"/api/categor
y
"
;
const
url
=
"/api/categor
ies
"
;
return
axiosClient
.
get
(
url
);
},
};
...
...
This diff is collapsed.
Click to expand it.
src/components/Header/Header.scss
View file @
a9990c84
@use
"../../styles/variables"
;
@import
"../../styles/mixin"
;
@use
"styles/index"
as
*
;
.header
{
&
-toolbar
{
...
...
@@ -28,7 +27,7 @@
.navbar-readAll
{
&
:hover
{
color
:
variables
.
$green-1
;
color
:
$green-1
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/components/Newspaper/Newspaper.scss
View file @
a9990c84
@use
"../../styles/variables"
;
@import
"../../styles/mixin"
;
@use
"styles/index"
as
*
;
.newspaper
{
&
-article
{
...
...
@@ -43,7 +42,7 @@
margin
:
50px
0
;
width
:
100%
;
height
:
1px
;
background-color
:
variables
.
$gray-1
;
background-color
:
$gray-1
;
position
:
relative
;
&
:
:
after
{
...
...
@@ -55,7 +54,7 @@
width
:
7px
;
height
:
7px
;
border-radius
:
50%
;
background-color
:
variables
.
$green-1
;
background-color
:
$green-1
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/styles/_index.scss
View file @
a9990c84
@forward
"./mixin
s
"
;
@forward
"./mixin"
;
@forward
"./variables"
;
This diff is collapsed.
Click to expand it.
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