This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<!--dito ung css--> | |
<style> | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ContentVideo = ({ videoId, on }) => { | |
const player = useRef(); | |
useEffect(() => { | |
player.current = new YTPlayer('#' + videoId); | |
player.current.load(videoId); | |
}, []); | |
useEffect(() => { | |
if (!on) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Route::group(array('middleware' => 'forceSSL'), function () { | |
Route::get('/', 'HomePageController@index'); | |
Route::get('/login', 'HomeController@index'); | |
Route::get('login', 'Auth\LoginController@showLogin'); | |
Route::post('login', 'Auth\LoginController@authenticate'); | |
Route::group(['prefix' => 'opac', 'as' => 'opac::'], function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* -------------------------------------------------------------------------- | |
* HEADER | |
* -------------------------------------------------------------------------- | |
*/ | |
header {background:#242424; position: fixed; width: 100%; top: 0; height: 70px; z-index: 3; } | |
header .header-container {text-align: center; } | |
header .header-container .menu-search {float: left; text-align: left; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* -------------------------------------------------------------------------- | |
* SEARCH LABAS | |
* -------------------------------------------------------------------------- | |
*/ | |
var searchBtn = function(){ | |
$('.search-btn').click(function(e){ | |
e.preventDefault(); | |
$(this).siblings('.form-search').fadeToggle(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* -------------------------------------------------------------------------- | |
* SEARCH LABAS | |
* -------------------------------------------------------------------------- | |
*/ | |
var searchBtn = function(){ | |
$('.search-btn').click(function(e){ | |
e.preventDefault(); | |
$(this).siblings('.form-search').fadeToggle(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Define dependencies */ | |
var gulp = require('gulp'), | |
watch = require('gulp-watch'), | |
sass = require('gulp-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
browserSync = require('browser-sync').create(), | |
css = 'resources/css', | |
js = 'resources/js', | |
fonts = 'resources/fonts', | |
images = 'resources/images'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Define dependencies */ | |
var gulp = require('gulp'), | |
watch = require('gulp-watch'), | |
sass = require('gulp-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
browserSync = require('browser-sync').create(), | |
css = 'resources/css', | |
js = 'resources/js', | |
fonts = 'resources/fonts', | |
images = 'resources/images'; |