Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
some-ori
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
John
some-ori
Commits
fc72ed0a
Commit
fc72ed0a
authored
Feb 07, 2017
by
John Punzalan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update homepage and concept
parent
5e2f6859
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
9 deletions
+67
-9
someori.css
wp-content/themes/someori/library/css/someori.css
+10
-0
app.js
wp-content/themes/someori/library/js/app.js
+17
-0
someori.less
wp-content/themes/someori/library/less/someori.less
+14
-1
template-concept.php
wp-content/themes/someori/template-concept.php
+26
-8
No files found.
wp-content/themes/someori/library/css/someori.css
View file @
fc72ed0a
...
...
@@ -335,3 +335,13 @@ footer {
.fabricants
.nav-fabricant
span
{
cursor
:
pointer
;
}
.nav-concept
{
position
:
absolute
;
bottom
:
150px
;
}
.nav-concept
span
{
cursor
:
pointer
;
}
.nav-concept
.nav-active
{
text-decoration
:
underline
;
}
wp-content/themes/someori/library/js/app.js
View file @
fc72ed0a
...
...
@@ -18,4 +18,21 @@
$
(
'.js-fabricants'
).
slick
(
'slickPrev'
);
});
$
(
'.js-slide'
).
slick
({
infinite
:
true
,
speed
:
1000
,
arrows
:
false
,
slidesToShow
:
1
,
fade
:
true
,
cssEase
:
'linear'
});
$
(
'.nav-french'
).
click
(
function
()
{
$
(
'.js-slide'
).
slick
(
'slickGoTo'
,
0
);
});
$
(
'.nav-english'
).
click
(
function
()
{
$
(
'.js-slide'
).
slick
(
'slickGoTo'
,
1
);
});
})(
jQuery
);
\ No newline at end of file
wp-content/themes/someori/library/less/someori.less
View file @
fc72ed0a
...
...
@@ -136,4 +136,17 @@ footer {
cursor: pointer;
}
}
}
\ No newline at end of file
}
.nav-concept {
position: absolute;
bottom: 150px;
span {
cursor: pointer;
}
.nav-active {
text-decoration: underline;
}
}
wp-content/themes/someori/template-concept.php
View file @
fc72ed0a
...
...
@@ -12,15 +12,33 @@
<
section
class
="
row
-
fluid
">
<!-- Image Left Block -->
<div class="
span6
full
cover
-
bg
" style="
background
-
image
:
url
(
<?=
esc_url
(
the_post_thumbnail_url
(
'full'
));
?>
); height: calc(100vh);">
</div>
<div
class=
"span6 full full-screen-height exposition-block"
>
<?=
get_template_part
(
'template'
,
'menu'
);
?>
<div
class=
"row-fluid right-block-text"
style=
"height: calc(100vh - 109px);"
>
<div
class=
"row-fluid"
>
<h2
class=
"some-page-title"
>
<?=
the_title
()
?>
</h2>
<div
class=
"span6 full full-screen-height exposition-block js-slide"
>
<div>
<?=
get_template_part
(
'template'
,
'menu'
);
?>
<div
class=
"row-fluid right-block-text"
style=
"height: calc(100vh - 109px);"
>
<div
class=
"row-fluid"
>
<h2
class=
"some-page-title"
>
<?=
the_title
()
?>
</h2>
</div>
<div
class=
"row-fluid"
>
<div
class=
"text-justify"
>
<?=
get_field
(
'left_column_text'
);
?>
</div>
</div>
<div
class=
"row-fluid nav-concept text-center"
>
<span
class=
"nav-lang nav-french nav-active"
>
Français
</span>
|
<span
class=
"nav-lang nav-english"
>
English
</span>
</div>
</div>
<div
class=
"row-fluid"
>
<div
class=
"span5 text-justify"
>
<?=
get_field
(
'left_column_text'
);
?>
</div>
<div
class=
"span5 offset1 text-justify translate-text"
>
<?=
get_field
(
'right_column_text'
);
?>
</div>
</div>
<div>
<?=
get_template_part
(
'template'
,
'menu'
);
?>
<div
class=
"row-fluid right-block-text"
style=
"height: calc(100vh - 109px);"
>
<div
class=
"row-fluid"
>
<h2
class=
"some-page-title"
>
<?=
the_title
()
?>
</h2>
</div>
<div
class=
"row-fluid"
>
<div
class=
"text-justify translate-text"
>
<?=
get_field
(
'right_column_text'
);
?>
</div>
</div>
<div
class=
"row-fluid nav-concept text-center"
>
<span
class=
"nav-lang nav-french"
>
Français
</span>
|
<span
class=
"nav-lang nav-english nav-active"
>
English
</span>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment