forked from sqlpage/SQLPage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.sql
28 lines (24 loc) · 1.6 KB
/
index.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
select 'http_header' as component,
'public, max-age=300, stale-while-revalidate=3600, stale-if-error=86400' as "Cache-Control";
select 'dynamic' as component, properties FROM example WHERE component = 'shell' LIMIT 1;
SELECT 'hero' as component,
'Your first SQL Website' as title,
'Let''s create your first website in SQL together, from downloading SQLPage to publishing your site online.' as description,
'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Backlit_keyboard.jpg/1024px-Backlit_keyboard.jpg' as image,
'https://replit.com/@pimaj62145/SQLPage#index.sql' as link,
'Try SQLPage online on repl.it' as link_text;
SELECT 'alert' as component,
'Afraid of the setup ? Do it the easy way !' as title,
'mood-happy' as icon,
'teal' as color,
'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,
'hosted.sql' AS link,
'Try SQLPage cloud' as link_text;
SELECT 'alert' as component,
'Do you prefer videos ?' as title,
'brand-youtube' as icon,
'purple' as color,
'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,
'https://www.youtube.com/watch?v=9NJgH_-zXjY' AS link,
'Watch the introduction video' as link_text;
select 'text' as component, sqlpage.read_file_as_text('your-first-sql-website/tutorial.md') as contents_md;