All Projects → yanym → Cornell Club

yanym / Cornell Club

A beautiful and responsive template for club website template built by React

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cornell Club

Quack
In-Cluster templating for Kubernetes manifests
Stars: ✭ 69 (-38.94%)
Mutual labels:  templates
Microgen
♻️ micro-generator for individual files, easy like sunday morning 🌅
Stars: ✭ 85 (-24.78%)
Mutual labels:  templates
Azure Quickstart Templates
Azure Quickstart Templates
Stars: ✭ 11,138 (+9756.64%)
Mutual labels:  templates
Staradmin Free Bootstrap Admin Template
A Free Responsive Admin Dashboard Template Built With Bootstrap 4. Elegant UI Theme for Your Web App!
Stars: ✭ 1,191 (+953.98%)
Mutual labels:  templates
Eleventy
A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.
Stars: ✭ 10,867 (+9516.81%)
Mutual labels:  templates
Templates
YML templates
Stars: ✭ 100 (-11.5%)
Mutual labels:  templates
Gena
Generic pseudo-templated containers for C. Written entirely in C89 with design inspired by the C++ STL. /// DOCS ARE SLIGHTLY OUTDATED, PROJECT IS STABLE AND STILL IN ACTIVE DEVELOPMENT
Stars: ✭ 61 (-46.02%)
Mutual labels:  templates
About Int
Meet the Interactive News Technology (INT) desk at The New York Times
Stars: ✭ 112 (-0.88%)
Mutual labels:  templates
P32929.github.io
Second iteration of my portfolio - created using ReactJS, Material-UI, Overmind, etc
Stars: ✭ 84 (-25.66%)
Mutual labels:  templates
Awesome Stock Resources
🌇 A collection of links for free stock photography, video and Illustration websites
Stars: ✭ 10,162 (+8892.92%)
Mutual labels:  templates
Plates
Native PHP template system
Stars: ✭ 1,195 (+957.52%)
Mutual labels:  templates
Benchpressjs
ultralight javascript templating framework
Stars: ✭ 82 (-27.43%)
Mutual labels:  templates
Cardview
Material Design Cards ? How cool is that !
Stars: ✭ 101 (-10.62%)
Mutual labels:  templates
Tufte Latex
A Tufte-inspired LaTeX class for producing handouts, papers, and books
Stars: ✭ 1,161 (+927.43%)
Mutual labels:  templates
Web Mode
web template editing mode for emacs
Stars: ✭ 1,470 (+1200.88%)
Mutual labels:  templates
Awesome Readme
A guide to writing an Awesome README. Read the full article in Towards Data Science.
Stars: ✭ 65 (-42.48%)
Mutual labels:  templates
Kubeformation
Create declarative cluster specifications for your managed Kubernetes vendor (GKE, AKS)
Stars: ✭ 86 (-23.89%)
Mutual labels:  templates
Preview Email
Automatically opens your browser to preview Node.js email messages sent with Nodemailer. Made for Lad!
Stars: ✭ 112 (-0.88%)
Mutual labels:  templates
Staradmin Free Angular Admin Template
Star Admin Angular Admin is a free admin template based on Bootstrap 4 and Angular
Stars: ✭ 112 (-0.88%)
Mutual labels:  templates
Play2 Html5tags
HTML5 form tags module for Play Framework
Stars: ✭ 101 (-10.62%)
Mutual labels:  templates

Update for an alternative displaying style

Portfolio.js and PastPortfolio.js provide one way for you to display the data which you can check the demos at the buttom of the README.md, denoted as 'Style-1'.
NewPortfolio.js and NewPastPortfolio.js provide the other way for displaying which you can check 'Style-2' at Demo section.

How to switch styles?

Open App.js and comment or uncomment these two components.

Tech Stack

How to use?

Dev Env

  1. git clone.
  2. Run npm install.
  3. Run npm start . Local server runs on Port 3000
  4. src/webData.js provides some API which can be loaded into pages. Not all data are included in it. TBD someday MAYBE.

Product Env

  1. Run npm run build.
  2. You can see some in the console.
    The build folder is ready to be deployed.
    You may serve it with a static server:
npm install -g serve 
serve -s build 

You can see the web app generated then.
3. If everything goes right, you can deploy it on a server with Nginx or Apache.

Before step 4, make sure that you have some knowledge of Nginx.
4. Take Nginx as an example. Create a configuration file. Here gives a example configuration file. You can configure more function such as load balance for the web app.

user root;

events {
	worker_connections 1024; # Default setting
}

http {
	gzip on;
	
	# No gzip IE6
	gzip_disable "msie6";
	
	# Set up if Nginx is used for reverse proxy
	# gzip_proxied any;
	
	# from 1-9. Bigger, Better. But use CPU
	gzip_comp_level 5;
	
	# Minimum file size which will be compressed.
	gzip_min_length 1k;
	
	# Set up the system to get a few units of cache for storing GZip's compressed result data stream. 16 8k represents 16 times the application memory in 8k units with the original data size installed in 8k units.
	gzip_buffers 16 8k;
	
	# Identify http version 
	gzip_http_version 1.1;
	
	# Set which kinds will be compressed.
	gzip_types text/plain text/css application/json application/x-javascript text/javascript text/xml application/xml application/xml+rss image/jpeg image/gif image/png;


	include /etc/nginx/mime.types; # Important

	server {
		listen 80;
		server_name localhost;
		root /root/React-build;
		index index.html;
		
		location ~.*\.css {
			add_header Content-Type text/css;
		}
		
		location ~* ^.+\.(ico|gif|jpg|jpeg|png)$ { 
			access_log off; 
			expires 7d;
		}

		location ~* ^.+\.(css|js|txt|xml)$ {
			access_log off;
			expires 24h;
		}
		
		# Open no-cache mode if you encounter some problem, which will reduce loading speed.
		# location ~.*\.(js|css|html|png|jpg)$ {
		# 	add_header Cache-Control no-cache;
		# }

		location @fallback {
			 rewrite .* /index.html break;
		}
	}
}
  1. Run this .conf then you can visit.
    nginx -c /etc/nginx/vhost/example.conf # We always make a vhost directory in nginx to store our .conf.
    If you want to stop it, first check the parent PID.
    ps aux|grep nginx
    Then stop it.
    kill -QUIT [PPID]

Compress your images

Large images will reduce loading speed.
Try a Unique Powerful JavaScript algorithm to reduce image size by up to 90% without compromising quality.

Demo-Style1

PC

img

Iphone X

img

IPad

img

IPad Pro

img

Demo-Style2

PC

img

Iphone X

img

IPad and Ipad Pro

img

Some Notes

  • The project remove _openClick from magnific-popup.js. If you want to use popup when you click the portfolio project, please undo the comment of _openClick function and use href='modal-xx' (Eg. href='modal-01') href in Portfolio and PastPortfolio. Also, the magnific-popup.js is not compressed, which means affects a little bit loading performance.
  • You may see that 'Words' section is hidden in mobile device due to bad compatibility. You can show that by edit index.css file.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].