Skip to content

Commit

Permalink
Update landing page (#11)
Browse files Browse the repository at this point in the history
* Update landing page
  • Loading branch information
kchiranjewee63 authored May 21, 2024
1 parent 3b24889 commit 95201e9
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 28 deletions.
74 changes: 46 additions & 28 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,80 +8,99 @@ html, body {
padding: 0;
width: 100%;
height: 100%;
font-family: 'Roboto', sans-serif;
color: #fff;
background-size: cover;
background: #00796B;
background: url('/img/background/image.png');
background-attachment: fixed;
}

.home {
text-align: center;
padding: 5em 0;
padding: 4em 1em 6em 1em;
}

.home img {
width: 300px;
width: 350px;
height: auto;
}

.home h1 {
font-size: 3.5vw;
font-weight: 700;
font-size: 4vw;
font-weight: 800;
margin-bottom: 20px;
}

.home h2 {
font-size: 2.5vw;
font-weight: normal;
font-size: 2.8vw;
font-weight: 600;
margin-bottom: 30px;
}

.home h3 {
font-size: 1.5vw;
font-weight: normal;
margin-bottom: 60px;
font-size: 1.8vw;
font-weight: 400;
margin-bottom: 50px;
}

.home h3 a {
color: #c94a4a;
text-decoration: none;
font-weight: 500;
color: #ffd700;
font-weight: 700;
border-radius: 5px;
transition: background-color 0.3s ease, color 0.3s ease;
font-size: 1em;
}

.home h3 a:hover {
color: #fff;
}

.home .buttons {
margin-top: 20px;
margin-top: 30px;
}

.buttons a {
display: inline-block;
margin: 0 1em;
padding: 1em 3em;
padding: 1.2em 3em;
border-radius: 30px;
background: #5a67d8;
color: #fff;
text-decoration: none;
font-size: 1.2vw;
font-weight: 500;
transition: background 0.3s ease, transform 0.3s ease;
font-size: 1.4vw;
font-weight: 600;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.buttons a:hover {
background: #434190;
transform: scale(1.05);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

footer {
background: #333;
padding: 2em 0;
text-align: center;
color: #fff;
}

footer a {
color: #5a67d8;
text-decoration: none;
}

@media (max-width: 768px) {
.home h1, .home h2, .home h3, .buttons a {
font-size: 16px;
font-size: 5vw;
}

.home img {
width: 50%;
width: 70%;
}

.buttons a {
padding: 10px 20px;
font-size: 14px;
font-size: 16px;
}
}

Expand All @@ -90,11 +109,10 @@ html, body {
<div class="home">
<img src="/img/logos/image-logo.svg" alt="Tratteria Logo">
<h1>Tratteria</h1>
<h2>A Transaction Tokens Service</h2>
<h3 style="margin-bottom: 0px;">Secure your microservices with <a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-transaction-tokens/" target="_blank">Transaction Token</a>.</h3>
<h3>Integrate into your microservices application with ease.</h3>
<h2>Transaction Tokens Service</h2>
<h3>Secure your microservices with <a href="https://www.ietf.org/archive/id/draft-ietf-oauth-transaction-tokens-01.html" target="_blank">Transaction Token</a>.</h3>
<div class="buttons">
<a href="/docs" class="button"><i class="fas fa-book-open"></i> Learn More</a>
<a href="/docs/quickstart" class="button"><i class="fas fa-rocket"></i> Get Started</a>
<a href="/docs" class="button"><i class="fas fa-info-circle"></i> Learn More</a>
</div>
</div>
</div>
Binary file added static/img/background/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 95201e9

Please sign in to comment.