diff --git a/_includes/css/page.css b/_includes/css/page.css index 196055c..f88146e 100644 --- a/_includes/css/page.css +++ b/_includes/css/page.css @@ -13,6 +13,14 @@ text-wrap: balance; } +.page-title-landing { + font: var(--font-display); + letter-spacing: var(--font-display-spacing); + text-align: center; + margin: 0; + text-wrap: balance; +} + .page-navigation { margin-bottom: var(--row-gap-medium); @@ -35,4 +43,75 @@ .page-pagination { border-top: solid 1px var(--color-line); margin-top: var(--row-gap-medium); -} \ No newline at end of file +} + +.container { + text-align: center; + list-style: none; + padding: 0; +} + +.main-button-group { + display: flex; + justify-content: center; + align-items: center; + gap: 20px; /* Space between the main button and the right button */ + flex-wrap: wrap; /* Allow wrapping if screen space is limited */ + padding: 10px; /* Some padding to avoid touching screen edges */ + position: relative; +} + +.main-button, .specification-button { + background-color: inherit; + color: inherit; + padding: 15px 30px; + border-radius: 50px; + font-size: 24px; + text-decoration: none; + border-style: double; + position: relative; + transition: all 0.3s ease; + box-shadow: 0 5px 15px var(--color-link-hover, rgba(0, 0, 0, 0.2)); +} + +.main-button:hover, .main-button:focus, +.specification-button:hover, .specification-button:focus { + color: var(--color-link-hover); + border-style: solid; + transform: translateY(-2px); + box-shadow: 0 8px 20px var(--color-link-hover, rgba(0, 0, 0, 0.4)); +} + +.hover-buttons { + display: none; + position: absolute; + top: 100%; + left: 50%; + transform: translateX(-50%); + padding-top: 10px; +} + +.main-button:hover .hover-buttons, +.main-button:focus .hover-buttons { + display: block; +} + +.specification-button { + margin: 5px 0; +} + +.secondary-button { + display: block; + margin: 5px 0; + padding: 10px 20px; + background-color: inherit; + color: inherit; + border-radius: 20px; + text-decoration: none; + transition: background-color 0.2s ease, transform 0.2s ease; +} + +.secondary-button:hover, .secondary-button:focus { + border-style: solid; + transform: translateY(-2px); +} diff --git a/index.vto b/index.vto index c1856dd..aa9a9e0 100644 --- a/index.vto +++ b/index.vto @@ -5,40 +5,24 @@ title: Home --- -
- {{ for post of search.pages("type=post", "date=desc", 3) }} -
-
-

- - {{ post.title || post.url }} - -

- - {{ include "templates/post-details.vto" { - date: post.date, - tags: post.tags, - author: post.author, - readingInfo: post.readingInfo - } }} -
- -
- {{ post.excerpt |> md }} -
- - - {{ i18n.nav.continue_reading }} - -
-{{ /for }} +
+
+ Specification +
+ Get Deca + +
+
- +
+
+

{{ i18n.nav.archive }}

diff --git a/pages/blog.vto b/pages/blog.vto new file mode 100644 index 0000000..3b7f2f2 --- /dev/null +++ b/pages/blog.vto @@ -0,0 +1,48 @@ +--- +layout: layouts/base.vto +bodyClass: body-home +title: Blog +url: /blog/ +menu: + visible: true + order: 2 +--- + + + + +
+ {{ for post of search.pages("type=post", "date=desc", 3) }} + +{{ /for }} +
+ +
+ +

{{ i18n.nav.archive }}

diff --git a/pages/faq.md b/pages/faq.md index fe061b4..7d9aabb 100644 --- a/pages/faq.md +++ b/pages/faq.md @@ -4,7 +4,7 @@ title: FAQs url: /faq/ menu: visible: true - order: 2 + order: 3 --- ## What is DECA Token?