Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
radix-3430485
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
radix-3430485
Commits
6a6d5768
Commit
6a6d5768
authored
10 months ago
by
Sam Summy
Browse files
Options
Downloads
Patches
Plain Diff
Breaking change: Rename Page header component to Page navigation
parent
a7711537
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/page/README.md
+1
-1
1 addition, 1 deletion
components/page/README.md
components/page/page.component.yml
+3
-3
3 additions, 3 deletions
components/page/page.component.yml
components/page/page.twig
+2
-2
2 additions, 2 deletions
components/page/page.twig
with
6 additions
and
6 deletions
components/page/README.md
+
1
−
1
View file @
6a6d5768
...
...
@@ -16,7 +16,7 @@ A template for constructing the page layout.
## Template Structure
-
**Page Wrapper**
: A
`<div>`
element serves as the main container for the page, with customizable attributes and classes.
-
**
Header
Block**
: A dedicated block for the page header, which can be customized or replaced as needed.
-
**
Navigation
Block**
: A dedicated block for the page header, which can be customized or replaced as needed.
-
**Content Block**
: The main content area of the page, designed to be flexible for various types of content layouts.
-
**Footer Block**
: A separate block for the page footer, allowing for consistent footer content across the site.
...
...
This diff is collapsed.
Click to expand it.
components/page/page.component.yml
+
3
−
3
View file @
6a6d5768
...
...
@@ -20,9 +20,9 @@ slots:
navigation
:
title
:
Navigation
description
:
'
The
primary
navigation
of
the
site,
including
main
and
secondary
menus.'
page_
header
:
title
:
Page
Header
description
:
'
The
header
section
of
the
page.'
page_
navigation
:
title
:
Page
Navigation
description
:
'
The
navigation
section
of
the
page.'
page_content
:
title
:
Page Content
description
:
'
The
main
content
area
of
the
page.'
...
...
This diff is collapsed.
Click to expand it.
components/page/page.twig
+
2
−
2
View file @
6a6d5768
...
...
@@ -12,8 +12,8 @@
%}
<div
{{
page_attributes.addClass
(
page_classes
)
}}
>
{%
block
page_
header
%}
{%
include
'radix:page-
header
'
%}
{%
block
page_
navigation
%}
{%
include
'radix:page-
navigation
'
%}
{%
endblock
%}
{%
block
page_content
%}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment