Skip to content

Commit

Permalink
Merge pull request #72 from IQEngine/chadp/site
Browse files Browse the repository at this point in the history
Chadp/site
  • Loading branch information
chadp777 authored Sep 15, 2023
2 parents a2e0276 + 31fd200 commit 0c9ec03
Show file tree
Hide file tree
Showing 26 changed files with 64 additions and 21 deletions.
19 changes: 19 additions & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,29 @@ server {
root /usr/share/nginx/html;
index index.html;

charset utf-8;

location / {
add_header Content-Type "application/html";
try_files $uri $uri/ /index.html;
}

location ~* \.(css|js|svg|png|bmp|jpeg|jpg|ico)$ {
expires 30d;
add_header Cache-Control "public, max-age=2592000";
add_header X-Content-Type-Options "nosniff";
}

location = /sitemap.xml {
add_header Content-Type "application/xml";
try_files $uri /index.html;
}

location = /robots.txt {
add_header Content-Type "text/plain";
try_files $uri /index.html;
}

error_page 404 /index.html;

location = /40x.html {
Expand Down
40 changes: 32 additions & 8 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,45 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="canonical" href="https://webfft.com" />
<meta
http-equiv="Content-Security-Policy"
content="upgrade-insecure-requests"
/>
<meta http-equiv="Cross-Origin-Embedder-Policy" content="require-corp" />
<meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="dns-prefetch" href="https://fonts.googleapis.com" />
<link rel="dns-prefetch" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap"
rel="stylesheet"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/src/assets/favicons/apple-touch-icon.png"
href="/assets/favicons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/src/assets/favicons/favicon-32x32.png"
href="/assets/favicons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/src/assets/favicons/favicon-16x16.png"
href="/assets/favicons/favicon-16x16.png"
/>
<link rel="manifest" href="/src/assets/favicons/site.webmanifest" />
<link rel="manifest" href="/assets/favicons/site.webmanifest" />
<link
rel="mask-icon"
href="/src/assets/favicons/safari-pinned-tab.svg"
href="/assets/favicons/safari-pinned-tab.svg"
color="#5bbad5"
/>
<link rel="shortcut icon" href="/src/assets/favicons/favicon.ico" />
<link rel="shortcut icon" href="/assets/favicons/favicon.ico" />
<meta
name="description"
content="WebFFT is the a meta-library leveraging new WebSIMD technology to optimize FFT processes on the web dynamically. Optimized for speed, WebFFT always selects the best FFT algorithm for you based on your browser, OS, and whether SIMD is available."
Expand All @@ -48,13 +59,26 @@
/>
<meta
property="og:image"
content="https://raw.githubusercontent.com/IQEngine/WebFFT/main/site/src/assets/wavelet.png"
content="https://raw.githubusercontent.com/IQEngine/WebFFT/main/site/public/assets/wavelet.png"
/>
<meta property="og:url" content="https://webfft.com" />
<meta name="twitter:card" content="summary" />
<meta
name="twitter:title"
content="WebFFT - The Pioneering Meta-Library for Optimized FFT Processes"
/>
<meta
name="twitter:description"
content="Discover WebFFT, the first-ever meta-library utilizing WebSIMD tech for the fastest FFT processes, stepping in where maintained web FFT libraries are lacking."
/>
<meta
name="twitter:image"
content="https://raw.githubusercontent.com/IQEngine/WebFFT/main/site/public/assets/wavelet.png"
/>
<meta name="msapplication-TileColor" content="#da532c" />
<meta
name="msapplication-config"
content="/src/assets/favicons/browserconfig.xml"
content="/assets/favicons/browserconfig.xml"
/>
<meta name="theme-color" content="#333333" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/src/assets/favicons/mstile-150x150.png"/>
<square150x150logo src="/assets/favicons/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"short_name": "",
"icons": [
{
"src": "/src/assets/favicons/android-chrome-192x192.png",
"src": "/assets/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/src/assets/favicons/android-chrome-512x512.png",
"src": "/assets/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
16 changes: 8 additions & 8 deletions site/src/components/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function About() {
<br></br>
<div className="flex">
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/777arc">
<a href="https://github.com/777arc" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/777arc.png"
Expand All @@ -33,7 +33,7 @@ function About() {
</a>
</div>
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/lmiguelgato">
<a href="https://github.com/lmiguelgato" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/lmiguelgato.png"
Expand All @@ -43,7 +43,7 @@ function About() {
</a>
</div>
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/chadp777">
<a href="https://github.com/chadp777" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/chadp777.png"
Expand All @@ -53,7 +53,7 @@ function About() {
</a>
</div>
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/mcontractor12">
<a href="https://github.com/mcontractor12" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/mcontractor12.png"
Expand All @@ -63,7 +63,7 @@ function About() {
</a>
</div>
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/faikwokms">
<a href="https://github.com/faikwokms" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/faikwokms.png"
Expand All @@ -73,7 +73,7 @@ function About() {
</a>
</div>
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/10sae">
<a href="https://github.com/10sae" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/10sae.png"
Expand All @@ -83,7 +83,7 @@ function About() {
</a>
</div>
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/robotastic">
<a href="https://github.com/robotastic" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/robotastic.png"
Expand All @@ -93,7 +93,7 @@ function About() {
</a>
</div>
<div className="flex flex-col items-center mx-auto">
<a href="https://github.com/Nepomuceno">
<a href="https://github.com/Nepomuceno" target="_blank">
<img
className="rounded-3xl w-16"
src="https://github.com/Nepomuceno.png"
Expand Down
4 changes: 2 additions & 2 deletions site/src/components/LinksSection.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import GitHubMark from "../assets/github-mark/github-mark-white.svg";
import NpmLogo from "../assets/npm-logo-red.svg";
import GitHubMark from "/assets/github-mark/github-mark-white.svg";
import NpmLogo from "/assets/npm-logo-red.svg";
import { Link } from "react-router-dom";

function LinksSection() {
Expand Down

0 comments on commit 0c9ec03

Please sign in to comment.