1- {% extends ' src/templates/layouts/base.twig' %}
1+ {% extends " src/templates/layouts/base.twig" %}
22
3- {% from ' src/templates/partials/ui/icon.twig' import icon %}
3+ {% block title %}BINABOX Home Page{% endblock %}
4+
5+ {% block header %}
6+ <link href =" https://fonts.googleapis.com/css2?family=Bakbak+One& family=Black+Han+Sans& family=Candal& family=Lalezar& family=Roboto:ital,wght@0,100..900;1,100..900& display=swap" rel =" stylesheet" >
7+ <link href =" https://fonts.googleapis.com/css2?family=Bakbak+One& family=Black+Han+Sans& family=Candal& family=Lalezar& family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900& family=Roboto:ital,wght@0,100..900;1,100..900& display=swap" rel =" stylesheet" >
8+ {% endblock %}
9+
10+ {% block header %}
11+ {% include " partials/header.twig" %}
12+ {% endblock %}
413
514{% block content %}
6- <h1 >{{ index .title }}</h1 >
15+ <main >
16+ <!-- Banner Section -->
17+ <section class =" banner" >
18+ <h1 class =" banner__title" >WITH <span class =" BINABOX" >BINABOX</span > EXPLORE NFT COLLECTION</h1 >
19+ <p class =" banner__text" >{{ banner_text }}</p >
20+ <div class =" banner-section" >
21+ {% for stat in banner_stats %}
22+ <div class =" banner-section__item" >
23+ <span class =" banner-section__value" >{{ stat .value }}</span >
24+ <p class =" banner-section__text" >{{ stat .text }}</p >
25+ </div >
26+ {% endfor %}
27+ </div >
28+ <div class =" banner__actions" >
29+ <button class =" banner__button banner__button--primary" type =" button" >Connect Wallet</button >
30+ <button class =" banner__button banner__button--disable" type =" button" >Whitelist now</button >
31+ </div >
32+ <img src =" {{ banner_image }}" class =" banner__image" alt =" Binabox Cube" >
33+ </section >
34+
35+ <!-- Catalog Section -->
36+ <section class =" catalog" >
37+ <div class =" catalog__header" >
38+ <h2 class =" catalog__title" >Catalog</h2 >
39+ <button class =" catalog__button catalog__button--default" type =" button" >see all</button >
40+ <div class =" catalog__controls" >
41+ <button class =" catalog__button catalog__button-left" type =" button" aria-label =" Previous" ></button >
42+ <button class =" catalog__button catalog__button-right" type =" button" aria-label =" Next" ></button >
43+ </div >
44+ </div >
45+ <ul class =" catalog__list" >
46+ {% for product in catalog_products %}
47+ <li class =" catalog__item" >
48+ {% include " partials/catalog.twig" with { product : product } %}
49+ </li >
50+ {% endfor %}
51+ </ul >
52+ </section >
753
8- {% include ' src/templates/partials/welcome-section.twig' %}
54+ <!-- Blog Section -->
55+ <section class =" blog" >
56+ <h2 class =" blog__title" >Our Blog</h2 >
57+ {% for post in blog_posts %}
58+ {% include " partials/blog-card.twig" with { post : post }%}
59+ {% endfor %}
60+ </section >
61+
62+ <!-- About Section -->
63+ <section class =" about" >
64+ <h2 class =" about__title" >About us</h2 >
65+ {% include " partials/about.twig" with { about_intro : about_intro , about_items : about_items } %}
66+ <button class =" btn load-more" >Read more</button >
67+ </section >
68+
69+ <!-- Team Section -->
70+ <section class =" team" >
71+ <h2 class =" team__title" >Our Team</h2 >
72+ {% for member in team_members %}
73+ {% include " partials/team-card.twig" with { member : member } %}
74+ {% endfor %}
75+ </section >
76+
77+ <!-- FAQ Section -->
78+ <section class =" faq" >
79+ <h2 class =" faq__title" >FAQs</h2 >
80+ {% for faq in faqs %}
81+ {% include " partials/faq.twig" with { faq : faq } %}
82+ {% endfor %}
83+ </section >
84+ </main >
985{% endblock %}
86+
87+ {% block footer %}
88+ {% include " partials/footer.twig" %}
89+ {% endblock %}
0 commit comments