Selaa lähdekoodia

Create basic site layout

master
Immanuel Onyeka 1 vuosi sitten
vanhempi
commit
858c572cda
28 muutettua tiedostoa jossa 79 lisäystä ja 95 poistoa
  1. +1
    -1
      grav-admin/user/config/site.yaml
  2. +1
    -1
      grav-admin/user/data/feed/21232f297a57a5a743894a0e4a801fc3.yaml
  3. +1
    -1
      grav-admin/user/data/flex/indexes/pages.json
  4. +1
    -1
      grav-admin/user/data/notifications/21232f297a57a5a743894a0e4a801fc3.yaml
  5. +12
    -0
      grav-admin/user/pages/01.home/_example/gallery.md
  6. BIN
      grav-admin/user/pages/01.home/_example/skouter-create.gif
  7. BIN
      grav-admin/user/pages/01.home/_hero/grey.jpg
  8. +13
    -0
      grav-admin/user/pages/01.home/_hero/hero.md
  9. BIN
      grav-admin/user/pages/01.home/_hero/logo (1).png
  10. BIN
      grav-admin/user/pages/01.home/_hero/ripples.png
  11. BIN
      grav-admin/user/pages/01.home/_hero/roof.png
  12. BIN
      grav-admin/user/pages/01.home/_hero/roof2.png
  13. +7
    -0
      grav-admin/user/pages/01.home/_info/text.md
  14. +0
    -42
      grav-admin/user/pages/01.home/default.md
  15. +8
    -0
      grav-admin/user/pages/01.home/modular.md
  16. +5
    -0
      grav-admin/user/pages/02.about/default.md
  17. +0
    -0
      grav-admin/user/pages/03.typography/default.md
  18. BIN
      grav-admin/user/pages/03.welcome/3c0747ae9a30a7c4956130460b980c2d.png
  19. +0
    -44
      grav-admin/user/pages/03.welcome/modular.md
  20. +7
    -0
      grav-admin/user/pages/04.pricing/flex-objects.md
  21. +14
    -0
      grav-admin/user/pages/05.blog/blog.md
  22. +5
    -0
      grav-admin/user/pages/06.register/default.md
  23. BIN
      grav-admin/user/themes/quark/images/favicon.png
  24. BIN
      grav-admin/user/themes/quark/images/favicon_2.png
  25. +0
    -1
      grav-admin/user/themes/quark/images/grav-logo.svg
  26. BIN
      grav-admin/user/themes/quark/images/logo.png
  27. +2
    -2
      grav-admin/user/themes/quark/scss/theme/_variables.scss
  28. +2
    -2
      grav-admin/user/themes/quark/templates/partials/logo.html.twig

+ 1
- 1
grav-admin/user/config/site.yaml Näytä tiedosto

@@ -7,7 +7,7 @@ taxonomies:
- category
- tag
metadata:
description: 'Grav is an easy to use, yet powerful, open source flat-file CMS'
description: 'Skouter is an easy to use, yet powerful loan estimate app. It contains all the essential features for loan officers and brokers to create highly accurate PDF reports. The app contains features for generating complex fees, loan templates, and mortgage insurance rates all in an intuitive interface.'
summary:
enabled: true
format: short


+ 1
- 1
grav-admin/user/data/feed/21232f297a57a5a743894a0e4a801fc3.yaml Näytä tiedosto

@@ -1,4 +1,4 @@
last_checked: 1702931379
last_checked: 1703697717
data:
-
title: 'macOS 14.0 Sonoma Apache Setup: Upgrading Homebrew'


+ 1
- 1
grav-admin/user/data/flex/indexes/pages.json Näytä tiedosto

@@ -1 +1 @@
{"version":"1.5","timestamp":1702931997,"count":4,"index":{"":{"key":"","storage_key":"","template":null,"storage_timestamp":1702931867,"children":{"01.home":1696264967,"02.typography":1696264967,"03.welcome":1702931867},"checksum":"3ee5462a7b4c9420de7579fad9c8d2b3"},"01.home":{"key":"home","storage_key":"01.home","template":"default","storage_timestamp":1696264967,"markdown":{"":{"default":1696264967}},"checksum":"d150a9976536d845e5233908b299a93f"},"02.typography":{"key":"typography","storage_key":"02.typography","template":"default","storage_timestamp":1696264967,"markdown":{"":{"default":1696264967}},"checksum":"dc5fdbc81a0f47d70263c883d3953dae"},"03.welcome":{"key":"welcome","storage_key":"03.welcome","template":"modular","storage_timestamp":1702931997,"markdown":{"":{"modular":1702931997}},"checksum":"6a5c817288e3d1020dc364acb0274c52"}}}
{"version":"1.5","timestamp":1703702477,"count":10,"index":{"":{"key":"","storage_key":"","template":null,"storage_timestamp":1703700355,"children":{"01.home":1703631506,"02.about":1703638471,"03.typography":1703638467,"04.pricing":1703638467,"05.blog":1703638467,"06.register":1703638467},"checksum":"06c91767d68d9064ce9ac55f5a3bd06a"},"01.home":{"key":"home","storage_key":"01.home","template":"modular","storage_timestamp":1703702477,"markdown":{"":{"modular":1703631506}},"children":{"_example":1703702477,"_hero":1703700560,"_info":1703625131},"checksum":"6456cc7e2be0120456fde8b0178a2e9b"},"01.home\/_example":{"key":"home\/_example","storage_key":"01.home\/_example","template":"gallery","storage_timestamp":1703702477,"markdown":{"":{"gallery":1703702451}},"checksum":"b7b4e6e7cc4f517e72e598f2aab5eb19"},"01.home\/_hero":{"key":"home\/_hero","storage_key":"01.home\/_hero","template":"hero","storage_timestamp":1703700560,"markdown":{"":{"hero":1703700560}},"checksum":"372107b6acd244f93b201e167c54c2e0"},"01.home\/_info":{"key":"home\/_info","storage_key":"01.home\/_info","template":"text","storage_timestamp":1703625131,"markdown":{"":{"text":1703625131}},"checksum":"c08d54a135b94ee779357e4335376d51"},"02.about":{"key":"about","storage_key":"02.about","template":"default","storage_timestamp":1703638471,"markdown":{"":{"default":1703638471}},"checksum":"5e859a0aa19b89aad1f917b6c071aa79"},"03.typography":{"key":"typography","storage_key":"03.typography","template":"default","storage_timestamp":1703638467,"markdown":{"":{"default":1696264967}},"checksum":"e18e25aa1028384a58d66d7b5c74b799"},"04.pricing":{"key":"pricing","storage_key":"04.pricing","template":"flex-objects","storage_timestamp":1703638467,"markdown":{"":{"flex-objects":1703635650}},"checksum":"a24998d28c01b388939d89c05b6afca5"},"05.blog":{"key":"blog","storage_key":"05.blog","template":"blog","storage_timestamp":1703638467,"markdown":{"":{"blog":1703636303}},"checksum":"88a8e8a7109dc2957e9dc3e1fd81fa85"},"06.register":{"key":"register","storage_key":"06.register","template":"default","storage_timestamp":1703638467,"markdown":{"":{"default":1703635993}},"checksum":"d34a58c9eddf0d0cac39eacb2832d13b"}}}

+ 1
- 1
grav-admin/user/data/notifications/21232f297a57a5a743894a0e4a801fc3.yaml Näytä tiedosto

@@ -1,4 +1,4 @@
last_checked: 1702931259
last_checked: 1703702041
data:
feed:
-


+ 12
- 0
grav-admin/user/pages/01.home/_example/gallery.md Näytä tiedosto

@@ -0,0 +1,12 @@
---
title: example
body_classes: modular
class: small
media_order: skouter-create.gif
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor

![skouter-create](skouter-create.gif "skouter-create")

hello

BIN
grav-admin/user/pages/01.home/_example/skouter-create.gif Näytä tiedosto

Before After
Width: 320  |  Height: 693  |  Size: 930 KiB

BIN
grav-admin/user/pages/01.home/_hero/grey.jpg Näytä tiedosto

Before After
Width: 504  |  Height: 360  |  Size: 6.9 KiB

+ 13
- 0
grav-admin/user/pages/01.home/_hero/hero.md Näytä tiedosto

@@ -0,0 +1,13 @@
---
title: hero
body_classes: modular
hero_classes: 'hero-large overlay-light'
media_order: 'roof.png,grey.jpg,logo (1).png,roof2.png,ripples.png'
image_align: left
hero_image: grey.jpg
---

![logo%20%281%29](logo%20%281%29.png "logo%20%281%29")
## Lorem ipsum dolor sit amet

#### Skouter is the best application generating high quality mortgage estimates for loan officers. You'll get straightforward forms and we'll handle the rest.

BIN
grav-admin/user/pages/01.home/_hero/logo (1).png Näytä tiedosto

Before After
Width: 1304  |  Height: 870  |  Size: 1024 KiB

BIN
grav-admin/user/pages/01.home/_hero/ripples.png Näytä tiedosto

Before After
Width: 400  |  Height: 400  |  Size: 3.0 KiB

BIN
grav-admin/user/pages/01.home/_hero/roof.png Näytä tiedosto

Before After
Width: 512  |  Height: 512  |  Size: 3.5 KiB

BIN
grav-admin/user/pages/01.home/_hero/roof2.png Näytä tiedosto

Before After
Width: 459  |  Height: 113  |  Size: 5.0 KiB

+ 7
- 0
grav-admin/user/pages/01.home/_info/text.md Näytä tiedosto

@@ -0,0 +1,7 @@
---
title: info
body_classes: modular
image_align: left
---

#### Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore

+ 0
- 42
grav-admin/user/pages/01.home/default.md Näytä tiedosto

@@ -1,42 +0,0 @@
---
title: Home
body_classes: title-center title-h1h2
---

# Say Hello to Grav!
## installation successful...

Congratulations! You have installed the **Base Grav Package** that provides a **simple page** and the default **Quark** theme to get you started.

!! If you see a **404 Error** when you click `Typography` in the menu, please refer to the [troubleshooting guide](http://learn.getgrav.org/troubleshooting/page-not-found).

### Find out all about Grav

* Learn about **Grav** by checking out our dedicated [Learn Grav](http://learn.getgrav.org) site.
* Download **plugins**, **themes**, as well as other Grav **skeleton** packages from the [Grav Downloads](http://getgrav.org/downloads) page.
* Check out our [Grav Development Blog](http://getgrav.org/blog) to find out the latest goings on in the Grav-verse.

!!! If you want a more **full-featured** base install, you should check out [**Skeleton** packages available in the downloads](http://getgrav.org/downloads).

### Edit this Page

To edit this page, simply navigate to the folder you installed **Grav** into, and then browse to the `user/pages/01.home` folder and open the `default.md` file in your [editor of choice](http://learn.getgrav.org/basics/requirements). You will see the content of this page in [Markdown format](http://learn.getgrav.org/content/markdown).

### Create a New Page

Creating a new page is a simple affair in **Grav**. Simply follow these simple steps:

1. Navigate to your pages folder: `user/pages/` and create a new folder. In this example, we will use [explicit default ordering](http://learn.getgrav.org/content/content-pages) and call the folder `03.mypage`.
2. Launch your text editor and paste in the following sample code:

---
title: My New Page
---
# My New Page!

This is the body of **my new page** and I can easily use _Markdown_ syntax here.

3. Save this file in the `user/pages/03.mypage/` folder as `default.md`. This will tell **Grav** to render the page using the **default** template.
4. That is it! Reload your browser to see your new page in the menu.

! NOTE: The page will automatically show up in the Menu after the "Typography" menu item. If you wish to change the name that shows up in the Menu, simple add: `menu: My Page` between the dashes in the page content. This is called the YAML front matter, and it is where you configure page-specific options.

+ 8
- 0
grav-admin/user/pages/01.home/modular.md Näytä tiedosto

@@ -0,0 +1,8 @@
---
title: Home
body_classes: 'title-center title-h1h2'
onpage_menu: false
content:
items: '@self.modular'
---


+ 5
- 0
grav-admin/user/pages/02.about/default.md Näytä tiedosto

@@ -0,0 +1,5 @@
---
title: About
---

## About us

grav-admin/user/pages/02.typography/default.md → grav-admin/user/pages/03.typography/default.md Näytä tiedosto


BIN
grav-admin/user/pages/03.welcome/3c0747ae9a30a7c4956130460b980c2d.png Näytä tiedosto

Before After

+ 0
- 44
grav-admin/user/pages/03.welcome/modular.md Näytä tiedosto

@@ -1,44 +0,0 @@
---
title: Welcome
content:
items: '@self.modular'
media_order: 3c0747ae9a30a7c4956130460b980c2d.png
---

# Say Hello to Grav!
## installation successful...

Congratulations! You have installed the **Base Grav Package** that provides a **simple page** and the default **Quark** theme to get you started.

!! If you see a **404 Error** when you click `Typography` in the menu, please refer to the [troubleshooting guide](http://learn.getgrav.org/troubleshooting/page-not-found).

### Find out all about Grav

* Learn about **Grav** by checking out our dedicated [Learn Grav](http://learn.getgrav.org) site.
* Download **plugins**, **themes**, as well as other Grav **skeleton** packages from the [Grav Downloads](http://getgrav.org/downloads) page.
* Check out our [Grav Development Blog](http://getgrav.org/blog) to find out the latest goings on in the Grav-verse.

!!! If you want a more **full-featured** base install, you should check out [**Skeleton** packages available in the downloads](http://getgrav.org/downloads).

### Edit this Page

To edit this page, simply navigate to the folder you installed **Grav** into, and then browse to the `user/pages/01.home` folder and open the `default.md` file in your [editor of choice](http://learn.getgrav.org/basics/requirements). You will see the content of this page in [Markdown format](http://learn.getgrav.org/content/markdown).

### Create a New Page

Creating a new page is a simple affair in **Grav**. Simply follow these simple steps:

1. Navigate to your pages folder: `user/pages/` and create a new folder. In this example, we will use [explicit default ordering](http://learn.getgrav.org/content/content-pages) and call the folder `03.mypage`.
2. Launch your text editor and paste in the following sample code:

---
title: My New Page
---
# My New Page!

This is the body of **my new page** and I can easily use _Markdown_ syntax here.

3. Save this file in the `user/pages/03.mypage/` folder as `default.md`. This will tell **Grav** to render the page using the **default** template.
4. That is it! Reload your browser to see your new page in the menu.

! NOTE: The page will automatically show up in the Menu after the "Typography" menu item. If you wish to change the name that shows up in the Menu, simple add: `menu: My Page` between the dashes in the page content. This is called the YAML front matter, and it is where you configure page-specific options.

+ 7
- 0
grav-admin/user/pages/04.pricing/flex-objects.md Näytä tiedosto

@@ -0,0 +1,7 @@
---
title: Pricing
---

hello world

## hello world

+ 14
- 0
grav-admin/user/pages/05.blog/blog.md Näytä tiedosto

@@ -0,0 +1,14 @@
---
title: Blog
content:
items:
- '@self.children'
limit: 5
order:
by: date
dir: desc
pagination: true
url_taxonomy_filters: true
---

## Blog

+ 5
- 0
grav-admin/user/pages/06.register/default.md Näytä tiedosto

@@ -0,0 +1,5 @@
---
title: Register
---

## Registration

BIN
grav-admin/user/themes/quark/images/favicon.png Näytä tiedosto

Before After
Width: 244  |  Height: 244  |  Size: 13 KiB Width: 328  |  Height: 328  |  Size: 73 KiB

BIN
grav-admin/user/themes/quark/images/favicon_2.png Näytä tiedosto

Before After
Width: 325  |  Height: 152  |  Size: 46 KiB

+ 0
- 1
grav-admin/user/themes/quark/images/grav-logo.svg Näytä tiedosto

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" viewBox="0 0 504 140" clip-rule="evenodd"><path d="M235.83 71.56h-7.98c-1.2 0-2.2 1-2.2 2.2V89.1l-.15.13c-4.7 3.96-10.64 6.14-16.72 6.14-14.36 0-26.04-11.68-26.04-26.04s11.68-26.04 26.04-26.04c5.58 0 10.92 1.76 15.44 5.1.87.66 2.1.57 2.86-.2l5.7-5.7c.44-.44.67-1.05.63-1.68-.02-.62-.32-1.2-.82-1.6-6.76-5.35-15.2-8.3-23.8-8.3-21.18 0-38.42 17.23-38.42 38.4 0 21.2 17.24 38.42 38.42 38.42 10.93 0 21.4-4.7 28.7-12.9.35-.4.55-.93.55-1.47v-19.6c0-1.22-.98-2.2-2.2-2.2M502.8 34.44c-.4-.6-1.1-.98-1.84-.98h-8.7c-.87 0-1.66.52-2 1.32l-24.5 56.84-24.9-56.85c-.36-.8-1.15-1.3-2.02-1.3h-8.72c-.74 0-1.44.36-1.84.98-.4.62-.48 1.4-.17 2.1l30.2 68.85c.34.8 1.13 1.32 2 1.32h11c.88 0 1.67-.53 2.02-1.33l29.66-68.87c.3-.68.22-1.47-.2-2.1"/><path d="M388.68 34.77c-.35-.8-1.14-1.32-2-1.32h-11c-.88 0-1.67.53-2.02 1.33L344 103.64c-.3.68-.22 1.47.18 2.08.4.62 1.1 1 1.84 1h8.7c.86 0 1.66-.53 2-1.33l24.5-56.86 24.9 56.86c.36.8 1.15 1.32 2.02 1.32h8.72c.74 0 1.44-.38 1.84-1 .4-.62.47-1.4.17-2.1l-30.2-68.85zM309.2 81.52l.47-.22c8.68-4.2 14.28-13.1 14.28-22.67 0-13.88-11.3-25.18-25.17-25.18H266.9c-1.2 0-2.2 1-2.2 2.2v68.86c0 1.23 1 2.22 2.2 2.22h8c1.2 0 2.2-1 2.2-2.2V45.8h21.68c7.05 0 12.8 5.75 12.8 12.8 0 5.9-4 11-9.73 12.42-1.04.26-2.07.4-3.07.4h-7.98c-.83 0-1.6.46-1.96 1.2-.38.73-.3 1.62.2 2.3l22.6 30.87c.42.58 1.08.92 1.78.92h9.9c.84 0 1.6-.47 1.97-1.2.37-.75.3-1.64-.2-2.3l-15.9-21.7zM107.2 80.97c-7.26-4.8-11.4-8.85-15.02-16.1-2.47 4.97-8.24 12.37-17.96 18.2-4.86 15.1-27.96 44-35.43 39.9-2.22-1.2-2.64-2.8-2.15-4.45.54-4.13 9.08-13.62 9.08-13.62s.18 2 2.92 6.18c-3.6-11.2 5.96-25.03 8.5-29.73 3.98-1.27 4.27-6.4 4.27-6.4.26-7.9-3.28-13.63-6.7-17.05 2.46 3 3.25 7.54 3.37 11.7v.02c0 .47 0 .93 0 1.4-.12 3.43-1.16 8.18-3.38 8.18v.03c-2.28-.1-5.1.4-7.63 1.18l-5.6 1.34s2.98-.13 4.6 1.25c-1.8 2.9-5.78 6.53-10.22 8.58-6.45 3-8.3-2.96-5.03-6.84.8-.94 1.62-1.74 2.38-2.4-.5-.5-.8-1.2-.88-2.06 0 0 0 0 0-.02-.46-1.97-.2-4.54 2.6-8.62.54-.86 1.2-1.75 2-2.65.02-.04.04-.07.07-.1.03-.04.07-.08.1-.12.02-.02.04-.04.06-.06.2-.23.42-.45.64-.67 3.34-3.4 8.6-6.96 16.9-10.15C64.4 43.68 67.94 41 67.94 41c1.07-1.1 2.94-2.45 3.63-2.8-5.05-8.77-6.07-21.15-4.75-24.5-.1.2-.2.38-.3.57.5-1.14.83-1.5 1.34-2.1 1.38-1.64 6.06-2.5 7.74.96.9 1.84 1.06 4.23 1.03 6.02-3.7-.2-7.06 4.04-7.06 4.04s3.07-1.46 6.88-1.5c0 0 1 .9 2.28 2.56-1.7 3.2-4.52 10.02-2.5 17.16.35 1.4.86 2.62 1.5 3.65.02.05.04.1.07.14.05.07.1.13.14.2 3.37 5.06 9.54 5.66 9.54 5.66-2.9-1.45-5.27-3.76-6.8-6.56-.82-1.5-1.3-2.77-1.6-3.77-1.64-6.3.77-10 2.14-12.47 3.17-4.9 8.95-7.9 15.15-7.18 8.72 1 14.97 8.86 13.98 17.57-.6 5.32-3.78 9.72-8.15 12.12 1.05 2.84-.07 6.28-.07 6.28 2.64 3.32 2.76 5.23 2.67 7-3.36-.55-6.62 1.7-6.62 1.7s6.48-1.53 10.24 1.82c2.44 2.64 4.08 5 5.05 6.77 1.4 2.5 7.86 2.68 7.12 7.2-.74 4.5-5.68 4.53-13.4-.57M69.56 0C31.15 0 0 31.15 0 69.57c0 38.42 31.15 69.57 69.57 69.57 38.42 0 69.57-31.15 69.57-69.57C139.14 31.15 108 0 69.57 0M73.8 51.7c.8-.82.8-2.14 0-2.95-.82-.82-2.14-.82-2.95 0-.82.8-.82 2.13 0 2.94.8.8 2.13.8 2.95 0M66.45 53.15c-.82.8-.82 2.13 0 2.95.8.8 2.13.8 2.94 0 .8-.82.8-2.14 0-2.95-.82-.8-2.14-.8-2.95 0"/><path d="M79.23 54.23c-1.27-1.27-3.34-1.27-4.6 0l-2.72 2.7c-1.27 1.3-1.27 3.35 0 4.63l3 2.97c1.26 1.28 3.32 1.28 4.6 0l2.7-2.7c1.28-1.28 1.28-3.35 0-4.62l-2.97-2.97zM95.76 41.44c-2.15-2.57 1.87-7.25 4.4-4.46 4.64 5.15-2.25 7.04-4.4 4.46m9.24 2.7c3.45-6.56-1.42-10.4-4.77-13.53-5.36-5.03-10.7-7.2-16.8-.23-6.1 6.98-2.24 15.07 3.35 19.06 5.58 4 14.78 1.25 18.22-5.3"/></svg>

BIN
grav-admin/user/themes/quark/images/logo.png Näytä tiedosto

Before After
Width: 849  |  Height: 339  |  Size: 204 KiB

+ 2
- 2
grav-admin/user/themes/quark/scss/theme/_variables.scss Näytä tiedosto

@@ -1,5 +1,5 @@
// Spectre Overrides
$primary-color: #3085EE !default;
$primary-color: #4C555E !default;
$dark-color: #454d5d !default;
$light-color: #fff !default;
$gray-color: lighten($dark-color, 40%) !default;
@@ -35,4 +35,4 @@ $mobile-color-main: $primary-color;
$mobile-color-active: #FFF;
$mobile-color-link: #FFF;
$mobile-button-height: 24px;
$mobile-button-width: 28px;
$mobile-button-width: 28px;

+ 2
- 2
grav-admin/user/themes/quark/templates/partials/logo.html.twig Näytä tiedosto

@@ -4,6 +4,6 @@
{% set logo_file = (logo|first).name %}
<img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.title }}" />
{% else %}
{% include('@images/grav-logo.svg') %}
<img src="{{ url('theme://images/logo.png' ~ logo_file) }}" alt="{{ site.title }}" />
{% endif %}
</a>
</a>

Loading…
Peruuta
Tallenna