diff --git a/site/src/components/awesome-header.html b/site/src/components/awesome-header.html index d11be20..371a2ee 100644 --- a/site/src/components/awesome-header.html +++ b/site/src/components/awesome-header.html @@ -1,14 +1,31 @@ -
+

+ +
+ + diff --git a/site/src/components/call-to-action.html b/site/src/components/call-to-action.html index bc3c1ba..4738cd5 100644 --- a/site/src/components/call-to-action.html +++ b/site/src/components/call-to-action.html @@ -11,7 +11,6 @@ display: flex; gap: 1em; justify-content: center; - padding: 1em; margin: 1em 0; width: 100%; @@ -19,12 +18,27 @@ border: 1px solid var(--color-primary); padding: 0.75em; border-radius: 5px; + text-align: center; &#primary { - background-color: var(--color-primary); + background: #3054bf; color: white; text-decoration: none; + width: 40%; } + + } + } + + @media only screen and (max-device-width: 376px) { + .call-to-action { + flex-direction: column; + & a:not(#primary) { + padding: 0.5em; + } + } + + } \ No newline at end of file diff --git a/site/src/pages/index.html b/site/src/pages/index.html index 31e131c..3bf4438 100644 --- a/site/src/pages/index.html +++ b/site/src/pages/index.html @@ -27,16 +27,12 @@

- Our - - tiny package - - provides zero-dependency, ~600 Bytes (minified & gzipped), JS base class - for creating reactive custom elements easily. + Our tiny package provides a zero-dependency, ~600 Bytes (minified & gzipped), JS base class for creating reactive custom elements easily.

-
+
+

When you extend the WebComponent class for your component, you only have to define the template and properties. Any change in any property value will automatically cause just the component UI to render.

@@ -65,7 +61,7 @@ customElements.define("my-counter", Counter); This site is built with - McFly, the no-framework framework + McFly, the no-framework framework;
A project by {{ author.name }}