Skip to content

Instantly share code, notes, and snippets.

View MrAhmedElsayed's full-sized avatar
🇩🇯
Freelancer

Ahmed El Sayed Abd el Bari MrAhmedElsayed

🇩🇯
Freelancer
View GitHub Profile
@MrAhmedElsayed
MrAhmedElsayed / videaste-hero-section.html
Created December 19, 2025 22:44
Responsive, art-directed hero section inspired by the “Videaste” photographer portfolio landing page (Tailwind CSS + Google Fonts)
<!--
Hero section recreation inspired by:
https://dribbble.com/shots/23090247-Videaste-Personal-Videographer-Portfolio-Landing-Page-Website
• Tech stack: Tailwind CSS (CDN), Google Fonts, Material Symbols
• Scope: Hero section only
• Focus: Art-directed layout, asymmetric alignment, responsive structure
• Purpose: Educational and layout reference
Not intended for commercial use.
def clone_kpi(request):
context = dict()
if request.method == 'GET':
context['all_kpis'] = KpiModel.objects.values_list('name', flat=True).distinct()
return JsonResponse(context, )
if request.method == 'POST' and request.is_ajax():
if request.POST.get("operation") == "clone-kpi-operation":
all_selected_checkbox = request.POST.getlist("all_selected_checkbox[]") # NEW