1
1
import FaIcon from ' @fortawesome/ember-fontawesome/components/fa-icon' ;
2
+ import { faCubes } from ' @fortawesome/free-solid-svg-icons' ;
3
+
4
+ import { faEmber , faGithub } from ' @fortawesome/free-brands-svg-icons' ;
2
5
import { notInIframe } from ' ember-primitives/iframe' ;
3
6
4
7
import { FormatButtons } from ' limber/components/limber/layout/controls/format-buttons' ;
@@ -9,20 +12,19 @@ import { Share } from './share';
9
12
10
13
<template >
11
14
<header
12
- class =" bg-ember-black flex justify-between items-center drop-shadow-lg z-20 py-2 px-4 max-h-12 "
15
+ class =" z-20 flex max-h-12 items-center justify-between bg-ember-black px-4 py-2 drop-shadow-lg "
13
16
>
14
- <div class =" flex gap-2 items-center" >
15
- <h1 class =" text-ember-brand flex gap-2 items-center " >
17
+ <div class =" flex items-center gap-2 " >
18
+ <h1 class =" flex items-center gap-2 text-ember-brand " >
16
19
<a
17
20
class =" focus:ring-4 focus:outline-none focus-visible:outline-none"
18
21
href =" https://emberjs.com"
19
22
target =" _blank"
20
23
rel =" noreferrer noopener"
21
24
>
22
- <FaIcon @ icon =" ember " @ prefix = " fab " @ size =" 3x" class =" -mb-3 -mt-2 " />
25
+ <FaIcon @ icon ={{ faEmber }} @ size =" 3x" class =" -mt-2 -mb-3 " />
23
26
<span class =" sr-only" >Ember.JS homepage</span >
24
27
</a >
25
- {{!<FaIcon @icon="markdown" @prefix="fab" @size="2x" class="-mb-2 -mt-2" />}}
26
28
</h1 >
27
29
28
30
{{#if ( notInIframe ) }}
@@ -31,7 +33,7 @@ import { Share } from './share';
31
33
<Share />
32
34
</div >
33
35
34
- <nav class =" text-white flex gap-2 items-baseline " >
36
+ <nav class =" flex items-baseline gap-2 text-white " >
35
37
<DemoSelect />
36
38
37
39
<ExternalLink href =" /bundle.html" >
@@ -41,8 +43,8 @@ import { Share } from './share';
41
43
Bundle
42
44
</DefaultContent >
43
45
</span >
44
- <span class =" block sm:hidden px-2" >
45
- <FaIcon @ icon =" cubes " />
46
+ <span class =" block px-2 sm:hidden " >
47
+ <FaIcon @ icon ={{ faCubes }} />
46
48
</span >
47
49
</: custom >
48
50
</ExternalLink >
@@ -53,8 +55,8 @@ import { Share } from './share';
53
55
GitHub
54
56
</DefaultContent >
55
57
</span >
56
- <span class =" block sm:hidden px-2" >
57
- <FaIcon @ icon =" github " @ prefix = " fab " />
58
+ <span class =" block px-2 sm:hidden " >
59
+ <FaIcon @ icon ={{ faGithub }} />
58
60
</span >
59
61
</: custom >
60
62
</ExternalLink >
0 commit comments