Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ui-styleguide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Weby
ui-styleguide
Commits
b722c76b
Commit
b722c76b
authored
4 years ago
by
xaralis
Browse files
Options
Downloads
Patches
Plain Diff
More work on article detail
parent
75efcc35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#745
passed
4 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/_patterns/02-organisms/02-articles/article-card-list.mustache
+1
-3
1 addition, 3 deletions
...terns/02-organisms/02-articles/article-card-list.mustache
source/_patterns/03-templates/article-detail.mustache
+36
-12
36 additions, 12 deletions
source/_patterns/03-templates/article-detail.mustache
with
37 additions
and
15 deletions
source/_patterns/02-organisms/02-articles/article-card-list.mustache
+
1
−
3
View file @
b722c76b
<div
class=
"article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3
xl:grid-cols-4
gap-2 lg:gap-4"
>
<div
class=
"article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2 lg:gap-4"
>
{{>
molecules-emphasized-article-card
}}
{{>
molecules-article-card
}}
{{>
molecules-emphasized-article-card
}}
{{>
molecules-article-card
}}
{{>
molecules-emphasized-article-card
}}
{{>
molecules-article-card
}}
{{>
molecules-emphasized-article-card
}}
{{>
molecules-emphasized-article-card
}}
</div>
This diff is collapsed.
Click to expand it.
source/_patterns/03-templates/article-detail.mustache
+
36
−
12
View file @
b722c76b
{{>
organisms-header
}}
<article
class=
"container container--default py-8"
>
<h1
class=
"head-alt-lg max-w-5xl mb-2"
>
Senátor Lukáš Wagenknecht žádá nastavení pravidel proti střetu zájmů
</h1>
<div
class=
"flex items-center"
>
<div
class=
"inline-flex divide-x flex-grow"
>
<span
class=
"pr-1"
>
{{
dateverbose
}}
</span>
<span
class=
"pl-1"
>
{{
organization
.
name
}}
</span>
<div
class=
"container container--default py-8"
>
<article>
<h1
class=
"head-alt-lg max-w-5xl mb-2"
>
Senátor Lukáš Wagenknecht žádá nastavení pravidel proti střetu zájmů
</h1>
<div
class=
"flex items-center"
>
<div
class=
"inline-flex divide-x flex-grow"
>
<span
class=
"pr-1"
>
{{
dateverbose
}}
</span>
<span
class=
"pl-1"
>
{{
organization
.
name
}}
</span>
</div>
<div
class=
"my-2"
>
{{>
atoms-button
(
classes
:
"btn--grey-125 btn--condensed"
,
cta
:
"Kategorie 1"
)
}}
{{>
atoms-button
(
classes
:
"btn--grey-125 btn--condensed"
,
cta
:
"Kategorie 2"
)
}}
</div>
</div>
<div
class=
"my-2"
>
{{>
atoms-button
(
classes
:
"btn--grey-125 btn--condensed"
,
cta
:
"Kategorie 1"
)
}}
{{>
atoms-button
(
classes
:
"btn--grey-125 btn--condensed"
,
cta
:
"Kategorie 2"
)
}}
{{>
atoms-figure
(
caption
:
"Popisek fotky"
)
}}
<div
class=
"flex mt-4 space-x-4"
>
<div
class=
"w-3/5"
>
{{>
molecules-content-block
}}
</div>
<div
class=
"w-2/5"
>
<div
class=
"card w-full"
>
<div
class=
"card__body"
>
<span
class=
"head-alt-md"
>
Sdílení je aktem lásky
</span>
</div>
</div>
</div>
</div>
</article>
<section
class=
"mt-8"
>
<h1
class=
"head-alt-md pb-2"
>
Další podobné články
</h1>
{{>
organisms-article-card-list
}}
<div
class=
"text-center mt-4"
>
{{>
atoms-icon-button
(
cta
:
"Zobrazit další"
,
classes
:
"text-xl"
,
icon
:
"fas fa-chevron-right"
)
}}
</div>
</
div
>
{{>
atoms-figure
(
caption
:
"Popisek fotky"
)
}}
</
article
>
</
section
>
</
div
>
{{>
organisms-footer
}}
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