Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Style Guide 2
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Weby
Style Guide 2
Commits
ff064d2b
Commit
ff064d2b
authored
1 year ago
by
Tomáš Valenta
Browse files
Options
Downloads
Patches
Plain Diff
remove numbers from program, improve layout
parent
9d69af6b
Branches
Branches containing commit
No related tags found
1 merge request
!22
Feat/redesign
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/js/components/card_program/CardProgramItem.vue
+8
-16
8 additions, 16 deletions
src/js/components/card_program/CardProgramItem.vue
src/js/components/card_program/CardProgramItemPoint.vue
+11
-22
11 additions, 22 deletions
src/js/components/card_program/CardProgramItemPoint.vue
with
19 additions
and
38 deletions
src/js/components/card_program/CardProgramItem.vue
+
8
−
16
View file @
ff064d2b
...
...
@@ -55,11 +55,16 @@
"
>
<div
class=
"w-full flex flex-col gap-8 justify-between"
class=
"
flex gap-7 [flex-flow:column_wrap]
w-full h-full justify-start
max-h-[500px]
"
>
<h2
class=
"
font-alt text-[3.25rem] duration-200 delay-100
font-alt text-[3.25rem] duration-200 delay-100
w-1/2
xl:text-[6.5rem]
"
...
...
@@ -68,21 +73,8 @@
</h2>
<CardProgramItemPoint
:number=
"points[0].number"
:content=
"points[0].content"
/>
</div>
<div
class=
"
flex flex-col gap-7
w-full h-full justify-end
"
>
<CardProgramItemPoint
v-for=
"(point, index) in points.slice(1)"
v-for=
"(point, index) in points"
:key=
"point.number"
:number=
"point.number"
:content=
"point.content"
/>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/js/components/card_program/CardProgramItemPoint.vue
+
11
−
22
View file @
ff064d2b
<
template
>
<div
class=
"flex gap-3"
>
<div
class=
"
text-[3rem] font-alt duration-150 delay-300
xl:text-[7rem]
"
>
{{
this
.
number
}}
</div>
<div
class=
"
[&_p]:text-lg [&_p]:leading-7 [&_p]:duration-150 [&_p]:delay-300 mt-[-5px]
[&_p]:text-lg [&_p]:leading-7 [&_p]:duration-150 [&_p]:delay-300 mt-[-5px] w-1/2
xl:pt-1 xl:m-0
"
...
...
@@ -22,12 +12,11 @@
</p>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"
CardProgramItemPoint
"
,
props
:
[
"
number
"
,
"
content
"
,
"
isFirst
"
],
props
:
[
"
content
"
,
"
isFirst
"
],
}
</
script
>
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