Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

learn V2 #59

Merged
merged 16 commits into from
Nov 1, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
empty style tag bug fixed in production
  • Loading branch information
M-ZubairAhmed committed Oct 31, 2017
commit 5f47064fad71496f08328af95e3f75c589983481
1 change: 0 additions & 1 deletion components/accord-guide.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export default class AccordGuide extends Component {
</Accordion.Content>
</Accordion>
</main>
<style jsx>{``}</style>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion components/global-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default () => (
text-align: center;
}
th {
background: #fafafa;
background: #f4f6fb;
font-weight: bold;
}
td,
Expand Down
17 changes: 9 additions & 8 deletions pages/learn/subject.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export default publicPage(
render() {
return (
<div>
<header>
<logo className="devicon-laravel-plain colored" />
<headling>{this.props.url.query.id}</headling>
</header>
<div className="header">
<div className={`logo ${contentsOfLaravel.logo}`} />
<div className="headline">{this.props.url.query.id}</div>
</div>
<main>
<section>
<Tab
Expand Down Expand Up @@ -89,7 +89,7 @@ export default publicPage(
</section>
</main>
<style jsx>{`
header {
.header {
display: flex;
flex-direction: row;
flex-wrap: wrap;
Expand All @@ -99,19 +99,20 @@ export default publicPage(
background-color: #f4f7fb;
min-height: 200px;
}
logo {
.logo {
order: 1;
flex: 0 1 auto;
align-self: auto;
font-size: 5em;
font-size: 4.5em;
padding-right: 30px;
}
headling {
.headline {
order: 2;
flex: 0 1 auto;
align-self: auto;
font-size: 5em;
text-align: center;
text-transform: capitalize;
}
main {
background-color: #ffffff;
Expand Down
1 change: 1 addition & 0 deletions utils/mock-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export const listOfDomains = [
];

export const contentsOfLaravel = {
logo: 'devicon-laravel-plain colored',
overview: 'https://rawgit.com/coderplex/learn/cdn/cdn/laravel/overview.md',
guides: [
{
Expand Down