Skip to content

Commit

Permalink
Set home page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-pratik-k committed Jan 3, 2025
1 parent 2b12c34 commit f59cc12
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 196 deletions.
157 changes: 157 additions & 0 deletions docs/home_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: white;
color: black;
}
a {
text-decoration: none;
}
header {
position: fixed;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.6);
z-index: 1000;
}
header img {
height: 24px;
margin-right: 10px;
}
header .logo {
display: flex;
align-items: center;
font-size: 20px;
font-weight: bold;
color: black;
text-decoration: none;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.app-details {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
padding-top: 80px;
}
.app-details .content {
max-width: 50%;
}
.app-details h2 {
color: black;
font-size: 32px;
margin-bottom: 10px;
}
.app-details p {
font-size: 16px;
margin-bottom: 20px;
}
.app-details img {
transition: transform 0.3s;
}
.app-details img:hover {
transform: scale(1.05);
}
.app-details .screenshots img {
width: 500px;
height: auto;
border-radius: 10px;
margin: 0 10px;
transition: transform 0.3s;
}
.app-details .screenshots img:hover {
transform: scale(1.05);
}
.features {
padding: 40px 20px;
}
.features h1 {
text-align: center;
margin-bottom: 30px;
}
.features .feature-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-bottom: 40px;
}
.feature {
padding: 20px;
width: 28%;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.feature:hover {
transform: translateY(-5px);
background-color: rgba(204, 49, 61, 0.1);
}
.feature h3 {
margin-bottom: 10px;
}
footer {
display: flex;
justify-content: space-around;
padding: 40px 20px;
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
footer .footer-section {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
footer a {
text-decoration: none;
color: black;
font-size: 15px;
transition: color 0.3s;
}
footer a:hover {
color: #CC313D;
}
footer img {
width: 150px;
transition: transform 0.3s;
}
footer img:hover {
transform: scale(1.05);
}
@media (max-width: 768px) {
.app-details {
flex-direction: column;
text-align: center;
}
.app-details .content {
max-width: 100%;
margin-bottom: 40px;
}
.features .feature-list .feature {
width: 95%;
}
footer {
flex-direction: column;
align-items: center;
gap: 20px;
}
footer .footer-section {
align-items: center;
}
.app-details .screenshots img {
width: 100%;
}
}
@media (max-width: 480px) {
.features .feature-list .feature {
width: 100%;
}
}
167 changes: 7 additions & 160 deletions docs/home.html → docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,165 +9,7 @@
content="Cloud Gallery, Photos, Videos, Google Drive, Dropbox, Media, Backup">
<meta name="author" content="Cloud Gallery Team">
<title>Cloud Gallery</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: white;
color: black;
}
a {
text-decoration: none;
}
header {
position: fixed;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.6);
z-index: 1000;
}
header img {
height: 24px;
margin-right: 10px;
}
header .logo {
display: flex;
align-items: center;
font-size: 20px;
font-weight: bold;
color: black;
text-decoration: none;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.app-details {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
padding-top: 80px;
}
.app-details .content {
max-width: 50%;
}
.app-details h2 {
color: black;
font-size: 32px;
margin-bottom: 10px;
}
.app-details p {
font-size: 16px;
margin-bottom: 20px;
}
.app-details img {
transition: transform 0.3s;
}
.app-details img:hover {
transform: scale(1.05);
}
.app-details .screenshots img {
width: 500px;
height: auto;
border-radius: 10px;
margin: 0 10px;
transition: transform 0.3s;
}
.app-details .screenshots img:hover {
transform: scale(1.05);
}
.features {
padding: 40px 20px;
}
.features h1 {
text-align: center;
margin-bottom: 30px;
}
.features .feature-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-bottom: 40px;
}
.feature {
padding: 20px;
width: 28%;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.feature:hover {
transform: translateY(-5px);
background-color: rgba(204, 49, 61, 0.1);
}
.feature h3 {
margin-bottom: 10px;
}
footer {
display: flex;
justify-content: space-around;
padding: 40px 20px;
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
footer .footer-section {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
footer a {
text-decoration: none;
color: black;
font-size: 14px;
transition: color 0.3s;
}
footer a:hover {
color: #CC313D;
}
footer img {
width: 150px;
transition: transform 0.3s;
}
footer img:hover {
transform: scale(1.05);
}
@media (max-width: 768px) {
.app-details {
flex-direction: column;
text-align: center;
}
.app-details .content {
max-width: 100%;
margin-bottom: 40px;
}
.features .feature-list .feature {
width: 95%;
}
footer {
flex-direction: column;
align-items: center;
gap: 20px;
}
footer .footer-section {
align-items: center;
}
.app-details .screenshots img {
width: 100%;
}
}
@media (max-width: 480px) {
.features .feature-list .feature {
width: 100%;
}
}
</style>
<link rel="stylesheet" href="home_style.css">
</head>
<body>
<header>
Expand All @@ -184,16 +26,19 @@ <h2>Cloud Gallery: All Your Memories in One Spot</h2>
<div>
<a href="https://play.google.com/store/apps/details?id=com.canopas.cloud_gallery">
<img src="https://github.com/canopas/cloud-gallery/raw/main/cta/google-play.png"
loading="lazy"
width="200" alt="Download on Google Play">
</a>
<a href="https://apps.apple.com/in/app/cloud-gallery/id6480052005?platform=iphone">
<img src="https://github.com/canopas/cloud-gallery/raw/main/cta/app-store.png"
loading="lazy"
width="200" alt="Download on App Store">
</a>
</div>
</div>
<div class="screenshots">
<img src="https://github.com/canopas/cloud-gallery/raw/main/screenshots/app-preview.png"
loading="lazy"
alt="Screenshot">

</div>
Expand Down Expand Up @@ -261,15 +106,17 @@ <h3>User-Friendly Interface</h3>
<a href="https://github.com/canopas/cloud-gallery/issues">Report an Issue</a>
<a href="https://github.com/canopas/cloud-gallery/discussions">Discussions</a>
<a href="https://github.com/canopas/cloud-gallery">Github</a>
<a href="https://canopas.com">Developer</a>
<a href="https://canopas.com">About Us</a>
</div>
<div class="footer-section">
<a href="https://play.google.com/store/apps/details?id=com.canopas.cloud_gallery">
<img src="https://github.com/canopas/cloud-gallery/raw/main/cta/google-play.png"
loading="lazy"
alt="Download from Google Play">
</a>
<a href="https://apps.apple.com/in/app/cloud-gallery/id6480052005?platform=iphone">
<img src="https://github.com/canopas/cloud-gallery/raw/main/cta/app-store.png"
loading="lazy"
alt="Download on App Store">
</a>
</div>
Expand Down
Loading

0 comments on commit f59cc12

Please sign in to comment.