Skip to content

Commit

Permalink
Initial new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghoong authored Sep 26, 2024
1 parent 21cd3d7 commit b9643b9
Show file tree
Hide file tree
Showing 7 changed files with 1,942 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# About

This project of preparing the single file template with the JS framework or CSS framework, so will make it easier to kick-start any kind of project with this foundation. Free to fork and use for any kind of personal and commerice project.

# License

MIT

# Author

Charlie Tang Hoong

364 changes: 364 additions & 0 deletions nojs-bootstrap-album.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,364 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PixelStock - Digital Asset Management Platform</title>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</noscript>
<style>
body {
background-color: #f8f9fa;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.navbar {
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.navbar-brand {
font-weight: bold;
color: #4a4a4a;
}
.hero {
background: linear-gradient(135deg, #3498db, #8e44ad);
color: white;
padding: 2rem 0;
margin-bottom: 1rem;
}
.hero {
background: linear-gradient(135deg, #007bff, #6610f2);
padding: 5rem 0;
color: white;
}
.hero h1 {
text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.hero .lead {
font-size: 1.25rem;
font-weight: 300;
}
.search-bar .input-group {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.search-bar .form-control {
border: none;
padding: 0.75rem 1.5rem;
}
.search-bar .btn-primary {
background-color: #0056b3;
border-color: #0056b3;
padding: 0.75rem 1.5rem;
font-weight: 600;
transition: all 0.3s ease;
}
.search-bar .btn-primary:hover {
background-color: #004085;
border-color: #004085;
transform: translateY(-2px);
}
.card {
margin-bottom: 15px;
border: none;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease-in-out;
}
.card:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.card-img-top {
object-fit: cover;
height: 150px;
transition: transform 0.3s ease-in-out;
}
.card:hover .card-img-top {
transform: scale(1.03);
}
.card-body {
padding: 1rem;
}
.card-title {
font-weight: 600;
margin-bottom: 0.25rem;
font-size: 0.9rem;
}
.card-text {
color: #6c757d;
font-size: 0.8rem;
}
.masonry-grid {
display: block;
}
.btn-floating {
position: fixed;
bottom: 15px;
right: 15px;
width: 40px;
height: 40px;
border-radius: 20px;
text-align: center;
box-shadow: 0 2px 5px rgba(0,0,0,.3);
z-index: 1000;
transition: all 0.3s ease;
background-color: #3498db;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
.btn-floating:hover {
transform: scale(1.05);
background-color: #2980b9;
}
.footer {
background-color: #2c3e50;
color: #ecf0f1;
padding: 1.5rem 0;
margin-top: 2rem;
}
.search-bar {
max-width: 100%;
margin: 0 auto;
}
.tag {
display: inline-block;
padding: 0.2em 0.4em;
font-size: 0.7em;
font-weight: 700;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.25rem;
background-color: #6c757d;
margin-right: 0.3em;
margin-bottom: 0.3em;
}
@media (min-width: 576px) {
.hero {
padding: 3rem 0;
margin-bottom: 1.5rem;
}
.card-img-top {
height: 175px;
}
.masonry-grid {
display: flex;
margin-left: -10px;
width: auto;
}
.masonry-grid-column {
padding-left: 10px;
background-clip: padding-box;
}
}
@media (min-width: 768px) {
.hero {
padding: 4rem 0;
margin-bottom: 2rem;
}
.card-img-top {
height: 200px;
}
.search-bar {
max-width: 500px;
}
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light sticky-top">
<div class="container">
<a class="navbar-brand" href="#">PixelStock</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" href="#">Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Collections</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Upload</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Account</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="hero">
<div class="container text-center">
<h1 class="display-4 fw-bold mb-3">Manage Your Digital Assets</h1>
<p class="lead mb-4">Organize, share, and optimize your digital content with PixelStock</p>
<div class="search-bar d-flex justify-content-center">
<div class="input-group w-100">
<input type="text" class="form-control form-control-sm" placeholder="Search images, videos, or audio files..." aria-label="Search" aria-describedby="search-button">
<button class="btn btn-outline-light" type="button" id="search-button">
<i class="fas fa-search me-2"></i>Search
</button>
</div>
</div>
</div>
</div>
<div class="container">
<div class="masonry-grid" data-masonry='{"percentPosition": true }'>
<div class="masonry-grid-column col-12 col-sm-6 col-md-4 col-lg-3">
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Urban Architecture">
<div class="card-body">
<h5 class="card-title">Urban Architecture</h5>
<p class="card-text">Modern city skyline.</p>
<div class="mt-2">
<span class="tag">JPG</span>
<span class="tag">4K</span>
</div>
</div>
</div>
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Nature's Beauty">
<div class="card-body">
<h5 class="card-title">Nature's Beauty</h5>
<p class="card-text">Serene landscape.</p>
<div class="mt-2">
<span class="tag">PNG</span>
<span class="tag">HD</span>
</div>
</div>
</div>
</div>
<div class="masonry-grid-column col-12 col-sm-6 col-md-4 col-lg-3">
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Portrait Photography">
<div class="card-body">
<h5 class="card-title">Portrait Photography</h5>
<p class="card-text">Human emotions captured.</p>
<div class="mt-2">
<span class="tag">RAW</span>
<span class="tag">8K</span>
</div>
</div>
</div>
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Abstract Art">
<div class="card-body">
<h5 class="card-title">Abstract Art</h5>
<p class="card-text">Creative compositions.</p>
<div class="mt-2">
<span class="tag">TIFF</span>
<span class="tag">4K</span>
</div>
</div>
</div>
</div>
<div class="masonry-grid-column col-12 col-sm-6 col-md-4 col-lg-3">
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Wildlife Photography">
<div class="card-body">
<h5 class="card-title">Wildlife Photography</h5>
<p class="card-text">Nature's creatures.</p>
<div class="mt-2">
<span class="tag">JPG</span>
<span class="tag">Full HD</span>
</div>
</div>
</div>
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Street Photography">
<div class="card-body">
<h5 class="card-title">Street Photography</h5>
<p class="card-text">Urban life documented.</p>
<div class="mt-2">
<span class="tag">RAW</span>
<span class="tag">4K</span>
</div>
</div>
</div>
</div>
<div class="masonry-grid-column col-12 col-sm-6 col-md-4 col-lg-3">
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Food Photography">
<div class="card-body">
<h5 class="card-title">Food Photography</h5>
<p class="card-text">Culinary visuals.</p>
<div class="mt-2">
<span class="tag">PNG</span>
<span class="tag">HD</span>
</div>
</div>
</div>
<div class="card">
<img src="https://ipsum.photos/get" class="card-img-top" alt="Travel Photography">
<div class="card-body">
<h5 class="card-title">Travel Photography</h5>
<p class="card-text">World exploration.</p>
<div class="mt-2">
<span class="tag">JPG</span>
<span class="tag">8K</span>
</div>
</div>
</div>
</div>
</div>
</div>

<a href="#" class="btn btn-floating" style="background-color: #007bff; color: #ffffff;">
<i class="fas fa-arrow-up"></i>
</a>

<footer class="footer bg-dark text-light py-5">
<div class="container">
<div class="row">
<div class="col-md-4 mb-4">
<h5 class="mb-3 text-primary">About PixelStock</h5>
<p class="mb-0">Empowering creators with advanced digital asset management solutions. Experience seamless organization and collaboration for your creative projects.</p>
</div>
<div class="col-md-2 mb-4">
<h5 class="mb-3 text-primary">Quick Links</h5>
<ul class="list-unstyled">
<li><a href="#" class="text-light text-decoration-none">Pricing</a></li>
<li><a href="#" class="text-light text-decoration-none">Features</a></li>
<li><a href="#" class="text-light text-decoration-none">API Docs</a></li>
<li><a href="#" class="text-light text-decoration-none">Support</a></li>
</ul>
</div>
<div class="col-md-3 mb-4">
<h5 class="mb-3 text-primary">Connect With Us</h5>
<div class="d-flex">
<a href="#" class="text-light me-3"><i class="fab fa-facebook-f fa-lg"></i></a>
<a href="#" class="text-light me-3"><i class="fab fa-twitter fa-lg"></i></a>
<a href="#" class="text-light me-3"><i class="fab fa-instagram fa-lg"></i></a>
<a href="#" class="text-light"><i class="fab fa-linkedin-in fa-lg"></i></a>
</div>
</div>
<div class="col-md-3 mb-4">
<h5 class="mb-3 text-primary">Try PixelStock Pro</h5>
<p class="mb-2">Unlock advanced features and premium support.</p>
<a href="#" class="btn btn-outline-light">Start Free Trial</a>
</div>
</div>
<hr class="my-4 bg-secondary">
<div class="row align-items-center">
<div class="col-md-6 text-center text-md-start">
<p class="mb-0">&copy; 2023 PixelStock. All rights reserved. Illustrated by tanghoong</p>
</div>
<div class="col-md-6 text-center text-md-end">
<a href="#" class="text-light text-decoration-none me-3">Privacy Policy</a>
<a href="#" class="text-light text-decoration-none">Terms of Service</a>
</div>
</div>
</div>
</footer>
</body>
</html>
Loading

0 comments on commit b9643b9

Please sign in to comment.