-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5336c88
commit 7b13826
Showing
9 changed files
with
182 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"presets": ["next/babel"], | ||
"plugins": [ | ||
[ | ||
"styled-components", | ||
{ | ||
"ssr": true | ||
} | ||
] | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from "react"; | ||
import { HomeContainer } from "./styled"; | ||
import { default as NextLink } from "next/link"; | ||
|
||
function Home() { | ||
return ( | ||
<HomeContainer> | ||
<div className="leftDiv"> | ||
<img src="Logos/LogoGandini.svg" alt="Logo Gandini"/> | ||
</div> | ||
<div className="rightDiv"> | ||
<NextLink href="/"> | ||
<a>ESP</a> | ||
</NextLink> | ||
<NextLink href="/english"> | ||
<a>ENG</a> | ||
</NextLink> | ||
</div> | ||
</HomeContainer> | ||
); | ||
} | ||
|
||
export default Home; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from "react"; | ||
import { HomeContainer } from "./styled"; | ||
import { default as NextLink } from "next/link"; | ||
|
||
function HomeEN() { | ||
return ( | ||
<HomeContainer> | ||
<div className="leftDiv"> | ||
<img src="Logos/LogoGandini.svg" alt="Logo Gandini"/> | ||
</div> | ||
<div className="rightDiv"> | ||
<NextLink href="/"> | ||
<a>ESP</a> | ||
</NextLink> | ||
<NextLink href="/english"> | ||
<a>ENG</a> | ||
</NextLink> | ||
</div> | ||
</HomeContainer> | ||
); | ||
} | ||
|
||
export default HomeEN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import styled from "styled-components"; | ||
|
||
const HomeContainer = styled.div` | ||
width: 100%; | ||
height: 100vh; | ||
display: flex; | ||
flex-wrap: wrap; | ||
.leftDiv { | ||
width: 50%; | ||
background-color: gray; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
.rightDiv { | ||
width: 50%; | ||
a { | ||
margin-right: 2%; | ||
cursor: pointer; | ||
color: green; | ||
} | ||
} | ||
img { | ||
width: 40%; | ||
display: block; | ||
margin: 0 auto; | ||
} | ||
`; | ||
|
||
export { HomeContainer }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import React from "react"; | ||
import HomeEN from "../containers/home/homeEN"; | ||
|
||
export default function English() { | ||
return <HomeEN />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7b13826
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: