-
Notifications
You must be signed in to change notification settings - Fork 4
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
9335cb6
commit dc0a194
Showing
24 changed files
with
97 additions
and
91 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
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
} | ||
:local(.graph) { | ||
width: 50%; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
} | ||
:local(.title) { | ||
color: rgb(0, 153, 255); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
} | ||
:local(.title) { | ||
color: rgb(0, 153, 255); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -7,4 +7,4 @@ | |
} | ||
:local(.title) { | ||
color: rgb(0, 153, 255); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
width: 80%; | ||
margin-bottom: 24px; | ||
border: 1px solid rgb(0, 153, 255); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
} | ||
:local(.gauge) { | ||
width: 50%; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
} | ||
:local(.title) { | ||
color: rgb(0, 153, 255); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ export default function App() { | |
</div> | ||
</div> | ||
) | ||
} | ||
} |
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
17 changes: 10 additions & 7 deletions
17
packages/cli/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/home.tsx
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 |
---|---|---|
@@ -1,21 +1,24 @@ | ||
import logo from '/logo.svg'; | ||
import styles from './style.module.css'; | ||
import logo from "/logo.svg"; | ||
import styles from "./style.module.css"; | ||
|
||
export default function App() { | ||
const name = "$(name)"; | ||
return ( | ||
|
||
return ( | ||
<div className="app"> | ||
<div className={styles.app__name}>{name}</div> | ||
<div className={styles.app__name}>{name}</div> | ||
<header className={styles.header}> | ||
<img src={logo} className={styles.logo} alt="logo" /> | ||
<p>Welcome to Ignite UI for React!</p> | ||
<a className={styles.link} | ||
<a | ||
className={styles.link} | ||
href="https://www.infragistics.com/products/ignite-ui-react" | ||
target="_blank" | ||
rel="noopener noreferrer"> | ||
rel="noopener noreferrer" | ||
> | ||
Learn More | ||
</a> | ||
</header> | ||
</div> | ||
) | ||
); | ||
} |
119 changes: 61 additions & 58 deletions
119
packages/cli/templates/react/igr-ts/projects/top-nav/files/src/app/App.css
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 |
---|---|---|
@@ -1,59 +1,62 @@ | ||
.app { | ||
text-align: center; | ||
display: flex; | ||
flex-flow: column; | ||
min-height: 100vh; | ||
} | ||
|
||
.content { | ||
flex: 1 0 auto; | ||
padding: 1em; | ||
} | ||
|
||
/* quick nav menubar */ | ||
nav, .app__name { | ||
background-color: rgb(0, 153, 255); | ||
box-sizing: border-box; | ||
} | ||
.app__name { | ||
font-weight: 600; | ||
font-size: 24px; | ||
line-height: 32px; | ||
padding-left: 24px; | ||
text-align: left; | ||
color: #FFF; | ||
padding-bottom: 8px; | ||
} | ||
|
||
nav ul { | ||
list-style: none; | ||
display: flex; | ||
justify-content: flex-start; | ||
flex-wrap: wrap; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
nav ul a { | ||
color: #fff; | ||
line-height: 2; | ||
text-decoration: none; | ||
margin: 0 5px; | ||
} | ||
|
||
nav ul a.active { | ||
color: #fff; | ||
font-weight: 600; | ||
} | ||
nav ul li { | ||
margin: 0px 16px; | ||
box-sizing: border-box; | ||
border-bottom: 1px solid transparent; | ||
} | ||
nav ul li.active { | ||
border-bottom: 2px solid #fff; | ||
} | ||
nav ul li:not(.active):hover { | ||
border-bottom: 1px solid #fff; | ||
} | ||
|
||
text-align: center; | ||
display: flex; | ||
flex-flow: column; | ||
min-height: 100vh; | ||
} | ||
|
||
.content { | ||
flex: 1 0 auto; | ||
padding: 1em; | ||
} | ||
|
||
/* quick nav menubar */ | ||
nav, | ||
.app__name { | ||
background-color: rgb(0, 153, 255); | ||
box-sizing: border-box; | ||
} | ||
.app__name { | ||
font-weight: 600; | ||
font-size: 24px; | ||
line-height: 32px; | ||
padding-left: 24px; | ||
text-align: left; | ||
color: #fff; | ||
padding-bottom: 8px; | ||
} | ||
|
||
nav ul { | ||
list-style: none; | ||
display: flex; | ||
justify-content: flex-start; | ||
flex-wrap: wrap; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
nav ul a { | ||
color: #fff; | ||
line-height: 2; | ||
text-decoration: none; | ||
margin: 0 5px; | ||
} | ||
|
||
nav ul a.active { | ||
color: #fff; | ||
font-weight: 600; | ||
} | ||
|
||
nav ul li { | ||
margin: 0px 16px; | ||
box-sizing: border-box; | ||
border-bottom: 1px solid transparent; | ||
} | ||
|
||
nav ul li.active { | ||
border-bottom: 2px solid #fff; | ||
} | ||
|
||
nav ul li:not(.active):hover { | ||
border-bottom: 1px solid #fff; | ||
} |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
} | ||
:local(.gauge) { | ||
width: 50%; | ||
} | ||
} |