1ea289e8b7
* feat: Sets up portal public views with rails ERB and tailwind * linter fixes * Remove duplicate style file * Shows articles and categories * Specify layout for articles page * Updates public portal styles * Fixes blog content styles * Portal style updates for article page * Review fixes * Adds breadcrumbs * fix: rspec * fix: public portal spec * Code climate fixes * Adds test cases for missing files * Show only published articles * Updates help center routes * Review fixes * Render markdown content for aticle body * Update app/views/public/api/v1/portals/articles/index.html.erb Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Sojan <sojan@pepalo.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: tejaswini chile <tejaswini@chatwoot.com>
42 lines
898 B
Text
42 lines
898 B
Text
<%#
|
|
# Application Layout
|
|
|
|
This view template is used as the layout
|
|
for every page that Administrate generates.
|
|
|
|
By default, it renders:
|
|
- Navigation
|
|
- Content for a search bar
|
|
(if provided by a `content_for` block in a nested page)
|
|
- Flashes
|
|
- Links to stylesheets and JavaScripts
|
|
%>
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="<%= I18n.locale %>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="ROBOTS" content="NOODP">
|
|
<meta name="viewport" content="initial-scale=1">
|
|
|
|
<%= javascript_pack_tag 'portal' %>
|
|
<%= stylesheet_pack_tag 'portal' %>
|
|
|
|
|
|
<%= csrf_meta_tags %>
|
|
<title><%= @portal.page_title%></title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<div class="app-container">
|
|
<main class="main-content min-h-screen flex flex-col" role="main">
|
|
<%= render "public/api/v1/portals/header", portal: @portal %>
|
|
<%= yield %>
|
|
<%= render "public/api/v1/portals/footer" %>
|
|
</main>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html>
|