Skip to content

Commit 2e43c9d

Browse files
committed
Homepage stuff
1 parent 306929c commit 2e43c9d

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

docs/src/content/lessons/111-introduction/example/component.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const currentTime = defineComponent({
1111

1212
const greetUser = defineComponent({
1313
tagName: 'greet-user',
14-
css: '',
1514
template: `Hello {user} the time is {> currentTime}`,
1615
settings: { user: '' },
1716
subTemplates: { currentTime }

docs/src/content/lessons/111-introduction/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Components can be used directly in the browser without compilation as well as wi
2424

2525
### It's Time To Begin
2626

27-
The key to scaling design frameworks is consistent APIs. Web components allow you to encapsulate functionality into a custom element that can be used by front end developers in the same way they use other tags in the page.
27+
The key to scaling design frameworks is consistent APIs. Web components allow you to encapsulate functionality into a custom element that can be used by front end developers in the same way they use other html tags when creating new pages.
2828

2929
```javascript
3030
defineComponent({

docs/src/layouts/Homepage.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
position: relative;
116116
display: block;
117117
color: var(--standard-80);
118-
119118
min-height: 300px;
120119
}
121120

@@ -124,6 +123,7 @@
124123
flex-direction: row;
125124
gap: 2rem;
126125
margin-top: -5rem;
126+
text-wrap: pretty;
127127

128128
.card {
129129
background-color: oklch(0.13 0.02 238.07);
@@ -136,6 +136,11 @@
136136
text-align: center;
137137
color: var(--white);
138138

139+
img {
140+
display: block;
141+
height: 165px;
142+
margin: -60px auto 1rem;
143+
}
139144
ui-icon {
140145
font-size: 48px;
141146
margin-bottom: 0.5rem;
@@ -145,7 +150,7 @@
145150
font-size: 24px;
146151
line-height: 1.2;
147152
font-weight: bold;
148-
color: var(--primary-text-color);
153+
color: #eab59f;
149154
}
150155
p {
151156
color: var(--text-color);

docs/src/pages/index.astro

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,20 @@ import Homepage from '../layouts/Homepage.astro';
2626
<ui-container>
2727
<div class="cards">
2828
<div class="card">
29-
<ui-icon layers></ui-icon>
29+
<img src="https://vaccinebutler.com/images/hero2.png">
30+
<!-- <ui-icon layers></ui-icon> -->
3031
<div class="header"> Write Components, Not Framework Code</div>
3132
<p>Build UI with pure web components that work anywhere. No framework lock-in means your components are truly portable and future-proof.</p>
3233
</div>
3334
<div class="card">
34-
<ui-icon zap></ui-icon>
35+
<img src="https://vaccinebutler.com/images/hero.png">
36+
<!-- <ui-icon zap></ui-icon> -->
3537
<div class="header">Powerful Built-in Reactivity</div>
3638
<p>A signals-based reactive system that efficiently updates only what changed. Build complex reactive UIs without the complexity of state management libraries.</p>
3739
</div>
3840
<div class="card">
39-
<ui-icon box></ui-icon>
41+
<img src="https://vaccinebutler.com/images/hero2.png">
42+
<!-- <ui-icon box></ui-icon> -->
4043
<div class="header">Rich Templating That Just Works</div>
4144
<p>Familiar template syntax with conditionals, loops, and slots built-in. Write declarative templates that feel natural while leveraging the full power of web components.</p>
4245
</div>

0 commit comments

Comments
 (0)