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

Update the website #41

Merged
merged 4 commits into from
May 4, 2020
Merged
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
28 changes: 18 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const gulp = require('gulp'),
inject = require('gulp-inject-string'),
browsersync = require('browser-sync').create()

const helpers = require('handlebars-helpers')();

function browserSync(done) {
browsersync.init({
server: {
Expand All @@ -27,16 +29,15 @@ function md() {
.pipe(inject.prepend(`
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SymbiFlow - the GCC of FPGAs</title>
<link rel="stylesheet" href="assets/css/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.1/tiny-slider.css">
</head>

<body class="article">
`))
.pipe(inject.append(`
Expand Down Expand Up @@ -82,9 +83,9 @@ function imagesMove() {
.pipe(browsersync.stream())
}

function css() {
function scss() {
return gulp
.src('./source/assets/scss/main.scss')
.src('./source/assets/scss/*.scss')
.pipe(sass({
outputStyle: 'compressed'
}))
Expand All @@ -93,6 +94,12 @@ function css() {
.pipe(browsersync.stream())
}

function css() {
return gulp
.src('./source/assets/css/*.css')
.pipe(gulp.dest('./build/assets/css/'))
}

function scripts() {
return gulp
.src('./source/assets/js/**/*.js')
Expand All @@ -107,7 +114,7 @@ function scripts() {
function handlebars() {
delete require.cache[require.resolve('./source/assets/data/data.json')]
return gulp
.src('./source/index.hbs')
.src('./source/*.hbs')
.pipe(hb('html', {
context: require('./source/assets/data/data.json')
}))
Expand All @@ -118,9 +125,10 @@ function handlebars() {

function watchFiles() {
gulp.watch('./source/assets/fonts/**/*', fonts)
gulp.watch('./source/assets/scss/**/*', css)
gulp.watch('./source/assets/scss/**/*', scss)
gulp.watch('./source/assets/css/**/*', css)
gulp.watch('./source/assets/js/**/*', scripts)
gulp.watch(['./source/index.hbs', './source/assets/data/data.json'], handlebars)
gulp.watch(['./source/*.hbs', './source/assets/data/data.json'], handlebars)
gulp.watch('./source/assets/img/**/*', images)
gulp.watch('./source/md/**/*.md', md)
}
Expand All @@ -131,12 +139,12 @@ function fonts() {
.pipe(gulp.dest('./build/assets/fonts'))
}

const build = gulp.parallel(css, scripts, images, fonts, handlebars, md, () => {
const build = gulp.parallel(scss, css, scripts, images, fonts, handlebars, md, () => {
return gulp
.src('./source/**/*.html')
.pipe(gulp.dest('./build'))
}),
watch = gulp.series(gulp.parallel(css, scripts, imagesMove, fonts, handlebars), gulp.parallel(watchFiles, browserSync))
watch = gulp.series(gulp.parallel(scss, css, scripts, imagesMove, fonts, handlebars), gulp.parallel(watchFiles, browserSync))

exports.build = build
exports.watch = watch
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@
"gulp-sass": "^4.0.2",
"gulp-uglify": "^3.0.1"
},
"dependencies": {}
"dependencies": {
"handlebars-helpers": "^0.10.0"
}
}
1 change: 1 addition & 0 deletions source/assets/css/glide.core.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions source/assets/css/glide.theme.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 67 additions & 7 deletions source/assets/data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
"image": "basys.png",
"url": "https://store.digilentinc.com/basys-3-artix-7-fpga-trainer-board-recommended-for-introductory-users/"
},
{
"name": "QuickFeather Development Kit",
"FPGA": "EOS-S3",
"image": "quickfeather.png",
"url": "https://www.quicklogic.com/products/eos-s3/quickfeather-development-kit/"
},
{
"name": "Digilent Zybo Z7",
"FPGA": "XC7Z010",
Expand All @@ -33,28 +39,82 @@
{
"name": "ULX3S",
"FPGA": "LFE5U-12F/-25F/-45F/-85F",
"image": "ulx3s.jpg",
"image": "ulx3s.png",
"url": "http://radiona.org/new-fpga-board-ulx3s/"
},
{
"name": "TinyFPGA Ex",
"FPGA": "LFE5U-85F/LFE5UM5G-85F",
"image": "tinyfpga_ex.jpg",
"url": "https://www.crowdsupply.com/tinyfpga/tinyfpga-ex"
},
{
"name": "iCE40-HX8K Breakout Board",
"FPGA": "ICE40HX8K-B-EVN",
"image": "breakout.png",
"url": "https://www.latticesemi.com/Products/DevelopmentBoardsAndKits/iCE40HX8KBreakoutBoard.aspx"
},
{
"name": "iCEblink40LP1K Evaluation Kit",
"FPGA": "ICE40LP1K-BLINK-EVN",
"image": "iceblink.png",
"url": "http://www.latticesemi.com/iCEblink40-LP1K"
},
{
"name": "iCEstick Evaluation Kit",
"FPGA": "ICE40HX1K-STICK-EVN",
"image": "icestick.png",
"url": "https://www.latticesemi.com/icestick"
},
{
"name": "Digilent Nexys Video Artix-7 FPGA",
"FPGA": "XC7A200T-1SBG484C",
"image": "nexys-video.png",
"url": "https://store.digilentinc.com/nexys-video-artix-7-fpga-trainer-board-for-multimedia-applications/"
},
{
"name": "DPControl iCEVision Board",
"FPGA": "iCE40UP5K",
"image": "icevision.png",
"url": "https://www.latticesemi.com/en/Products/DevelopmentBoardsAndKits/DPControliCEVision"
}
],
"talks": [
{
"title": "SymbiFlow talk at ORCONF 2018",
"url": "https://orconf.org/2018/#symbiflow"
"title": "Xilinx Series 7 fully open source toolchain!",
"details": "Tim Ansell | Hackday 2019",
"image": "symbiflow_hackaday2019.png",
"url": "https://youtu.be/EHePto95qoE"
},
{
"title": "VPR device models from Verilog with V2X",
"details": "Karol Gugala | ORConf 2019",
"image": "v2x_orconf2019.png",
"url": "https://youtu.be/a31vH_tZLBM"
},
{
"title": "Xilinx Artix 7 support in SymbiFlow",
"details": "Tim Ansell | ORConf 2019",
"image": "symbiflow_orconf2019.png",
"url": "https://youtu.be/V7jdYMOC9VM"
},
{
"title": "Improving VPR I/O",
"details": "Fahrican Koşar | ORConf 2019",
"image": "vpr_orconf2019.png",
"url": "https://youtu.be/6chMfGZy3NQ"
},
{
"title": "nextpnr talk at ORCONF 2018",
"url": "https://orconf.org/2018/#symbioticeda"
"title": "An update on SymbiFlow",
"details": "Tim Ansell | ORConf 2018",
"image": "symbiflow_orconf2018.png",
"url": "https://youtu.be/CI1lpbt2Hz8"
},
{
"title": "Project Trellis talk at ORCONF 2018",
"url": "https://orconf.org/2018/#trellis"
"title": "The nextpnr FOSS FPGA place-and-route tool",
"details": "Clifford Wolf | ORConf 2018",
"image": "nextpnr_orconf2018.png",
"url": "https://youtu.be/XbwrOff59ck"
}
]
}
56 changes: 55 additions & 1 deletion source/assets/img/EDA.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/assets/img/arty.png
Binary file not shown.
Binary file removed source/assets/img/board.png
Binary file not shown.
Binary file added source/assets/img/boards/arty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added source/assets/img/boards/breakout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/iceblink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/icestick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/icevision.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/netv2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/nexys-video.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/quickfeather.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/ulx3s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/versa5g.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/boards/zybo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions source/assets/img/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/icons_community.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/icons_interchangeable_tools.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/icons_learn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/icons_multi_platform.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/icons_os_free.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/img/icons_vendor_neutral.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/assets/img/netv2.png
Binary file not shown.
20 changes: 20 additions & 0 deletions source/assets/img/news_github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions source/assets/img/news_twitter.svg
75 changes: 74 additions & 1 deletion source/assets/img/parts.svg

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions source/assets/img/play_btn.svg
79 changes: 79 additions & 0 deletions source/assets/img/status.svg

Large diffs are not rendered by default.

Binary file added source/assets/img/talks/nextpnr_orconf2018.png
Binary file added source/assets/img/talks/symbiflow_orconf2018.png
Binary file added source/assets/img/talks/symbiflow_orconf2019.png
Binary file added source/assets/img/talks/v2x_orconf2019.png
Binary file added source/assets/img/talks/vpr_orconf2019.png
Binary file removed source/assets/img/ulx3s.jpg
Diff not rendered.
Binary file removed source/assets/img/versa5g.png
Diff not rendered.
Binary file removed source/assets/img/zybo.png
Diff not rendered.
Loading