From f8e76a0001b109ec8bc0f11ccf6d9ecfee8210ea Mon Sep 17 00:00:00 2001 From: Scott Griv Date: Fri, 5 Jul 2024 22:55:14 -0400 Subject: [PATCH] Add thank you banner --- .github/CHANGELOG.md | 6 ++++ src/components/layout.css | 63 +++++++++++++++++++++++++++++++++++++++ src/pages/home.js | 9 +++++- 3 files changed, 77 insertions(+), 1 deletion(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 4c19d3f..def14bb 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.4] - 2024-07-05 + +### Added + +- Thank you banner. + ## [1.1.3] - 2024-06-28 ### Changed diff --git a/src/components/layout.css b/src/components/layout.css index 9aeeb93..fcd265e 100644 --- a/src/components/layout.css +++ b/src/components/layout.css @@ -56,6 +56,69 @@ hr { margin: 20px auto; /* Center the
element */ } +.home-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + text-align: center; /* Center text inside the container */ +} + +.status-tag { + background-color: #292929; + color: #FFFFFF; + border-radius: 12px; + padding: 10px; + font-size: 1em; + margin: 20px auto; /* Centering and vertical spacing */ + display: flex; /* Use flexbox for centering content */ + flex-direction: column; /* Stack elements vertically */ + align-items: center; /* Center elements horizontally */ + justify-content: center; /* Center elements vertically */ + width: fit-content; + position: relative; /* Necessary for the pseudo-element */ + overflow: hidden; /* Hide the overflow of the pseudo-element */ +} + +.status-tag p { + margin: 0; + padding-top: 10px; /* Vertical spacing between paragraphs */ + text-align: center; /* Center text inside paragraphs */ + color: #FFFFFF; + +} + +.status-tag h2 { + color: #9354FF; + margin: 0; + text-align: center; /* Center text inside the container */ +} + +.status-tag::before { + content: ''; + position: absolute; + top: 0; + left: -100%; /* Start outside to the left */ + height: 100%; + width: 100%; + background: rgba(255, 255, 255, 0.2); + transform: skewX(-45deg); /* Create the skew effect */ + transition: all 0.5s ease; + animation: shimmer 3s infinite; +} + +@keyframes shimmer { + 0% { + left: -100%; + } + 50% { + left: 100%; + } + 100% { + left: 100%; + } +} + .desktop-logo, .mobile-logo { max-width: 100%; /* To make sure image never exceeds its parent width */ diff --git a/src/pages/home.js b/src/pages/home.js index d39fda2..32995af 100644 --- a/src/pages/home.js +++ b/src/pages/home.js @@ -10,7 +10,14 @@ export default function Home() { Dark Castle Theme

One theme to rule them all...

-

We've hit 1k+ cross-platform installs - Thank you!

+
+
+

Thank You!

+

+ We've just hit 1k+ cross-platform installs! +

+
+

Dark Castle is a vibrantly elegant dark theme available for multiple platforms. Inspired by the timeless beauty and mystery of medieval