Skip to content

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


2phi logo
2phi.de

A modern website for the 2phi organization.


πŸš€ Getting Started

Prerequisites

  • LFTP (for deployment)

Development

# Open the website directly in your browser
open public/index.html

The website is a static HTML/CSS site with minimal JavaScript for mobile touch highlighting and caption display on touch devices.

🚒 Deployment

Setup

# Rename LFTP configuration template and edit with your FTP credentials
cp lftp.config.example lftp.config

Deploy

npm run deploy

πŸ“ Project Structure

2phi.de/
β”œβ”€β”€ public/                    # Web files
β”‚   β”œβ”€β”€ css/                   # Modularized stylesheets
β”‚   β”œβ”€β”€ assets/                # Images, logos, favicons, and author portraits
β”‚   β”‚   β”œβ”€β”€ favicon/           # Favicon images, .htaccess, and manifest assets
β”‚   β”‚   β”œβ”€β”€ logos/             # Logos of partner institutions and projects
β”‚   β”‚   └── portraits/         # Author/people images for the website
β”‚   β”œβ”€β”€ site.webmanifest       # Web app manifest (at root for best compatibility)
β”‚   └── index.html             # Main page
β”œβ”€β”€ favicon/                   # Source and export files for favicons
β”œβ”€β”€ deploy.sh                  # Deployment script
β”œβ”€β”€ lftp.config.example        # FTP config template
└── package.json               # Node.js configuration

πŸ–ΌοΈ Favicon & Manifest Management

Favicons are managed according to this guide and generated using RealFaviconGenerator.

Displaying the favicons requires

  • that files and directories in public/assets/favicon/ are readable (permissions 755 for directories, 644 for files),
  • and that there is a .htaccess file in public/assets/favicon/ configured accordingly. This allows Apache to serve favicon files correctly.

πŸ‘₯ Authors

  • Dr.-Ing. Philipp Rosendahl - Center of Snow and Avalanche Research, TU Darmstadt
  • Prof. Dr.-Ing. Philipp Weißgraeber - Chair of Lightweight Design, University of Rostock

πŸ”— Links

About

Static HTML/CSS contents for 2phi.de

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages