This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
127 additions
and
112 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"shared/": "./pages/shared/", | ||
"zod/": "https://deno.land/x/[email protected]/", | ||
// "webgen/": "../WebGen/" | ||
"webgen/": "https://raw.githubusercontent.com/lucsoft/WebGen/f53d3dd/" | ||
"webgen/": "https://raw.githubusercontent.com/lucsoft/WebGen/3616d3b/" | ||
}, | ||
"lock": false, | ||
"compilerOptions": { | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,97 @@ | ||
import { Box, Component, Grid, Label } from "webgen/core/mod.ts"; | ||
// import { splash } from "../../assets/imports.ts"; | ||
import { BootstrapIcon, PrimaryButton, SecondaryButton, TextButton } from "webgen/mod.ts"; | ||
import { BootstrapIcon, Image, PrimaryButton, SecondaryButton, TextButton } from "webgen/mod.ts"; | ||
import { splash } from "../../assets/imports.ts"; | ||
import "./footer.css"; | ||
|
||
export function Footer() { | ||
return Box( | ||
Box( | ||
// Image(splash, "Splash Image").addClass("splash-image"), | ||
Box( | ||
Box( | ||
Label("Looks Dope?\nJoin now!").addClass("title"), | ||
Label("Delivering Excellence. Empowering Businesses and\nIndividuals with Premium Services") | ||
.addClass("subtitle"), | ||
).addClass("text-section"), | ||
PrimaryButton("Get started") | ||
.onClick(() => location.href = "/signin") | ||
.addClass("round-button", "large-button"), | ||
).addClass("area-fg"), | ||
return Grid( | ||
Grid( | ||
Box( | ||
Box( | ||
...[ | ||
["Company", [ | ||
["About Us", "/"], | ||
["Terms and Conditions", "/p/terms"], | ||
["Privacy Policy", "/p/privacy-policy"], | ||
["Imprint", "/p/imprint"], | ||
]] as const, | ||
Label("Looks Dope?\nJoin now!").addClass("title"), | ||
Label("Delivering Excellence. Empowering Businesses and\nIndividuals with Premium Services") | ||
.addClass("subtitle"), | ||
).addClass("text-section"), | ||
PrimaryButton("Get started") | ||
.onClick(() => location.href = "/signin") | ||
.addClass("round-button", "large-button"), | ||
Image(splash, "Splash Image").setWidth("572px"), | ||
).addClass("area-fg"), | ||
Box( | ||
Grid( | ||
...[ | ||
["Company", [ | ||
["About Us", "/"], | ||
["Terms and Conditions", "/p/terms"], | ||
["Privacy Policy", "/p/privacy-policy"], | ||
["Imprint", "/p/imprint"], | ||
]] as const, | ||
|
||
["Products", [ | ||
["Music", "/music"], | ||
["Hosting", "/hosting"], | ||
]] as const, | ||
["Products", [ | ||
["Music", "/music"], | ||
["Hosting", "/hosting"], | ||
]] as const, | ||
|
||
["Use Cases", [ | ||
["Newcomers", "/music"], | ||
["Personal", "/hosting"], | ||
["Small Business", "/hosting"], | ||
]] as const, | ||
// ["Use Cases", [ | ||
// ["Newcomers", "/music"], | ||
// ["Personal", "/hosting"], | ||
// ["Small Business", "/hosting"], | ||
// ]] as const, | ||
|
||
["Resources", [ | ||
["Status Page", "https://status.bbn.one/"], | ||
["Support", "mailto:[email protected]"], | ||
]] as const, | ||
].map(([text, items]) => | ||
Grid( | ||
Label(text) | ||
.addClass("title"), | ||
...items.map(([title, link]) => | ||
TextButton(title) | ||
.onClick(() => location.href = link) | ||
.addClass("link") | ||
// .setStyle(ButtonStyle.Inline) | ||
), | ||
).addClass("column") | ||
) as unknown as [Component], | ||
).addClass("grouped-links"), | ||
Grid( | ||
["Resources", [ | ||
["Status Page", "https://status.bbn.one/"], | ||
["Support", "mailto:[email protected]"], | ||
]] as const, | ||
].map(([text, items]) => | ||
Grid( | ||
...[ | ||
// ["youtube", "Youtube", "https://www.youtube.com/@bbn6775"], | ||
// ["twitter", "Twiter", "https://twitter.com/BBN_Holding"], | ||
// ["facebook", "Facebook", "https://www.facebook.com/bbn.holding/"], | ||
["discord", "Discord", "https://discord.gg/dJevjw2fCe"], | ||
["instagram", "Instagram", "https://www.instagram.com/bbn.music/"], | ||
["mastodon", "Mastodon", "https://chaos.social/@bbn"], | ||
// ["github", "GitHub", "https://github.com/bbn-holding/"], | ||
] | ||
.map(([icon, aria, link]) => | ||
TextButton("").addPrefix(BootstrapIcon(icon)) | ||
.onClick(() => location.href = link) | ||
.addClass("icon") | ||
) as unknown as [Component], | ||
).addClass("icons"), | ||
SecondaryButton("Join Now") | ||
.onClick(() => location.href = "/signin") | ||
.addClass("round-button"), | ||
PrimaryButton("Contact Us") | ||
.onClick(() => location.href = "mailto:[email protected]") | ||
.addClass("round-button"), | ||
Label(text) | ||
.addClass("title"), | ||
...items.map(([title, link]) => | ||
TextButton(title) | ||
.onClick(() => location.href = link) | ||
.addClass("link") | ||
// .setStyle(ButtonStyle.Inline) | ||
), | ||
).addClass("column") | ||
) as unknown as [Component], | ||
) | ||
.setDynamicColumns(20) | ||
.addClass("grouped-links"), | ||
Grid( | ||
Grid( | ||
...[ | ||
// ["youtube", "Youtube", "https://www.youtube.com/@bbn6775"], | ||
// ["twitter", "Twiter", "https://twitter.com/BBN_Holding"], | ||
// ["facebook", "Facebook", "https://www.facebook.com/bbn.holding/"], | ||
["discord", "Discord", "https://discord.gg/dJevjw2fCe"], | ||
["instagram", "Instagram", "https://www.instagram.com/bbn.music/"], | ||
["mastodon", "Mastodon", "https://chaos.social/@bbn"], | ||
// ["github", "GitHub", "https://github.com/bbn-holding/"], | ||
] | ||
.map(([icon, aria, link]) => | ||
TextButton("").addPrefix(BootstrapIcon(icon)) | ||
.onClick(() => location.href = link) | ||
.addClass("icon") | ||
) as unknown as [Component], | ||
) | ||
.addClass("icon-bar"), | ||
).addClass("area-bg"), | ||
).addClass("footer"), | ||
).addClass("footer-space"); | ||
.setAutoFlow("column") | ||
.setAutoColumn("max-content") | ||
.addClass("icons"), | ||
SecondaryButton("Join Now") | ||
.onClick(() => location.href = "/signin") | ||
.addClass("round-button"), | ||
PrimaryButton("Contact Us") | ||
.onClick(() => location.href = "mailto:[email protected]") | ||
.addClass("round-button"), | ||
) | ||
.setGap() | ||
.setTemplateColumns("auto max-content max-content") | ||
.addClass("icon-bar"), | ||
).addClass("area-bg"), | ||
) | ||
.setAutoFlow("row") | ||
.setGap(); | ||
// .setMargin("calc(var(--spacing) * 2) auto var(--spacing)") | ||
// .setMaxWidth("1235px") | ||
// .setWidth("calc(100vw - 5rem)") | ||
// .setJustifyItems("start"); | ||
} |
This file contains 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