Skip to content
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
26 changes: 19 additions & 7 deletions components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,30 @@ export default function Navbar({
navigationLinks,
navigationHrefs,
cta,
logoSrc,
session,
}) {
const [first, last] = [entityTitle?.slice(0, 1), entityTitle?.slice(1)];

return (
<nav className="flex justify-between items-center py-8">
<a className="text-gray-700 text-2xl leading-none" href="#">
<img
className="h-16"
src="https://res.cloudinary.com/tincre/image/upload/v1638892843/tincre.com/tincre-brand-indigo-800_uatfej.svg"
alt={`The ${entityTitle} logo`}
width="auto"
height="4rem"
/>
{!!logoSrc ? (
<img
className="h-16"
src={logoSrc}
alt={`The ${entityTitle} logo`}
width="auto"
height="4rem"
/>
) : (
<div className="inline">
<h1 className="font-extrabold tracking-wide text-indigo-700 text-5xl">
{first}
<span className="font-bold text-3xl">{last}</span>
</h1>
</div>
)}
</a>
<div className="lg:hidden">
<button className="block navbar-burger text-indigo-500 hover:text-indigo-500 focus:outline-none">
Expand Down
2 changes: 2 additions & 0 deletions components/Sections/NavigationHero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default function NavigationHero({
navigationLinks,
navigationHrefs,
cta,
logoSrc,
session,
}) {
return (
Expand All @@ -17,6 +18,7 @@ export default function NavigationHero({
navigationLinks={navigationLinks}
navigationHrefs={navigationHrefs}
cta={cta}
logoSrc={logoSrc}
session={session}
/>
<Hero
Expand Down
54 changes: 43 additions & 11 deletions pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { routeSeoContent } from "../siteMetadata.js";
import localforage from "localforage";
import { NextSeo } from "next-seo";
import useSwr, { mutate } from "swr";
import Head from "next/head";
import Footer from "../components/Footer";
import NavigationHero from "../components/Sections/NavigationHero";
import WhyInvest from "../components/Sections/WhyInvest";
Expand Down Expand Up @@ -105,23 +106,54 @@ export default function Funded() {

return (
<div>
<title>{title}</title>
<meta charSet="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<NextSeo {...routeSeoContent["/"]} />
<meta name="title" content={title} />
<meta name="description" content={description} />
<meta name="author" content={author} />

<Head>
<title>{title}</title>
<meta charSet="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<NextSeo {...routeSeoContent["/"]} />
<meta name="title" content={title} />
<meta name="description" content={description} />
<meta name="author" content={author} />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/icons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/icons/favicon-16x16.png"
/>
<link rel="manifest" href="/icons/site.webmanifest" />
<link
rel="mask-icon"
href="/icons/safari-pinned-tab.svg"
color="#5bbad5"
/>
<link rel="shortcut icon" href="/icons/favicon.ico" />
<meta name="apple-mobile-web-app-title" content="Funded" />
<meta name="application-name" content="Funded" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-config" content="/icons/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
</Head>
<div>
<NavigationHero
entityTitle={entityTitle}
navigationLinks={navigationLinks}
navigationHrefs={navigationHrefs}
cta={cta}
logoSrc={logoSrc}
session={session}
/>
<Stats1 data={stats1Data} />
Expand Down
Binary file added public/icons/android-chrome-192x192.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 public/icons/android-chrome-512x512.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 public/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/icons/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/icons/mstile-150x150.png"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added public/icons/favicon-16x16.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 public/icons/favicon-32x32.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 public/icons/favicon.ico
Binary file not shown.
Binary file added public/icons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions public/icons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions public/icons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Funded",
"short_name": "Funded",
"icons": [
{
"src": "/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added public/logos/funded-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.