Skip to content

Commit b803368

Browse files
committed
video introduction
1 parent 8cff7bf commit b803368

File tree

5 files changed

+70
-45
lines changed

5 files changed

+70
-45
lines changed

Cargo.lock

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/official-site/blog.sql

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
select 'shell' as component,
2-
'SQLPage' as title,
3-
'database' as icon,
4-
'/' as link,
5-
'en-US' as language,
6-
'Official SQLPage website: write web applications in SQL !' as description,
7-
'blog' as menu_item,
8-
'documentation' as menu_item,
9-
19 as font_size,
10-
'Poppins' as font,
11-
'https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-core.min.js' as javascript,
12-
'https://cdn.jsdelivr.net/npm/prismjs@1/plugins/autoloader/prism-autoloader.min.js' as javascript,
13-
'./rss.sql' as rss,
14-
'/prism-tabler-theme.css' as css;
15-
1+
select 'dynamic' as component, properties FROM example WHERE component = 'shell' LIMIT 1;
2+
163
SELECT 'text' AS component,
174
content AS contents_md
185
FROM blog_posts

examples/official-site/sqlpage/migrations/01_documentation.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,8 @@ You see the [page layouts demo](./examples/layouts.sql) for a live example of th
782782
{"title": "About", "submenu": [
783783
{"link": "/safety.sql", "title": "Security"},
784784
{"link": "/performance.sql", "title": "Performance"},
785-
{"link": "//github.com/lovasoa/SQLpage/blob/main/LICENSE.txt", "title": "License"}
785+
{"link": "//github.com/lovasoa/SQLpage/blob/main/LICENSE.txt", "title": "License"},
786+
{"link": "/blog.sql", "title": "Articles"}
786787
]},
787788
{"title": "Examples", "submenu": [
788789
{"link": "/examples/tabs.sql", "title": "Tabs"},
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
INSERT INTO blog_posts (title, description, icon, created_at, content)
3+
VALUES
4+
(
5+
'Introduction video',
6+
'A 30-minute live presetation of SQLPage, its raison d''être, and how to use it.',
7+
'brand-youtube',
8+
'2024-05-14',
9+
'
10+
# Introduction video
11+
12+
## Canadians love SQLPage
13+
14+
The Kitchener-Waterloo Linux User Group had the pleasure of [hosting a presentation](https://kwlug.org/node/1374)
15+
by Anton Avramov, an avid SQLPage user and community member, who gave a live demonstration of SQLPage.
16+
17+
## The video
18+
19+
The user group kindly invited me (Ophir, the initial creator and main contributor to SQLPage)
20+
to record a video introduction to SQLPage, which I did.
21+
22+
The video is a 5 minute introduction to the philosophy behind SQLPage,
23+
followed by a 25 minute live demonstration of how to create
24+
[this todo list application](https://github.com/lovasoa/SQLpage/tree/main/examples/todo%20application)
25+
from scratch.
26+
27+
Watch it on youtube:
28+
29+
[![video cover](https://i.ytimg.com/vi/9NJgH_-zXjY/maxresdefault.jpg)](https://www.youtube.com/watch?v=9NJgH_-zXjY)
30+
');

examples/official-site/your-first-sql-website/index.sql

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SELECT 'hero' as component,
88
'Let''s create your first website in SQL together, from downloading SQLPage to publishing your site online.' as description,
99
'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Backlit_keyboard.jpg/1024px-Backlit_keyboard.jpg' as image,
1010
'https://replit.com/@pimaj62145/SQLPage#index.sql' as link,
11-
'Follow this tutorial online' as link_text;
11+
'Try SQLPage online on repl.it' as link_text;
1212

1313
SELECT 'alert' as component,
1414
'Afraid of the setup ? Do it the easy way !' as title,
@@ -17,5 +17,12 @@ SELECT 'alert' as component,
1717
'You don’t want to have anything to do with scary hacker things ? You can use a preconfigured SQLPage hosted on our servers, and **never have to configure a server** yourself.' as description_md,
1818
'hosted.sql' AS link,
1919
'Try SQLPage cloud' as link_text;
20+
SELECT 'alert' as component,
21+
'Do you want to see my face ?' as title,
22+
'brand-youtube' as icon,
23+
'purple' as color,
24+
'I made a video to introduce you to SQLPage. You can watch it on YouTube. The video covers everything from the underlying technology to the philosophy behind SQLPage to the actual steps to create your first website.' as description_md,
25+
'https://www.youtube.com/watch?v=9NJgH_-zXjY' AS link,
26+
'Watch the introduction video' as link_text;
2027

2128
select 'text' as component, sqlpage.read_file_as_text('your-first-sql-website/tutorial.md') as contents_md;

0 commit comments

Comments
 (0)