-
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
9673c05
commit 5dcbc02
Showing
22 changed files
with
787 additions
and
43 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,17 @@ | ||
type InfoProps = { | ||
title: string | ||
content: string | ||
icon: JSX.Element | ||
} | ||
|
||
function Info({ title, content, icon }: InfoProps) { | ||
return ( | ||
<div> | ||
{icon} | ||
<h1>{title}</h1> | ||
<p>{content}</p> | ||
</div> | ||
) | ||
} | ||
|
||
export default Info |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
.wrapper { | ||
margin: 0 auto; | ||
width: 600px; | ||
min-height: 100%; | ||
flex-grow: 1; | ||
display: flex; | ||
flex-direction: column; | ||
&--center { | ||
justify-content: center; | ||
} | ||
} |
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,18 @@ | ||
import styles from './header.module.scss' | ||
|
||
function Header() { | ||
return ( | ||
<div className={styles.header}> | ||
<h1>Konfigurator servisa</h1> | ||
<nav> | ||
<ul> | ||
<li> | ||
<a href='#'>Izračunajte trošak servisa</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> | ||
) | ||
} | ||
|
||
export default Header |
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,17 @@ | ||
import Header from './Header' | ||
import styles from './page.module.scss' | ||
|
||
type PageProps = { | ||
children: React.ReactNode | ||
} | ||
|
||
function Page({ children }: PageProps) { | ||
return ( | ||
<div className={styles.page}> | ||
<Header /> | ||
{children} | ||
</div> | ||
) | ||
} | ||
|
||
export default Page |
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,18 @@ | ||
@use '../../App.scss' as *; | ||
|
||
.header { | ||
background: var(--primary-100); | ||
color: var(--base-600); | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 15px 50px; | ||
h1 { | ||
@include font(700, 32, 1.3); | ||
} | ||
a { | ||
@include font(400, 16, 1.5); | ||
color: var(--base-600); | ||
text-decoration: none; | ||
} | ||
} |
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,5 @@ | ||
.page { | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
} |
Oops, something went wrong.