File tree 5 files changed +38
-4
lines changed
5 files changed +38
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Style guide references:
10
10
- Web components/Example web pages/Section top
11
11
-->
12
12
<template>
13
- <div class="flex flex-col desktop:flex-row flex-wrap mt-20 ">
13
+ <div class="flex flex-col desktop:flex-row flex-wrap mt-[4px] desktop:mt-0 ">
14
14
<slot></slot>
15
15
</div>
16
16
</template>
Original file line number Diff line number Diff line change @@ -4,12 +4,26 @@ Section top
4
4
The section top presents a summary of the topic with a sub-navigation and
5
5
signposts to child pages in the section.
6
6
7
+ Use with the "full-width" layout only to have the colored boxes span the full
8
+ width of the screen.
9
+
7
10
Style guide references:
8
11
- Web components/Example web pages/Section top
9
12
-->
10
13
<template>
11
- <div class="basis-1/2 overflow-hidden text-white p-32 desktop:p-64" :class="wrapperClass">
12
- <div class="flex-col phone:flex-row flex space-x-16">
14
+ <div class="group basis-1/2 overflow-hidden text-white p-32 desktop:p-64" :class="wrapperClass">
15
+ <!-- 1600px/2 - 96px padding == 706px -->
16
+ <div class="flex flex-col phone:flex-row
17
+ space-x-16
18
+ desktop:max-w-[706px]
19
+ tablet:px-48
20
+ px-24
21
+ group-odd:ms-auto group-odd:me-0
22
+ group-even:ms-0 group-even:me-auto
23
+ group-odd:tablet:ps-48
24
+ group-odd:desktop:ps-96
25
+ group-even:tablet:pe-48
26
+ group-even:desktop:pe-96">
13
27
<div>
14
28
<component :is="icons[icon]" class="text-[100px] mx-auto" />
15
29
</div>
Original file line number Diff line number Diff line change 1
1
---
2
- layout : content
2
+ layout : full-width
3
3
title : What we do
4
4
---
5
5
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Our projects
3
+ layout : content
3
4
---
4
5
5
6
:: ff-cards { class =" mt-64 " }
Original file line number Diff line number Diff line change
1
+ <!--
2
+ Full-width content layout with header.
3
+
4
+ Use for full-width content pages. Use the "default" layout if no header is
5
+ required.
6
+ -->
7
+ <template>
8
+ <div class="w-full">
9
+ <FfHeader />
10
+ <main>
11
+ <FfContainer>
12
+ <FfNavSub />
13
+ </FfContainer>
14
+ <FfHeaderTextFrontmatter />
15
+ <slot />
16
+ </main>
17
+ <FfFooter />
18
+ </div>
19
+ </template>
You can’t perform that action at this time.
0 commit comments