Skip to content

Commit

Permalink
Added work and community paths
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviablaza committed Dec 27, 2017
1 parent ec33112 commit e9ceeb2
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ theme = "hugo-uxsoc-theme"

[params.work.hero]
enable = true
subtitle = "Work with UX Society"
subtitle = "WORK WITH UX SOCIETY"
title = "Crafting the best experiences to achieve your goals"
call_to_action = "Contact Us"
call_to_action = "CONTACT US"

[params.work.process]
enable = true
Expand Down
4 changes: 4 additions & 0 deletions content/community.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
type = "page"
layout = "community"
+++
4 changes: 4 additions & 0 deletions content/work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
type = "page"
layout = "work"
+++
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
{{ partial "nav.html" . }}
{{ end }}

{{ if .Site.Params.work.hero.enable }}
{{ partial "work/hero.html" . }}
{{ end }}

{{ if .Site.Params.work.process.enable }}
{{ partial "work/process.html" . }}
{{ end }}
Expand Down
14 changes: 14 additions & 0 deletions themes/hugo-uxsoc-theme/layouts/partials/work/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ .Site.Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="{{ .Site.Params.theme_color }}">
<meta name="description" content="{{ .Site.Params.Description }}">
<meta property="og:description" content="{{ .Site.Params.Description }}">
<meta name="twitter:description" content="{{ .Site.Params.Description }}">
<meta property="og:image" content="{{ .Site.BaseURL }}/{{ .Site.Params.description_photo }}">
<meta name="twitter:image" content="{{ .Site.BaseURL }}/{{ .Site.Params.description_photo }}">
<link rel="icon" href="{{ .Site.BaseURL }}/{{ .Site.Params.Favicon }}" type="image/x-icon">
<link rel="shortcut icon" href="{{ .Site.BaseURL }}/{{ .Site.Params.Favicon }}" type="image/x-icon">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/style.css">
<link rel="stylesheet" type="text/css" href="/fonts/fonts.min.css"/>
16 changes: 16 additions & 0 deletions themes/hugo-uxsoc-theme/layouts/partials/work/hero.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<section id="hero-section">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="hero-text -home">
<h2 class="subtitle">{{ .Site.Params.Work.Hero.Subtitle }}</h2>
<h1 class="title">{{ .Site.Params.Work.Hero.Title | safeHTML }}</h1>
<a class="btn -uxsoc text-center" href="#" role="button">{{ .Site.Params.Work.Hero.call_to_action }}</a>
</div>
</div>
<div class="col-md-6">
<!--<img src="{{ .Site.BaseURL }}/img/hero.png" style="zoom:150%;transform:translateY(50px);">-->
</div>
</div>
</div>
</section>

0 comments on commit e9ceeb2

Please sign in to comment.