Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added sub modules #27

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ fields:
- type: file
name: image
label: image
pages:
- data/aboutSection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ fields:
- type: file
name: postImage
label: postImage
pages:
- content/blog/you-must-know-this-before-becoming-a-designer.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,3 @@ fields:
- type: file
name: pinImage
label: pinImage
pages:
- config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ fields:
- type: text
name: videoURL
label: videoURL
pages:
- data/hero.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,3 @@ fields:
- type: textarea
name: solution
label: solution
pages:
- content/portfolio/UX-case-study-for-agriculture-app.md
- content/portfolio/case-study-one.md
- content/portfolio/event-app-case-study.md
- content/portfolio/recipe-app-ux-study.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ fields:
- type: file
name: image
label: Icon
pages:
- data/serviceSection.yml
58 changes: 25 additions & 33 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,50 @@ languageCode = "en-us"
paginate = 6
theme = "portio"
title = "Portio"
# Main Menu
[[menu.main]]
name = "Home"
url = "#home"
weight = 1
name = "Contact"
url = "#contact"
weight = 7
[[menu.main]]
name = "About"
url = "#about"
weight = 2
name = "Blog"
url = "#blog"
weight = 6
[[menu.main]]
name = "Service"
url = "#service"
weight = 3
name = "Resume"
url = "#resume"
weight = 5
[[menu.main]]
name = "Work"
url = "#portfolio"
weight = 4
[[menu.main]]
name = "Resume"
url = "#resume"
weight = 5
name = "Service"
url = "#service"
weight = 3
[[menu.main]]
name = "Blog"
url = "#blog"
weight = 6
name = "About"
url = "#about"
weight = 2
[[menu.main]]
name = "Contact"
url = "#contact"
weight = 7

# Sitemap Menu
[[menu.sitemap]]
name = "About me"
url = "about"
name = "Home"
url = "#home"
weight = 1
[[menu.sitemap]]
name = "Frequently Ask Question"
name = "Latest Article"
url = "#"
weight = 2
weight = 4
[[menu.sitemap]]
name = "Privacy & Policy"
url = "#"
weight = 3
[[menu.sitemap]]
name = "Latest Article"
name = "Frequently Ask Question"
url = "#"
weight = 4

weight = 2
[[menu.sitemap]]
name = "About me"
url = "about"
weight = 1
[params]
blogPageURL = "blog"
contactLink = "contact"
Expand All @@ -59,20 +55,16 @@ footerLogo = "images/contact/widget-logo.png"
formspreeURL = "YOUR FORMSPREE URL"
googleAnalytics = "YOUR GOOGLE ANALYTICS CODE"
logo = "images/site-navigation/logo.png"

[params.address]
address = "23 Khan Niketon, Grand Street, NYK."
email = "[email protected]"
openingHours = "Open from 10am to 6pm (close at 5pm Sundays)"
phone = "+(448) 833 5272 332"

[params.map]
APIkey = "YOUR GOOGLE MAP API"
latitude = "23.7783741"
longitude = "90.3746808"
pinImage = "images/pin.png"

# Social icons
[[params.social]]
icon = "fa-facebook-official"
url = "https://www.facebook.com/"
Expand Down
14 changes: 7 additions & 7 deletions layouts/contact/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3 class="breadCrumb__title">{{ .Title }}</h3>
<img src="{{ "images/contact/location.svg" | absURL }}" alt="location" />
</div>
</div>
<h4>Office Address</h4>
<h4>Adresse</h4>
<p>
{{ $address.address }}
</p>
Expand All @@ -74,7 +74,7 @@ <h4>Office Address</h4>
<img src="{{ "images/contact/phone.svg" | absURL }}" alt="phone" />
</div>
</div>
<h4>Phone & Email</h4>
<h4>Téléphone et E-mail</h4>
<p>{{ $address.phone }}<br>
<a href="mailto:{{ $address.email }}">{{ $address.email }}</a>
</p>
Expand All @@ -95,7 +95,7 @@ <h4>Phone & Email</h4>
<img src="{{ "images/contact/time.svg" | absURL }}" alt="time" />
</div>
</div>
<h4>Working Hours</h4>
<h4>Heures d'ouverture</h4>
<p>
{{ $address.openingHours }}
</p>
Expand All @@ -110,7 +110,7 @@ <h4>Working Hours</h4>
<div class="row">
<div class="col-lg-6">
<div class="contact-form-title">
<h3>Contact Form</h3>
<h3>Contactez-moi</h3>
</div>
<div class="contact-form-input">
<form id="contact-form" action="{{ .Site.Params.formspreeURL }}" method="POST">
Expand All @@ -133,12 +133,12 @@ <h3>Contact Form</h3>
<div class="form-check small">
<input type="checkbox" class="form-check-input" name="agreement" id="aggrement" required />
<label class="form-check-label" for="aggrement">
I agree that my submitted data is being collected and
stored.</label>
J'accepte que mes données soumises soient collectées et
stockée.</label>
</div>
</div>

<button type="submit" class="btn btn-primary btn-zoom" id="contact-form-button">Send Message</button>
<button type="submit" class="btn btn-primary btn-zoom" id="contact-form-button">Parlons-en</button>
<p id="contact-form-status" class="mt-3"></p>
</form>

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/aboutSection.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<div>
<a class="btn btn-primary mr-3 btn-zoom"
href="{{ .button1Target | absURL }}">{{ .button1Name }}</a>
<a class="btn btn-outline-primary btn-zoom" href="{{ .button2Target | absURL }}">
<a class="btn btn-outline-primary btn-zoom" href="{{ .button2Target | absURL }} " target="_blank">
{{ .button2Name }} </a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/blogSection.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>
<div class="col-lg-6">
<div class="blog-preview__header_button desktop">
<a class="btn btn-outline-secondary btn-zoom m-3" href="{{ .buttonTarget | absURL }}">See all post</a>
<a class="btn btn-outline-secondary btn-zoom m-3" href="{{ .buttonTarget | absURL }}">Voir tous les articles</a>
</div>
</div>
</div>
Expand All @@ -40,7 +40,7 @@ <h5 class="mb-0">
<div class="row">
<div class="col-lg-12">
<div class="blog-preview__header_button mobile">
<a class="btn btn-outline-secondary btn-zoom" href="{{ .buttonTarget | absURL }}">See all post</a>
<a class="btn btn-outline-secondary btn-zoom" href="{{ .buttonTarget | absURL }}">Voir tous les articles</a>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
</svg>
</div>
<div class="text-light footer__cta_content">
<span>Contact me</span>
<h2 class="mb-0">Let’s Start a Project</h2>
<span>Contactez moi</span>
<h2 class="mb-0">Commençons un projet</h2>
</div>
<div class="footer__cta_action">
<a class="btn btn-light btn-zoom" href="{{ .Site.Params.contactLink | absURL }}">Get in
touch</a>
<a class="btn btn-light btn-zoom" href="{{ .Site.Params.contactLink | absURL }}">Un projet? Une Question?
</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<span class="top-title pre-line">{{ .topTitle }}</span>
{{ .content | markdownify }}
</div>
<a type="button" class="btn btn-lg btn-primary btn-zoom"
<a type="button" class="btn btn-lg btn-primary btn-zoom btn-light "
href="{{ .buttonURL | absURL }}">{{ .buttonName }}</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{ end }}
</ul>
<div class="navbar-nav">
<a href="{{ "contact" | absURL }}" class="btn btn-primary btn-zoom hire_button">Hire Me Now</a>
<a href="{{ "contact" | absURL }}" class="btn btn-primary btn-zoom hire_button">Embauchez-moi</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/portfolioSection.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<h3 class="mb-0">
<a class="text-dark" href="{{ .Permalink }}">{{ .Title }}</a>
</h3>
<a class="see-more-btn" href="{{ .Permalink }}">See details</a>
<a class="see-more-btn" href="{{ .Permalink }}">Voir les détails</a>
</div>
</div>
{{ end }}
Expand Down
55 changes: 55 additions & 0 deletions static/admin/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!-- forestryio: ignore; forestryio: admin -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex" />
<title>Admin</title>
<meta name="description" content=" " />
<meta name="author" content=" " />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<!-- Use maximum-scale and user-scalable at your own risk. It disables pinch/zoom. Think about usability/accessibility before including.-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />

<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">

<!-- Fort awesome icon kit -->
<script src="https://use.fortawesome.com/b6f38602.js"></script>

</head>
<body>
<div id="app">

</div>
<script id="admin-config-script" type="text/javascript">
var env = {
siteId: "mooowwwpfje8gw",
local: false
};

function uuidv4() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
});
}

var uuid = uuidv4()
var script = document.createElement('script');
script.src = "https://app.forestry.io/admin/forestry.min.js?hash=" + uuid
script.id = "forestry-admin";
document.body.appendChild(script);

var link = document.createElement("link");
link.type = "text/css";
link.rel = "stylesheet";
link.href = "https://app.forestry.io/admin/main.css?hash=" + uuid
document.head.appendChild(link);

</script>

</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.