Skip to content

Commit

Permalink
Merge pull request #1 from saitnyalcin/gh-pages
Browse files Browse the repository at this point in the history
initiate an official landing page
  • Loading branch information
saitnyalcin authored Nov 5, 2023
2 parents 254d1ec + 045ff4a commit e3287cb
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 0 deletions.
75 changes: 75 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Recoilens: The Ultimate Recoil State Logger</title>
<link rel="stylesheet" href="./src/website/css/style.css" />
</head>

<body>
<header class="hero">
<div class="container">
<img
src="./src/website/img/feature-image.png"
width="200px"
height="180px"
alt="Feature Image"
/>
<h1>Recoilens: The Ultimate Recoil State Logger</h1>
<p>Track and visualize your Recoil state changes with ease.</p>
<a href="#get-started" class="btn">Get Started</a>
</div>
</header>

<section class="feature">
<div class="container">
<div class="feature-text">
<h2>Effortless State Management</h2>
<p>
Recoilens provides a seamless way to monitor and analyze changes in
your Recoil atoms.
</p>
</div>
</div>
</section>

<section class="installation">
<div class="container">
<h2>Installation</h2>
<pre>
<code class="bash">
npm install recoilens
</code>
</pre>
<p>or</p>
<pre>
<code class="bash">
yarn add recoilens
</code>
</pre>
</div>
</section>

<section class="cta" id="get-started">
<div class="container">
<h2>Start Enhancing Your Recoil Experience</h2>
<p>
Download Recoilens and take control of your application's state
management.
</p>
<a href="https://www.npmjs.com/package/recoilens" class="btn"
>Download Now</a
>
</div>
</section>

<section class="usage"></section>

<footer>
<div class="container">
<p>&copy; 2023 Recoilens. All rights reserved.</p>
</div>
</footer>
</body>
</html>
145 changes: 145 additions & 0 deletions src/website/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
/* styles.css */

body {
margin: 0;
padding: 0;
line-height: 1.6;
background-color: #f9f9f9;
color: #333;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

header.hero {
background: linear-gradient(to right, #2f86c5, #eaf6ff);
color: #fff;
text-align: center;
padding: 50px 0;
}

header.hero h1 {
font-size: 3rem;
margin-bottom: 20px;
}

header.hero p {
font-size: 1.2rem;
margin-bottom: 40px;
}

header.hero .btn {
display: inline-block;
background: #333;
color: #fff;
text-decoration: none;
padding: 10px 20px;
font-size: 1rem;
border-radius: 5px;
transition: background 0.3s;
}

header.hero .btn:hover {
background: #555;
}

section.feature {
padding: 50px 0;
text-align: center;
}

section.feature h2 {
font-size: 2.5rem;
margin-bottom: 20px;
}

section.feature p {
font-size: 1.2rem;
margin-bottom: 40px;
}

section.feature img {
max-width: 100%;
border-radius: 5px;
}

section.installation,
section.usage {
background-color: #fff;
padding: 80px 0;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section.installation h2,
section.usage h2 {
font-size: 2.5rem;
}

pre {
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 5px;
padding: 1rem;
}

pre code {
font-family: "Courier New", monospace;
}

section.cta {
background: linear-gradient(to right, #2f86c5, #eaf6ff);
color: #fff;
text-align: center;
padding: 50px 0;
}

section.cta h2 {
font-size: 2.5rem;
}

section.cta p {
font-size: 1.2rem;
margin-bottom: 40px;
}

section.cta .btn {
display: inline-block;
background: #333;
color: #fff;
text-decoration: none;
padding: 10px 20px;
font-size: 1rem;
border-radius: 5px;
transition: background 0.3s;
}

section.cta .btn:hover {
background: #555;
}

footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
position: fixed;
bottom: 0;
width: 100%;
}

footer p {
margin: 0;
font-size: 0.9rem;
margin-bottom: 10px;
}

footer a {
color: #fff;
margin: 0 10px;
text-decoration: none;
font-size: 0.9rem;
}
Binary file added src/website/img/feature-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 e3287cb

Please sign in to comment.