Skip to content

Commit bf44b79

Browse files
authored
Merge pull request #11 from CliffCrerar/dev-master
Dev master
2 parents dbd8d47 + de22681 commit bf44b79

File tree

4 files changed

+41
-7
lines changed

4 files changed

+41
-7
lines changed

learn-tsql.code-workspace

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
"path": "."
55
},
66
{
7-
"path": "../cdn-png-repo"
8-
},
9-
{
10-
"path": "/Volumes/cdn-cloudflare.ga"
7+
"path":"../reg-api-mongodb"
118
},
129
{
1310
"path": "/Users/cliff/git/create-site-map"

public/index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
});
8181
</script>
8282
<title>{{ title }}</title>
83-
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
83+
8484
<!-- <script type="text/javascript" src="https://platform.linkedin.com/badges/js/profile.js" async defer></script> -->
8585
<style>
86-
@import url('https://fonts.googleapis.com/css?family=DM+Serif+Display|Lato&display=swap');
86+
@import url('https://fonts.googleapis.com/css?family=Exo|Lato&display=swap');
8787
/* @import url('https://fonts.googleapis.com/css?family=DM+Serif+Display|DM+Serif+Text|Orbitron|Playfair+Display|Raleway&display=swap'); */
8888
/* @import url('https://fonts.googleapis.com/css?family=Audiowide|Baumans|Convergence|Days+One|Forum|Marcellus+SC|Metrophobic|Michroma|Reem+Kufi|Syncopate&display=swap'); */
8989
/* @import url('https://fonts.googleapis.com/css?family=Josefin+Sans|Lato|Oswald&display=swap'); */
@@ -116,7 +116,7 @@
116116
*/
117117

118118
:root {
119-
--heading-font: DM Serif Display;
119+
--heading-font: Exo;
120120
--body-fonts: Lato;
121121
}
122122

@@ -145,12 +145,18 @@
145145
p {
146146
text-align: justify !important;
147147
}
148+
iframe{
149+
border: transparent;
150+
}
148151
</style>
149152
</head>
150153

151154
<body>
152155
{{ head }}
153156
<div id="root">{{ footer }}</div>
157+
<!-- <script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script> -->
158+
<!-- <script type="module" src="https://unpkg.com/x-frame-bypass"></script> -->
159+
<!-- <script type="module" src="x-frame-bypass.js"></script> -->
154160
</body>
155161

156162
</html>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React, { Component } from 'react';
2+
class SQLEditor extends Component {
3+
constructor(props) {
4+
super(props)
5+
this.state = { width: '100%', height: '100%' }
6+
}
7+
8+
render() {
9+
return (
10+
<div style={ { height: '1000px' } }>
11+
<iframe style={ this.state }
12+
src-doc="https://www.jdoodle.com/embed/v0/1M5O"
13+
src="https://www.jdoodle.com/embed/v0/1M5O"
14+
contentEditable="true"
15+
frameborder="0"></iframe>
16+
</div>
17+
)
18+
}
19+
}
20+
21+
export default SQLEditor

src/pages/001-landing/landing.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ parent: Pages
66

77
import {SubTitle} from '../../components/frontmatter'
88
import Image from '../../components/img'
9+
import SQLEditor from '../../components/embeded-sql-editor'
910

1011
<style jsx="true">{`
1112
.img-div{
@@ -68,5 +69,14 @@ alt={'Learn-SQL'}
6869
divClass={{display: 'flex', justifyContent:'space-around', flexFlow:'row-reverse', alignItems: 'center'}}
6970
/>
7071

72+
## Exiting new features
73+
74+
We are in the process of implementing exiting new features for documentation to improve user experience.
75+
76+
There will be a lot more content available and we plan in omplementing a live SQL editor that go along with the lessons. This means no more tedious time spent on installing SQL server.
77+
78+
Lastly there will be a feature to subscribe to stay up to date with new content being added.
79+
80+
<SQLEditor/>
7181

7282

0 commit comments

Comments
 (0)