diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-03-10 01:38:53 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-03-10 01:38:53 +0100 |
| commit | 8a61b04b0799e27070e4ae12e85cde624e2a848f (patch) | |
| tree | 012bd9315207bf734e812150e5a776a8a8d24710 /layouts | |
| parent | f76c2ed0a2928a2a5e391916f09b497a6b271c4b (diff) | |
| download | graysx-hugo-8a61b04b0799e27070e4ae12e85cde624e2a848f.tar.gz | |
WIP demo web
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/index.html | 42 | ||||
| -rw-r--r-- | layouts/partials/head.html | 2 | ||||
| -rw-r--r-- | layouts/partials/header.html | 2 |
3 files changed, 23 insertions, 23 deletions
diff --git a/layouts/index.html b/layouts/index.html index 0c222ff..5ba1fca 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -12,39 +12,39 @@ <h1 class="mx-auto my-0 text-uppercase">{{ .header.title }}</h1> <h2 class="text-white-50 mx-auto mt-2 mb-5">{{ .header.description }}</h2> <a class="btn btn-primary" href="{{ .header.button.url }}">{{ .header.button.text }}</a> + <a class="btn btn-secondary" href="{{ .header.src_button.url }}">{{ .header.src_button.text }}</a> + <p class="mx-auto text-white-50 mt-3 mb-3 text-uppercase"> + Introduction video + </p> + <p> + <video class="" autoplay="false" src="{{ .header.video }}" width="480"></video> + </p> + <p> + {{ with site.Data.homepage.about }} + <h3 class="text-white-50 mb-3 text-uppercase">{{ .title }}</h3> + <label class="text-white-50 w-50">{{ .desc }}</label> + {{ if .button.enable }} + <a class="btn btn-primary about-btn" href="{{ .button.url }}">{{ .button.text }}</a> + {{ end }} + </p> {{ end }} - </div> - </div> - </div> - </header> - <!-- About--> - {{ with site.Data.homepage.about }} - <section class="about-section text-center" id="about"> - <div class="container px-4 px-lg-5"> - <div class="row gx-4 gx-lg-5 justify-content-center"> - <div class="col-lg-8"> - <h2 class="text-white mb-4">{{ .title }}</h2> - <p class="text-white-50">{{ .desc }}</p> - {{ if .button.enable }} - <a class="btn btn-primary about-btn" href="{{ .button.url }}">{{ .button.text }}</a> {{ end }} </div> </div> - <img class="img-fluid" src="{{ .image }}" alt="..." /> </div> - </section> - {{ end }} + </header> + <!-- Projects--> {{ with site.Data.homepage.projects }} - <section class="projects-section bg-light" id="projects"> + <section class="projects-section bg-dark" id="projects"> <div class="container px-4 px-lg-5"> <!-- Featured Project Row--> <div class="row gx-0 mb-4 mb-lg-5 align-items-center"> <div class="col-xl-8 col-lg-7"><img class="img-fluid mb-3 mb-lg-0" src="{{ .card1.img }}" alt="..." /></div> <div class="col-xl-4 col-lg-5"> <div class="featured-text text-center text-lg-left"> - <h4>{{ .card1.title }}</h4> - <p class="text-black-50 mb-0">{{ .card1.text }}</p> + <h4 class="text-white">{{ .card1.title }}</h4> + <p class="text-white-50 mb-0">{{ .card1.text }}</p> </div> </div> </div> @@ -150,4 +150,4 @@ </section> {{- partial "footer.html" . -}} </body> -</html>
\ No newline at end of file +</html> diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6f3a6c1..68df436 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -9,4 +9,4 @@ {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} <title>{{ $title }}</title> -</head>
\ No newline at end of file +</head> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a210045..d8ffede 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,4 +14,4 @@ </ul> </div> </div> -</nav>
\ No newline at end of file +</nav> |
