Skip to content

Commit

Permalink
Add thank you banner
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgriv committed Jul 6, 2024
1 parent 9153236 commit f8e76a0
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
63 changes: 63 additions & 0 deletions src/components/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,69 @@ hr {
margin: 20px auto; /* Center the <hr> 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 */
Expand Down
9 changes: 8 additions & 1 deletion src/pages/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ export default function Home() {
Dark Castle Theme
</h1>
<p className="subtitle">One theme to rule them all...</p>
<p className="subtitle-2">We've hit <i class="fa-solid fa-download fa-bounce"></i> 1k+ cross-platform installs - Thank you!</p>
<div className="home-container">
<div className="status-tag">
<h2>Thank You!</h2>
<p>
We've just hit <i class="fa-solid fa-download fa-bounce"></i> 1k+ cross-platform installs!
</p>
</div>
</div>
<p>
Dark Castle is a vibrantly elegant dark theme available for multiple
platforms. Inspired by the timeless beauty and mystery of medieval
Expand Down

0 comments on commit f8e76a0

Please sign in to comment.