This commit is contained in:
a-ill
2023-06-24 00:39:41 +03:00
parent efbda226a1
commit c2ed24a9b6
35 changed files with 1183 additions and 74 deletions

View File

@@ -8,6 +8,11 @@ using Server.DatabaseSupport, Server.TemplateEditor
controller = "basic"
dict_layouts = Dict(
:landing => generate_layout_html("main",controller,"landing",css=["landing"]),
:manifesto => generate_layout_html("main",controller,"manifesto"),
:join_us => generate_layout_html("main",controller,"join_us"),
:groups => generate_layout_html("main",controller,"groups"),
:cooperatives => generate_layout_html("main",controller,"cooperatives"),
:communities => generate_layout_html("main",controller,"communities"),
)
#---General-----------------------------------------------------
@@ -20,5 +25,40 @@ function landing()
)
end
function manifesto()
html(:basic,:manifesto, layout = dict_layouts[:manifesto], context = @__MODULE__,
title = "LibSoc - Manifesto",
description = ""
)
end
function join_us()
html(:basic,:join_us, layout = dict_layouts[:join_us], context = @__MODULE__,
title = "LibSoc - Join us",
description = ""
)
end
function groups()
html(:basic,:groups, layout = dict_layouts[:groups], context = @__MODULE__,
title = "LibSoc - Groups",
description = ""
)
end
function cooperatives()
html(:basic,:cooperatives, layout = dict_layouts[:cooperatives], context = @__MODULE__,
title = "LibSoc - Cooperatives",
description = ""
)
end
function communities()
html(:basic,:communities, layout = dict_layouts[:communities], context = @__MODULE__,
title = "LibSoc - Communities",
description = ""
)
end
end

View File

@@ -0,0 +1 @@
<communities-component></communities-component>

View File

@@ -0,0 +1 @@
<cooperatives-component></cooperatives-component>

View File

@@ -0,0 +1 @@
<groups-component></groups-component>

View File

@@ -0,0 +1 @@
<join-us-component></join-us-component>

View File

@@ -0,0 +1 @@
<manifesto-component></manifesto-component>