home
login
Landing page of sorcia.
summary browse commits releases contributors
1be4fcf166deadc78c47efb1028581b59cd28b0e
4 weeks ago
Nirmal Almara
update links and modify the content
5 files changed, 42 insertions(+), 48 deletions(-)
@@ -1,32 +1,30 @@

-const gulp = require('gulp');

-const sass = require('gulp-sass');

-const autoprefixer = require('gulp-autoprefixer');

-const minifyCSS = require("gulp-clean-css");

-const rename = require("gulp-rename");

+'use strict';

+

+var gulp = require('gulp');

+var sass = require('gulp-sass');

+var rename = require('gulp-rename');

+

+sass.compiler = require('node-sass');

var paths = {

- style: {

- src: 'public/scss/style.scss',

- all: 'public/scss/**/**/*.scss',

- dest: 'public/css/'

- }

+ style: {

+ src: 'public/scss/style.scss',

+ all: 'public/scss/**/**/*.scss',

+ dest: 'public/css/',

+ },

}

-

-function style() {

- return gulp.src(paths.style.src)

- .pipe(sass().on('error', sass.logError))

- .pipe(autoprefixer({

- browsers: ['last 2 versions'],

- cascade: false

- }))

- .pipe(minifyCSS())

+

+gulp.task('sass', function () {

+ return gulp.src(paths.style.src)

+ .pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))

.pipe(rename('style.min.css'))

.pipe(gulp.dest(paths.style.dest));

-}

+});

-function watch() {

- gulp.watch(paths.style.all, style);

-}

+gulp.task('default', gulp.series('sass'));

-gulp.task('default', gulp.series(watch));

-gulp.task('style', style);

\ No newline at end of file

+gulp.task('watch', () => {

+ gulp.watch(paths.style.src, (done) => {

+ gulp.series(['sass'])(done);

+ });

+});

@@ -5,7 +5,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<link rel="icon" href="/public/img/favicon.ico">

- <title>sorcia - Self-hosted web frontend for Git repositories</title>

+ <title>sorcia - Self-hosted software development platform with Git VCS</title>

<link href="/public/css/style.min.css" rel="stylesheet">

</head>

<body>

@@ -14,25 +14,25 @@

<a href="/" class="header__logo"></a>

</div>

<div class="header__right">

- <a href="https://cmdity.org/r/cmdity" class="button button--primary">Installation</a>

+ <a href="https://git.nirm.al/r/sorcia" class="button button--primary">Installation</a>

</div>

<!-- <div class="header__right">

<a href="/dl">downloads</a>

<a href="/#faq">faq</a>

<a href="/features">features & screenshots</a>

- <a href="https://git.mysticmode.org/r/sorcia" class="button button--primary">Installation</a>

+ <a href="https://git.nirm.al/r/sorcia" class="button button--primary">Installation</a>

</div> -->

</header>

<main class="container">

<div class="container__banner">

- <div class="container__banner__title">Sorcia is a self-hosted web frontend for Git repositories. Written in Go.</div>

- <div class="container__banner__license">License information can be found in the <a href="https://git.mysticmode.org/r/sorcia">README</a> section.</div>

- <!-- <a href="https://git.mysticmode.org" class="container__banner__product-image">

+ <div class="container__banner__title">Sorcia is a self-hosted software development platform with Git VCS. Written in Go.</div>

+ <div class="container__banner__license">License: <a href="https://git.nirm.al/r/sorcia/tree/master/LICENSE">MIT License</a>.</div>

+ <!-- <a href="https://git.nirm.al" class="container__banner__product-image">

<img src="/uploads/default/S1.png" width="100%" />

</a> -->

<div class="container__banner__info">

<strong>NOTE:</strong> This project is in alpha and under active development, so keep a backup of your repository. That said, sorcia repository is hosted on sorcia itself.

- <a href="https://git.mysticmode.org/r/sorcia">You can install by following the README secion</a>.

+ <a href="https://git.nirm.al/r/sorcia">You can install by following the README secion</a>.

</div>

</div>

<div class="container__faq" id="faq">

@@ -67,11 +67,11 @@

</div>

<div class="container__faq__item">

<div class="container__faq__q">Does it have source code highlight?</div>

- <div class="container__faq__a">Yes, Sorcia is using highlight.js and highlightjs-line-numbers.js in order to show the source code highlighted with line numbers - <a href="https://git.mysticmode.org/r/sorcia/tree/master/sorcia.go">https://git.mysticmode.org/r/sorcia/tree/master/sorcia.go</a></div>

+ <div class="container__faq__a">Yes, Sorcia is using highlight.js and highlightjs-line-numbers.js in order to show the source code highlighted with line numbers - <a href="https://git.nirm.al/r/sorcia/tree/master/sorcia.go">https://git.nirm.al/r/sorcia/tree/master/sorcia.go</a></div>

</div>

<div class="container__faq__item">

<div class="container__faq__q">Can I select a single or multiple source code lines and share the URL with others?</div>

- <div class="container__faq__a">Yes, you can do that - <a href="https://git.mysticmode.org/r/sorcia/tree/master/sorcia.go#L12-L15">https://git.mysticmode.org/r/sorcia/tree/master/sorcia.go#L12-L15</a></div>

+ <div class="container__faq__a">Yes, you can do that - <a href="https://git.nirm.al/r/sorcia/tree/master/sorcia.go#L12-L15">https://git.nirm.al/r/sorcia/tree/master/sorcia.go#L12-L15</a></div>

</div>

<div class="container__faq__item">

<div class="container__faq__q">Does it have multiple themes, like dark mode?!</div>

@@ -92,7 +92,7 @@

</div>

</main>

<footer class="footer">

- Built by <a href="https://fosstodon.org/@nirmal">someone</a> who likes writing softwares and get satisfied if others find it useful.

+ Built by <a href="https://nirm.al">someone</a> who cares.

</footer>

</body>

</html>

@@ -1,18 +1,15 @@

{

"name": "sorcia",

- "version": "0.1.0",

+ "version": "1.0.0",

"private": true,

"devDependencies": {

- "gulp": "^4.0.0",

- "gulp-autoprefixer": "^5.0.0",

- "gulp-clean-css": "^4.2.0",

- "gulp-rename": "^1.4.0",

- "gulp-sass": "^4.0.1",

- "http-server": "^0.12.1"

+ "gulp": "^4.0.2",

+ "gulp-rename": "^2.0.0",

+ "gulp-sass": "^4.1.0",

+ "node-sass": "^4.14.1"

},

"scripts": {

- "start": "http-server .",

- "gulp-watch": "gulp",

- "gulp-style": "gulp style"

+ "gulp": "gulp",

+ "gulp-watch": "gulp watch"

}

}

@@ -1 +1 @@

-*{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}body{width:860px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"DejaVu Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;color:#333}a{text-decoration:none;color:#2680a4;outline:0}a:hover{color:#185066}p{line-height:20px;word-wrap:break-word}ul{list-style:none}.button{background:#2680a4;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"DejaVu Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";color:#fff!important;border:none;padding:7px 10px;cursor:pointer;outline:0}.button:hover{background:#1c607b;color:#fff!important}pre{display:inline;overflow-x:auto;background:#edf0f2}pre code{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:14px}pre code table,pre code tbody,pre code tr{width:100%}pre code tr{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}pre code .hljs-ln-numbers{display:inline-block;width:20px;font-size:12px;color:#8d8d8d;text-align:right;margin-right:20px;cursor:pointer}pre code .hljs-ln-numbers:hover .hljs-ln-line.hljs-ln-n{color:#333}.container{margin:30px 0;min-height:calc(100vh - 150px)}.container__downloads__title{font-weight:700;margin-bottom:20px}.container__downloads__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#edf0f2;padding:10px}.container__downloads__item a:last-child{margin-left:30px}.container__banner__title{text-align:center;font-weight:700}.container__banner__license{text-align:center;margin-top:10px;font-size:12px}.container__banner__product-image{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:20px}.container__banner__product-image img{display:block;border:4px solid #e0e4e7}.container__banner__info{margin-top:20px;padding:10px;background:#edf0f2;line-height:20px}.container__faq{margin-top:50px}.container__faq__title{text-align:center;font-weight:700;margin-bottom:20px}.container__faq__item{margin-bottom:30px}.container__faq__q{font-weight:700;margin-bottom:7px;line-height:22px}.container__faq__a{line-height:22px}.container__features img{display:block;border:4px solid #e0e4e7}.container__tabs{margin:50px auto}.container__tabs__title{font-weight:700;text-align:center;margin-bottom:10px}.container__tabs div:nth-child(2){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.container__tabs a{padding:10px;background:#edf0f2;border-right:1px solid #e0e4e7;color:#333}.container__tabs a:hover{color:#333;background:#c1cbd2}.container__tabs a:last-child{margin-right:0;border-right:none}.container__tabs a.active{background:#c1cbd2}.features__item{margin-bottom:40px}.features__item p{display:block;background:#e0e4e7;text-align:center;padding:10px}.header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;height:30px;margin-top:15px}.header__left{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header__logo{width:81px;height:18px;background-image:url(/public/img/sorcia.svg);margin-right:40px}.header__right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#333}.header__right a{text-decoration:none;color:#333;margin-right:20px}.header__right a:last-child{margin-right:0}.footer{width:100%;background:#fff;border-top:1px solid #e0e4e7;text-align:center;padding:10px 0}

\ No newline at end of file

+*{margin:0;padding:0;box-sizing:border-box}body{width:860px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"DejaVu Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;color:#333333}a{text-decoration:none;color:#2680a4;outline:none}a:hover{color:#185066}p{line-height:20px;word-wrap:break-word}ul{list-style:none}.button{background:#2680a4;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"DejaVu Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";color:white !important;border:none;padding:7px 10px;cursor:pointer;outline:none}.button:hover{background:#1c607b;color:white !important}pre{display:inline;overflow-x:auto;background:#edf0f2}pre code{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:14px}pre code table,pre code tbody,pre code tr{width:100%}pre code tr{display:flex;align-items:center}pre code .hljs-ln-numbers{display:inline-block;width:20px;font-size:12px;color:#8d8d8d;text-align:right;margin-right:20px;cursor:pointer}pre code .hljs-ln-numbers:hover .hljs-ln-line.hljs-ln-n{color:#333}.container{margin:30px 0;min-height:calc(100vh - 150px)}.container__downloads__title{font-weight:bold;margin-bottom:20px}.container__downloads__item{display:flex;align-items:center;background:#edf0f2;padding:10px}.container__downloads__item a:last-child{margin-left:30px}.container__banner__title{text-align:center;font-weight:700}.container__banner__license{text-align:center;margin-top:10px}.container__banner__product-image{display:flex;justify-content:center;margin-top:20px}.container__banner__product-image img{display:block;border:4px solid #e0e4e7}.container__banner__info{margin-top:20px;padding:10px;background:#edf0f2;line-height:20px}.container__faq{margin-top:50px}.container__faq__title{text-align:center;font-weight:700;margin-bottom:20px}.container__faq__item{margin-bottom:30px}.container__faq__q{font-weight:700;margin-bottom:7px;line-height:22px}.container__faq__a{line-height:22px}.container__features img{display:block;border:4px solid #e0e4e7}.container__tabs{margin:50px auto}.container__tabs__title{font-weight:bold;text-align:center;margin-bottom:10px}.container__tabs div:nth-child(2){display:flex;align-items:center;justify-content:center}.container__tabs a{padding:10px;background:#edf0f2;border-right:1px solid #e0e4e7;color:#333}.container__tabs a:hover{color:#333;background:#c1cbd2}.container__tabs a:last-child{margin-right:0;border-right:none}.container__tabs a.active{background:#c1cbd2}.features__item{margin-bottom:40px}.features__item p{display:block;background:#e0e4e7;text-align:center;padding:10px}.header{display:flex;align-items:center;justify-content:space-between;width:100%;height:30px;margin-top:15px}.header__left{display:flex;align-items:center}.header__logo{width:81px;height:18px;background-image:url("/public/img/sorcia.svg");margin-right:40px}.header__right{display:flex;align-items:center;color:#333}.header__right a{text-decoration:none;color:#333;margin-right:20px}.header__right a:last-child{margin-right:0}.footer{width:100%;background:white;border-top:1px solid #e0e4e7;text-align:center;padding:10px 0}

@@ -115,7 +115,6 @@ pre {

&__license {

text-align: center;

margin-top: 10px;

- font-size: 12px;

}

&__product-image {

@@ -265,4 +264,4 @@ pre {

border-top: 1px solid $brand-border;

text-align: center;

padding: 10px 0;

-}

\ No newline at end of file

+}