|
Last change
on this file since badbc79 was badbc79, checked in by Luka Cheshlarov <luka.cheshlarov@…>, 20 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
462 bytes
|
| Line | |
|---|
| 1 | import {useLoaderData} from "react-router-dom";
|
|---|
| 2 | import {Grid} from "@mui/material";
|
|---|
| 3 | import RestoranCard from "../components/cards/restoran-card";
|
|---|
| 4 | import LoginPhoto from "../assets/images/delivery.jpg";
|
|---|
| 5 | import HomePage from "../assets/images/AllRestaurantsHomePage.jpg"
|
|---|
| 6 |
|
|---|
| 7 | export default function Root() {
|
|---|
| 8 |
|
|---|
| 9 | return (
|
|---|
| 10 | <Grid container component={"main"} style={{backgroundImage: `url(${HomePage})`}} className={"background-image"}>
|
|---|
| 11 | </Grid>
|
|---|
| 12 | );
|
|---|
| 13 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.