Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
order-management-react
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
Ascend
order-management-react
Commits
bfff4746
Commit
bfff4746
authored
May 17, 2021
by
Shanelle Valencia
Browse files
Options
Browse Files
Download
Plain Diff
Fix merge issues
parents
0be70377
247238dd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
Nav.tsx
src/components/Nav.tsx
+6
-0
index.css
src/index.css
+19
-0
OrderShowPage.tsx
src/pages/OrderShowPage.tsx
+5
-0
MainRouter.tsx
src/router/MainRouter.tsx
+4
-0
No files found.
src/components/Nav.tsx
View file @
bfff4746
...
...
@@ -11,7 +11,10 @@ import NisumLogo from '../img/nisum.jpeg'
=======
import
Logo
from
'
..
/
img
/
logo
.
png
'
import
Nisum
from
'
..
/
img
/
nisum
.
jpeg
'
<<<<<<<
HEAD
>
>>>>>>
Add more styling
=======
>>>>>>>
247238ddabaea9507af45d4bae4b6f96e4a77a5a
import
{
Drawer
,
DrawerBody
,
...
...
@@ -77,7 +80,10 @@ const Nav = () => {
<
HStack
>
<
Link
to=
"/"
><
Image
src=
{
Logo
}
alt=
"project logo"
className=
"logoImg"
/></
Link
>
<
h1
>
Order Management PRO
</
h1
>
<
<<<<<<
HEAD
>
>>>>>>
Add more styling
=======
>>>>>>>
247238ddabaea9507af45d4bae4b6f96e4a77a5a
{
/* <Link to="/"><h1>Order Management</h1></Link> */
}
</
HStack
>
</
Box
>
...
...
src/index.css
View file @
bfff4746
...
...
@@ -207,9 +207,28 @@ input[type=text]:focus {
.account
h1
{
padding-top
:
50px
;
<<<<<<<
HEAD
}
.dropdown-icon
span
:hover
{
/* color: #cccdcf; */
color
:
red
;
/* background-color: #cccdcf; */
transition
:
0.3s
;
=======
>>>>>>>
247238ddabaea9507af45d4bae4b6f96e4a77a5a
}
.dropdown
:hover
{
color
:
#cccdcf
;
background-color
:
#e9ecef
;
transition
:
0.4s
;
border-radius
:
2px
;
padding
:
0
2px
;
/* width: 80px; */
}
.dropdown-icon
span
:hover
{
/* color: #cccdcf; */
color
:
red
;
...
...
src/pages/OrderShowPage.tsx
View file @
bfff4746
...
...
@@ -15,12 +15,17 @@ const OrderShowPage = (props: any) => {
// const { id } = useParams<any>();
// const { order } = useOrder(id)
const
location
=
props
.
match
.
params
.
id
;
<
<<<<<<
HEAD
<<<<<<<
HEAD
const
apiUrl
=
'
http
:
//localhost:8084/api/orders/' + location;
=======
const
apiUrl
=
'
http
:
//localhost:8080/api/orders';
// const apiUrl = 'http://138.91.251.222:8086/api/orders/' + location;
>
>>>>>>
Add more styling
=======
const apiUrl = 'http://localhost:8080/api/orders';
// const apiUrl = 'http://138.91.251.222:8086/api/orders/' + location;
>>>>>>>
247238ddabaea9507af45d4bae4b6f96e4a77a5a
const [order, setOrder] = useState
<
Order
>
();
const [items, setItems] = useState
<
Item
[]
>
()
...
...
src/router/MainRouter.tsx
View file @
bfff4746
...
...
@@ -22,9 +22,13 @@ const MainRouter: React.FC = () => {
</
Switch
>
</
main
>
<
<<<<<<
HEAD
<<<<<<<
HEAD
=======
{
/* <Footer /> */
}
>
>>>>>>
Add more styling
=======
{
/* <Footer /> */
}
>>>>>>>
247238ddabaea9507af45d4bae4b6f96e4a77a5a
</
body
>
</
GoogleAuthProvider
>
</
BrowserRouter
>
...
...
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