generated from alecodes/base-template
feat: add basic landing page
This commit is contained in:
parent
d643e1c0f2
commit
9b5d43e9ba
4 changed files with 32 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ compose-exec +ARGS:
|
||||||
|
|
||||||
[working-directory: 'docker']
|
[working-directory: 'docker']
|
||||||
dev:
|
dev:
|
||||||
docker compose up --watch
|
docker compose up
|
||||||
|
|
||||||
dbmate +ARGS: (compose-exec "index dbmate" ARGS)
|
dbmate +ARGS: (compose-exec "index dbmate" ARGS)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,30 @@
|
||||||
SELECT 'dynamic' AS component, sqlpage.read_file_as_text('../shared/shell.json') AS properties;
|
SELECT
|
||||||
|
'dynamic' AS component,
|
||||||
|
sqlpage.read_file_as_text('../shared/shell.json') AS properties;
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
'form' AS component,
|
||||||
|
'entries' AS "action",
|
||||||
|
'Entries' AS title,
|
||||||
|
'Search' AS validate,
|
||||||
|
'GET' AS method;
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
'query' AS name,
|
||||||
|
'' AS label,
|
||||||
|
'Search query...' AS placeholder,
|
||||||
|
TRUE AS autofocus;
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
'list' AS component,
|
||||||
|
'Lastes entries' AS title,
|
||||||
|
'No entries has been found...' AS empty_title;
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
name AS title,
|
||||||
|
format('/entries/%s', id) AS link,
|
||||||
|
uid AS description
|
||||||
|
FROM
|
||||||
|
public.sources
|
||||||
|
LIMIT
|
||||||
|
10;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
"layout": "boxed",
|
"layout": "boxed",
|
||||||
"sidebar": true,
|
"sidebar": true,
|
||||||
"theme": "dark",
|
"theme": "dark",
|
||||||
|
"css": "style.css",
|
||||||
"menu_item": [
|
"menu_item": [
|
||||||
{ "link": "index.sql", "title": "Home" },
|
{ "link": "index.sql", "title": "Home" },
|
||||||
{
|
{
|
||||||
|
|
|
||||||
0
src/shared/style.css
Normal file
0
src/shared/style.css
Normal file
Loading…
Add table
Add a link
Reference in a new issue