Commit 24c87595 authored by danterolle's avatar danterolle
Browse files

Initial layout for the new download page

parent 7d956e0b
Pipeline #2308 canceled with stage
......@@ -89,7 +89,6 @@ URL = "donate"
weight = 16
############################# Default Parameters ##########################
[params]
......@@ -126,6 +125,11 @@ pwnboxBtnText = "Read more"
pwnboxURL = "https://help.hackthebox.eu/machines-challenges/v2-pwnbox"
htbLogoURL = "images/htb_logo_dark.png"
# download
[params.download]
enable = true
monitorImg = "images/monitor.png"
# contribute
[params.contribute]
enable = true
......@@ -138,9 +142,9 @@ background = "images/backgrounds/mountains-poly.jpg"
# footer
[params.footer]
copyright = "2013-2020 Lorenzo Faletra"
copyright = "2013-2021 Lorenzo Faletra"
copyrightURL = "https://palinuro.dev"
copyright2 = "2020 Parrot Security CIC"
copyright2 = "2021 Parrot Security CIC"
copyright2URL = "#you-are-already-here"
......
---
title: "Download ParrotOS Home Edition"
date: 2021-03-12T10:15:40+01:00
layout: "home-edition"
---
\ No newline at end of file
download:
enable : true
title : Download ParrotOS
defaultImg : ../images/monitor.png
version :
- title : Get Home Edition
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : home_icon
URL : /home-edition
image : ../images/monitor.png
- title : Get Security Edition
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : security_icon
URL : /security-edition
image : ../images/monitor.png
- title : Get Parrot Virtual
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : home_icon
URL : /virtual
image : ../images/monitor.png
categories:
- entry: home
- entry: security
......
enable : true
title : Download ParrotOS Home
description : Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque explicabo aspernatur soluta culpa autem tempore ad eius eos rem minima. Alias praesentium minus animi magni repellat cumque fugiat dolorum accusamus?
editions :
- name : MATE Edition
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : ../images/icons/mate.png
image : ../images/monitor.png
DE : Parrot-home
- name : KDE Edition
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : ../images/icons/kde.png
image : ../images/monitor.png
DE : Parrot-kde-home
- name : XFCE Edition
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : ../images/icons/xfce.png
image : ../images/monitor.png
DE : Parrot-xfce
extension : amd64.iso
torrent : yes
server_icon : ../images/icons/server.png
torrent_icon : ../images/icons/torrent.png
\ No newline at end of file
{{ define "main" }}
{{ partial "navigation.html" . }}
{{ partial "home-edition.html" . }}
{{ partial "community.html" . }}
{{ end }}
\ No newline at end of file
......@@ -11,5 +11,4 @@
{{ partial "community.html" . }}
{{ end }}
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ if $data.download.download.enable }}
{{ with $data.download.download }}
<section class="portfolio section" id="portfolio">
<div class="container">
<div class="row ">
<div class="col-xl-12">
<div id="particles-js">
</div>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
window.particlesJS.load('particles-js', '../plugins/particles/particles.json', function(){
console.log('particles.json loaded!');
});
</script>
<section class="download-page1 my-5">
<div class="col-xl-12 mb-3 mt-5">
{{"<!-- section title -->" | safeHTML}}
<div class="title text-center">
<div class="title text-center pb-0">
<h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
{{ with .title }} {{ index (split . " ") 1 }} {{ end }} {{ $.Site.Params.version }}</span></h2>
<div class="border-meghna"></div>
</div>
{{"<!-- /section title -->" | safeHTML}}
</div>
<div class="col-lg-12" style="padding:2em">
<div class="text-center">
{{ range .otherlinks }}
{{ if .hashes }}
<button type="button" class="btn btn-info" ><a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/signed-hashes.txt" target="_blank">{{ .text }}</a></button>
{{ else }}
<button type="button" class="btn btn-info" ><a href="{{ .URL }}" target="_blank">{{ .text }}</a></button>
{{ end }}
{{ end }}
</div>
</div>
<div class="container"></div>
<div class="row no-gutters">
{{ range .version }}
<div class="col-md-4">
<img src="{{ .image }}" class="w-50 my-4 d-block mx-auto">
<a href="{{ .URL }}" class="btn btn-main d-block mx-auto my-4" style="width: 50%; color:#222;">{{ .title }}</a>
<p class="my-3 text-center text-white w-75 mx-auto">{{ .description }}</p>
</div>
{{ end }}
</div>
</div>
</section>
<!--
<section class="portfolio section" id="portfolio">
<div class="container">
<div class="row ">
</div>
<div class="row">
<div class="col-lg-12" style="padding:2em">
......@@ -69,6 +106,7 @@
<p>{{ .content | markdownify }}</p>
</div>
</div>
-->
<!--
<div class="col-lg-4 shuffle-item" data-groups="[{{range $index, $element:= .categories }}{{if ne $index 0}},{{end}}&quot;{{. | urlize}}&quot;{{ end }}]">
<div class="portfolio-block mb-4">
......@@ -83,9 +121,11 @@
</div>
</div>
-->
<!--
{{ end }}
</div>
</div>
</section>
-->
{{ end }}
{{ end }}
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ if $data.home_edition.enable }}
<div id="particles-js">
</div>
<script src="../plugins/particles/particles.min.js"></script>
<script>
window.particlesJS.load('particles-js', '../plugins/particles/particles.json', function(){
console.log('particles.json loaded!');
});
</script>
<section class="download-home">
<div class="col-xl-12 my-3">
<div class="title mt-5 pb-0 text-center">
<h2>{{ $data.home_edition.title }}</h2>
<div class="border-meghna"></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12 mt-2 text-center">
<h3 class="my-5">{{ $data.home_edition.description }}</h3>
<hr class="w-50">
<div class="row">
<h3 class="col-lg-12 mb-5 mt-3 text-center">
CHOOSE YOUR <span style="color: #57cbcc;">DESKTOP ENVIRONMENT</span>
</h3>
{{ range $data.home_edition.editions }}
<div class="container">
<div class="row">
<div class="col-lg-6 my-5">
<h2 style="display: inline; border-bottom: 1px solid #57cbcc;">{{ .name }}</h2>
<p class="my-3 text-white">{{ .description }}</p>
<a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .DE }}-{{ $.Site.Params.version }}_{{ $data.home_edition.extension }}.mirrorlist" class="btn btn-main mt-3 mb-4 mx-5 w-50" style="color:#222" target="_blank">
Select Server <img src="{{ $data.home_edition.server_icon }}" style="width: 15px; height: 15px;">
</a>
<a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .DE }}-{{ $.Site.Params.version }}_{{ $data.home_edition.extension }}.torrent" class="btn btn-main mt-3 mb-4 mx-5 w-50" style="color:#222">
Get Torrent <img src="{{ $data.home_edition.torrent_icon }}" style="width: 15px; height: 15px;">
</a>
</div>
<div class="col-lg-6">
<img src="{{ .image }}" width="100%" height="100%">
</div>
</div>
</div>
<hr class="w-50">
{{ end }}
<hr class="w-50">
</div>
</div>
</div>
</div>
</section>
{{ end }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment