diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md index 2970a4a..68236da 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,4 +1,5 @@ --- title: '{{ replace .File.ContentBaseName "-" " " | title }}' description: '' +subtitle: '' --- diff --git a/assets/images/apple.png b/assets/images/apple.png new file mode 100644 index 0000000..4aabf8e Binary files /dev/null and b/assets/images/apple.png differ diff --git a/assets/images/download.png b/assets/images/download.png new file mode 100644 index 0000000..16fd1b2 Binary files /dev/null and b/assets/images/download.png differ diff --git a/assets/images/http.png b/assets/images/http.png new file mode 100644 index 0000000..e5078d9 Binary files /dev/null and b/assets/images/http.png differ diff --git a/assets/images/key.png b/assets/images/key.png new file mode 100644 index 0000000..8348058 Binary files /dev/null and b/assets/images/key.png differ diff --git a/assets/images/linux.png b/assets/images/linux.png new file mode 100644 index 0000000..7e17d21 Binary files /dev/null and b/assets/images/linux.png differ diff --git a/assets/images/login.png b/assets/images/login.png new file mode 100644 index 0000000..5cbdcb4 Binary files /dev/null and b/assets/images/login.png differ diff --git a/assets/images/win.png b/assets/images/win.png new file mode 100644 index 0000000..83ba73b Binary files /dev/null and b/assets/images/win.png differ diff --git a/assets/scss/buttons.scss b/assets/scss/buttons.scss new file mode 100644 index 0000000..f0a599a --- /dev/null +++ b/assets/scss/buttons.scss @@ -0,0 +1,40 @@ +.done-button { + justify-self: flex-end; + align-self: flex-end; + margin: 0 40px 40px 0; +} + +.next-button { + justify-self: flex-end; + align-self: flex-end; + margin-right: 40px; + margin-bottom: 40px; +} + +.card-button { + align-self: center; + justify-self: center; + + margin-top: 57px; +} + +.next-button, .card-button, .done-button { + text-decoration: none; + + display: flex; + align-items: center; + justify-content: center; + + text-transform: uppercase; + + width: 100px; + height: 40px; + border-radius: 2px; + border: 1px solid #5daceb; + background-color: #5daceb; + color: #ffffff; + + font-family: Helvetica, Arial, sans-serif; + font-weight: 500; + font-size: 14px; +} \ No newline at end of file diff --git a/assets/scss/cards.scss b/assets/scss/cards.scss new file mode 100644 index 0000000..bfc35ba --- /dev/null +++ b/assets/scss/cards.scss @@ -0,0 +1,33 @@ +.cards-group { + display: flex; + justify-content: space-around; + margin-top: 60px; + flex: 1; +} + +.card-text { + font-family: Helvetica, Arial, sans-serif; + font-weight: 500; + font-style: italic; + font-size: 18px; + text-align: center; + color: #394251; +} + +.card { + display: flex; + flex-direction: column; + align-items: center; +} + +.card-body { + width: 200px; + height: 150px; + border: 1px solid #c2c5ca; + border-radius: 4px; + + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; +} \ No newline at end of file diff --git a/assets/scss/header.scss b/assets/scss/header.scss new file mode 100644 index 0000000..0650864 --- /dev/null +++ b/assets/scss/header.scss @@ -0,0 +1,61 @@ +.download-button { + text-decoration: none; + + display: flex; + align-items: center; + justify-content: center; + + width: 150px; + height: 25px; + color: #5DACE8; + border: 2px solid #5DACE8; + border-radius: 2px; + background: transparent; + text-transform: uppercase; + padding: 5px 20px; + + font-family: Inter; + font-size: 15px; + font-weight: 600; + cursor: pointer; +} + +.logo { + display: flex; + margin-top: 20px; + margin-left: 20px; +} + +.logo-block { + display: flex; + align-items: flex-start; + color: #ffffff; + text-transform: uppercase; + font-family: Helvetica, Arial, sans-serif; + font-weight: 700; + font-size: 26px; +} + +.header-title { + font-family: Helvetica, Arial, sans-serif; + font-weight: 700; + color: #ffffff; + text-align: center; + font-size: 52px; +} + +.header-subtitle { + font-family: Helvetica, Arial, sans-serif; + font-size: 20px; + font-weight: 300; + letter-spacing: 0em; + text-align: center; + color: #ffffff; + width: 500px; +} + +header { + width: 100vw; + height: 40vh; + background: linear-gradient(180deg, #2E3337 0%, #1D2024 100%); +} \ No newline at end of file diff --git a/assets/scss/list.scss b/assets/scss/list.scss new file mode 100644 index 0000000..3b5028c --- /dev/null +++ b/assets/scss/list.scss @@ -0,0 +1,24 @@ +.content > p { + font-family: Helvetica, Arial, sans-serif; + font-size: 30px; + font-weight: 300; + line-height: 2.5; + + margin-left: 100px; +} + +.content { + padding-top: 68px; + display: flex; + justify-content: space-between; + flex-direction: column; +} + +.container { + height: inherit; + width: inherit; + + display: grid; + grid-template-columns: 1fr; + grid-template-rows: 2fr 1fr; +} \ No newline at end of file diff --git a/assets/scss/main.scss b/assets/scss/main.scss new file mode 100644 index 0000000..0e0eb6b --- /dev/null +++ b/assets/scss/main.scss @@ -0,0 +1,29 @@ +#main { + width: 100vw; + height: 60vh; +} + +.page > .subtitle { + font-size: 22px; + font-family: Helvetica, Arial, sans-serif; + margin: 60px 0 0 60px; +} + +.page { + max-width: 100%; + + height: inherit; + width: 100vw; + color: black; + display: flex; + flex: 1; + flex-direction: column; +} + +.info-block { + height: 80%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-evenly; +} diff --git a/assets/scss/style.scss b/assets/scss/style.scss index c41a5b0..209a1bb 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -3,65 +3,4 @@ html, body, p { margin: 0; padding: 0; -} - -.info-block { - height: 100%; - display: flex; - flex-direction: column; - align-items: center; - justify-content: space-evenly; -} - -.download-button { - width: 200px; - height: 40px; - color: #5DACE8; - border: 2px solid #5DACE8; - border-radius: 2px; - background: transparent; - text-transform: uppercase; - padding: 5px 20px; - - font-family: Inter; - font-size: 15px; - font-weight: 600; - line-height: 19px; - letter-spacing: 0em; - text-align: center; -} - -.logo-block { - display: flex; - align-items: flex-start; - color: #ffffff; - text-transform: uppercase; - font-family: Helvetica, Arial, sans-serif; - font-weight: 700; - font-size: 26px; -} - -.header-title { - font-family: Helvetica, Arial, sans-serif; - font-weight: 700; - color: #ffffff; - text-align: center; - font-size: 52px; -} - -.header-subtitle { - font-family: Helvetica, Arial, sans-serif; - font-size: 20px; - font-weight: 300; - letter-spacing: 0em; - text-align: center; - color: #ffffff; - width: 500px; -} - -header { - width: 100vw; - height: 30vh; - background: linear-gradient(180deg, #2E3337 0%, #1D2024 100%); - padding: 20px; } \ No newline at end of file diff --git a/content/_index.md b/content/_index.md index bb9c4c0..e51739a 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,4 +1,22 @@ --- title: "Lets get started" description: "Please download the latest release below" +subtitle: "Requirements needed from Admin:" +cards: + - + icon: "http" + title: "URL for Web UI" + hasButton: false + - + icon: "key" + title: "URL for API Keys" + hasButton: false + - + icon: "login" + title: "Login Method" + hasButton: false + - + icon: "download" + title: "Client Download" + hasButton: false --- \ No newline at end of file diff --git a/content/install.md b/content/install.md new file mode 100644 index 0000000..963e232 --- /dev/null +++ b/content/install.md @@ -0,0 +1,21 @@ +--- +title: 'Install to your desktop' +description: 'Select the desktop platform below that you currently are using, for instructions on how to begin the ashirt installation process.' +subtitle: "Desktop platforms:" +cards: + - + icon: "apple" + title: "OSX" + hasButton: true + link: "/osx" + - + icon: "win" + title: "Windows" + hasButton: true + link: "/windows" + - + icon: "linux" + title: "Linux" + hasButton: true + link: "/linux" +--- \ No newline at end of file diff --git a/content/linux.md b/content/linux.md new file mode 100644 index 0000000..546d49a --- /dev/null +++ b/content/linux.md @@ -0,0 +1,11 @@ +--- +title: "Linux" +description: "Follow the instructions below to help you begin installing Ashirt to your local desktop" +layout: list +--- + +**Step 1.** Set the executable bit on the downloaded app image\ +             +Copy code here: **chmod +x ashirt-v1.0.1-linux.appimage** + +**Step 2.** Launch Ashirt application \ No newline at end of file diff --git a/content/osx.md b/content/osx.md new file mode 100644 index 0000000..71fa613 --- /dev/null +++ b/content/osx.md @@ -0,0 +1,11 @@ +--- +title: "OSX" +description: "Follow the instructions below to help you begin installing Ashirt to your local desktop" +layout: list +--- + +**Step 1.** Mount the DMG file + +**Step 2.** Move ashirt app into your local applications folder + +**Step 3.** Launch the Ashirt application using the folder through spotlight or with your terminal command: **open -a ashirt** \ No newline at end of file diff --git a/content/windows.md b/content/windows.md new file mode 100644 index 0000000..e56d61c --- /dev/null +++ b/content/windows.md @@ -0,0 +1,7 @@ +--- +title: "Windows" +description: "Follow the instructions below to help you begin installing Ashirt to your local desktop" +layout: list +--- + +**Step 1.** Awaiting reference... \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index fb31d56..babdaae 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,3 +1,3 @@ baseURL = 'https://example.org/' languageCode = 'en-us' -title = 'Ashirt' +title = 'Ashirt' \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e69de29..507c082 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -0,0 +1,11 @@ +{{ define "main" }} + +
+
+ {{ .Content }} +
+ + Done +
+ +{{ end }} \ No newline at end of file diff --git a/layouts/partials/card.html b/layouts/partials/card.html new file mode 100644 index 0000000..f979e8c --- /dev/null +++ b/layouts/partials/card.html @@ -0,0 +1,20 @@ +
+
+ {{ $iconPath := printf "images/%s.png" .icon }} + {{ $image := resources.Get $iconPath }} + + {{ .title }} icon + + {{ if eq .hasButton false }} +

{{ .title }}

+ {{ end }} +
+ + {{ if eq .hasButton true }} + {{ .title }} + {{ end }} +
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ebfffbb..9def860 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,9 +1,32 @@ - + - - - - {{ .Site.Title }} - {{ $style := resources.Get "scss/style.scss" | toCSS | minify }} - - \ No newline at end of file + + + + {{ .Site.Title }} + + + {{ $style := resources.Get "scss/style.scss" | toCSS | minify }} + + + + {{ $style := resources.Get "scss/header.scss" | toCSS | minify }} + + + + {{ $style := resources.Get "scss/main.scss" | toCSS | minify }} + + + + {{ $style := resources.Get "scss/cards.scss" | toCSS | minify }} + + + + {{ $style := resources.Get "scss/list.scss" | toCSS | minify }} + + + + {{ $style := resources.Get "scss/buttons.scss" | toCSS | minify }} + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c6904f1..0960ca4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,12 +1,14 @@
{{ $image := resources.Get "images/large.png" }} - Ashirt Logo -

Ashirt

+

{{ .Title }}

{{ .Description }}

{{ if eq .Kind "home"}} - + Download Ashirt {{ end }} -
\ No newline at end of file + diff --git a/layouts/partials/section.html b/layouts/partials/section.html index ff1ceb3..f6c8d8e 100644 --- a/layouts/partials/section.html +++ b/layouts/partials/section.html @@ -1,3 +1,19 @@
- {{ .Content }} -
\ No newline at end of file +
+

{{ .Params.Subtitle }}

+
+ +
+ {{ range .Params.Cards }} + {{ partial "card.html" . }} + {{ end }} +
+ + {{ if eq .Kind "home"}} + Next + {{ end }} + +
+ {{ .Content }} +
+