Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
emir committed Mar 26, 2019
0 parents commit 010fee4
Show file tree
Hide file tree
Showing 160 changed files with 6,443 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALGOLIA_APP_ID=
ALGOLIA_ADMIN_KEY=
ALGOLIA_INDEX_NAME=
ALGOLIA_INDEX_FILE=
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
.idea
.env
/public
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "public"]
path = public
url = [email protected]:moneo/itsmoneo.com.git
branch = master
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Updating Algolia indexes
* npm install
* npm run algolia -> (Algolia'daki indexleri günceller.)


6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

25 changes: 25 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
baseURL = "https://itsmoneo.com/"
languageCode = "en-us"
title = "Moneo"
theme = "moneo"

uglyurls = true
paginate = 9

[taxonomies]
category = "categories"
tag = "tags"
search = "search"

[outputFormats.Algolia]
baseName = "algolia"
isPlainText = true
mediaType = "application/json"
notAlternative = true

[params.algolia]
vars = ["title", "date", "permalink", "author", "thumbnail"]
params = ["categories", "tags"]

[outputs]
home = ["HTML", "RSS", "Algolia"]
14 changes: 14 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "Home"
description: "We offer you the expertise you’ve been looking for to build stable, scalable and, advanced products. No compromises, only promises that are held."
date: 2018-12-02T15:04:45+03:00
draft: false
type: "index"
og:
title: "Home"
description: "We offer you the expertise you’ve been looking for to build stable, scalable and, advanced products. No compromises, only promises that are held."
type: "website"
image: "image/logo.svg"
---

# Index
3 changes: 3 additions & 0 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
url: "/blog"
---
17 changes: 17 additions & 0 deletions content/career.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Career"
description: "We develop, apply, maintain, scale, test, implement, research and execute... See the job openings and seize the opportunity to be one of us."
date: 2018-12-02T01:47:46+03:00
draft: false
header_class: "above-content"
og:
title: "Career"
description: "We develop, apply, maintain, scale, test, implement, research and execute... See the job openings and seize the opportunity to be one of us."
type: "website"
image: "image/logo.svg"
menu:
main:
weight: 40
---

{{< career >}}
17 changes: 17 additions & 0 deletions content/company.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Company"
description: "We are Moneo. We cooperate and consolidate with you to establish future-proof digital products."
date: 2018-12-02T01:47:46+03:00
draft: false
header_class: "above-content white"
og:
title: "Company"
description: "We are Moneo. We cooperate and consolidate with you to establish future-proof digital products."
type: "website"
image: "image/logo.svg"
menu:
main:
weight: 10
---

{{< company >}}
17 changes: 17 additions & 0 deletions content/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Contact"
description: "Let us use our unique expertise and renowned talents for your product or business. Tell us briefly about your idea and we make sure to get back to you real soon."
date: 2018-12-02T01:47:46+03:00
draft: false
header_class: "above-content"
og:
title: "Contact"
description: "Let us use our unique expertise and renowned talents for your product or business. Tell us briefly about your idea and we make sure to get back to you real soon."
type: "website"
image: "image/logo.svg"
menu:
main:
weight: 50
---

{{< contact >}}
19 changes: 19 additions & 0 deletions content/events/phpkonf-istanbul-php-conference-2019.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "PHPKonf"
date: 2018-12-02T01:31:13+03:00
tags: []
featured_image: ""
description: ""
type: "event"
draft: false
event_date: 2019-05-04
location: "Kadir Has University"
host: "PHPKonf"
remote: true
redirect: "https://phpkonf.org"
og:
title: "PHPKonf"
description: "PHPKonf Istanbul PHP Conference 2019"
type: "event"
image: "image/logo.svg"
---
17 changes: 17 additions & 0 deletions content/services.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Services"
description: "We at Moneo, try hard to excel in teamwork, work hard set an example of respectability and play a crucial role in lifecycle of the products we focus on. Just select the niche your business targets and explore the services we provide."
date: 2018-12-02T01:47:46+03:00
draft: false
header_class: "above-content"
og:
title: "Services"
description: "We at Moneo, try hard to excel in teamwork, work hard set an example of respectability and play a crucial role in lifecycle of the products we focus on. Just select the niche your business targets and explore the services we provide."
type: "website"
image: "image/logo.svg"
menu:
main:
weight: 20
---

{{< services >}}
17 changes: 17 additions & 0 deletions content/technologies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Technologies"
description: "It’s no magic. If you research, read, apply and continue to learn as long as you work, your methodology grows with you. This enables your team to excel. That enables our customes’ project to thrive."
date: 2018-12-02T01:47:46+03:00
draft: false
header_class: "above-content white"
og:
title: "Technologies"
description: "It’s no magic. If you research, read, apply and continue to learn as long as you work, your methodology grows with you. This enables your team to excel. That enables our customes’ project to thrive."
type: "website"
image: "image/logo.svg"
menu:
main:
weight: 30
---

{{< technologies >}}
25 changes: 25 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

echo -e "\033[0;32mDeploying updates to GitHub...\033[0m"

# Build the project.
hugo # if using a theme, replace with `hugo -t <YOURTHEME>`

# Go To Public folder
cd public
# Add changes to git.
git add .

# Commit changes.
msg="rebuilding site `date`"
if [ $# -eq 1 ]
then msg="$1"
fi
git commit -m "$msg"

# Push source and build repos.
git push origin master

# Come Back up to the Project Root
cd ..

19 changes: 19 additions & 0 deletions themes/moneo/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

5 changes: 5 additions & 0 deletions themes/moneo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
.idea
/node_modules/*
*.lock
/static/assets
20 changes: 20 additions & 0 deletions themes/moneo/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2019 YOUR_NAME_HERE

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 2 additions & 0 deletions themes/moneo/archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
+++
+++
126 changes: 126 additions & 0 deletions themes/moneo/gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
var gulp = require('gulp');
var fs = require('fs');
var log = require('fancy-log');
var del = require('del');
var sass = require('gulp-sass');
var merge = require('merge-stream');
var cache = require('gulp-cache');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var imagemin = require('gulp-imagemin');
var browserSync = require('browser-sync').create();

const resource = 'resources';
const assets = 'static/assets';

gulp.task('clean:assets', function () {
return del([
'.dev.lock',
assets+'/vendor/**',
assets+'/icon/**',
assets+'/image/**',
assets+'/font/**',
assets+'/css/**',
assets+'/js/**',
]);
});

gulp.task('image', function(){
return gulp.src(resource+'/image/**/*.+(png|jpg|gif|svg)')
.pipe(cache(imagemin()))
.pipe(gulp.dest(assets+'/image'))
});

gulp.task('icon', function(){
return gulp.src(resource+'/icon/**/*.+(png|jpg|gif|svg)')
.pipe(cache(imagemin()))
.pipe(gulp.dest(assets+'/icon'))
});

gulp.task('sass', function() {
return gulp.src(resource+'/sass/**/*.scss')
.pipe(
sass({
outputStyle: 'compressed'
})
.on('error', sass.logError)
)
.pipe(gulp.dest(assets+'/css'))
.pipe(browserSync.stream({match: '**/*.css'}));
});

gulp.task('script', function() {
return gulp.src(resource+'/js/*.js')
.pipe(concat('app.js'))
.pipe(uglify())
.pipe(gulp.dest(assets+'/js'));
});

gulp.task('font', function () {
return gulp.src(resource+'/font/**/*')
.pipe(gulp.dest(assets+'/font'));
});

gulp.task('vendor', function() {
return merge(
// jQuery
gulp
.src([
'node_modules/jquery/dist/jquery.min.js',
'node_modules/owl.carousel/dist/owl.carousel.js',
])
.pipe(concat('vendor.js'))
.pipe(uglify())
.pipe(gulp.dest(assets+'/js')),

// bxSlider
gulp
.src([
'node_modules/bxslider/dist/jquery.bxslider.min.js',
'node_modules/bxslider/dist/jquery.bxslider.min.css'
])
.pipe(gulp.dest(assets+'/vendor/bxslider')),
gulp
.src('node_modules/bxslider/dist/images/**')
.pipe(gulp.dest(assets+'/vendor/bxslider/images'))
);
});

gulp.task('build',['clean:assets'], function () {
gulp.start(['sass','image','icon','script','vendor','font']);
});

gulp.task('serve', ['build'], function() {
fs.open('.dev.lock', 'w', function (err) { if (err) throw err;});

browserSync.init({
server: {
baseDir: "./public"
},
files: ['./public'],
reloadDelay: 100
});

gulp.watch(resource+'/sass/**/*.scss', ['sass']);
gulp.watch(resource+'/js/*.js', ['script']);
gulp.watch(resource+'/font/**', ['font']);
gulp.watch(resource+'/image/**', ['image']);
gulp.watch(resource+'/icon/**', ['icon']);
});

gulp.task('post-install', [], function(){
if(false === fs.existsSync('.dev.lock')){
gulp.start('serve');
} else {
log('⚠️ .dev.lock file exists, running dev server ignored.');
}
});

gulp.task('default', ['build']);

process.on('SIGINT', function() {
fs.unlinkSync('.dev.lock');
log('Bye bye');
log('🍻');
process.exit();
});
5 changes: 5 additions & 0 deletions themes/moneo/layouts/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ define "main" }}

404 yok

{{ end }}
Loading

0 comments on commit 010fee4

Please sign in to comment.