diff --git a/Makefile b/Makefile index 3eb6b51b3..b09a7528b 100644 --- a/Makefile +++ b/Makefile @@ -315,10 +315,10 @@ nebula: pkl: @echo "(pkl) Building PKL" - go run github.com/apple/pkl-go/cmd/pkl-gen-go ./deploy/config/DWN.pkl - go run github.com/apple/pkl-go/cmd/pkl-gen-go ./deploy/config/ORM.pkl - go run github.com/apple/pkl-go/cmd/pkl-gen-go ./deploy/config/Txns.pkl - go run github.com/apple/pkl-go/cmd/pkl-gen-go ./deploy/config/UIUX.pkl + go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/DWN.pkl + go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/ORM.pkl + go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/Txns.pkl + go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/UIUX.pkl start-caddy: @echo "(start-caddy) Starting caddy" diff --git a/pkg/nebula/bun.lockb b/pkg/nebula/bun.lockb index 37a7645a8..ea81fae4b 100755 Binary files a/pkg/nebula/bun.lockb and b/pkg/nebula/bun.lockb differ diff --git a/pkg/nebula/nebula.pkl b/pkg/nebula/nebula.pkl index 6371412fc..06ac65c5b 100644 --- a/pkg/nebula/nebula.pkl +++ b/pkg/nebula/nebula.pkl @@ -36,198 +36,4 @@ home = new Home { } }; }; - - // Highlights - highlights { - new Highlight { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - image = new Image { - src = "https://cdn.sonr.id/img/highlight-1.svg"; - width = "500"; - height = "500"; - }; - }; - new Highlight { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - image = new Image { - src = "https://cdn.sonr.id/img/highlight-2.svg"; - width = "500"; - height = "500"; - }; - }; - }; - - // Features - features { - new Features { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - image = new Image { - src = "https://cdn.sonr.id/img/feature-1.svg"; - width = "500"; - height = "500"; - }; - }; - new Features { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - image = new Image { - src = "https://cdn.sonr.id/img/feature-2.svg"; - width = "500"; - height = "500"; - }; - }; - new Features { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - image = new Image { - src = "https://cdn.sonr.id/img/feature-3.svg"; - width = "500"; - height = "500"; - }; - }; - }; - - // Bento - bento = new Bento { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - primaryButton = new Button { - text = "Get Started"; - href = "/register"; - }; - secondaryButton = new Button { - text = "Learn More"; - href = "/about"; - }; - }; - - // Lowlights - lowlights { - new Lowlights { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - image = new Image { - src = "https://cdn.sonr.id/img/lowlight-1.svg"; - width = "500"; - height = "500"; - }; - }; - new Lowlights { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - image = new Image { - src = "https://cdn.sonr.id/img/lowlight-2.svg"; - width = "500"; - height = "500"; - }; - }; - }; - - // Call to Action - callToAction = new CallToAction { - title = "Simplified"; - description = "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty."; - primaryButton = new Button { - text = "Get Started"; - href = "/register"; - }; - secondaryButton = new Button { - text = "Learn More"; - href = "/about"; - }; - }; - - // Footer - footer = new Footer { - logo = new Image { - src = "https://cdn.sonr.id/img/logo.svg"; - width = "500"; - height = "500"; - }; - - mediumLink = new SocialLink { - link = new Link { - text = "Medium"; - href = "https://medium.com/sonr-io"; - }; - icon = "https://cdn.sonr.id/img/medium.svg"; - }; - - twitterLink = new SocialLink { - link = new Link { - text = "Twitter"; - href = "https://twitter.com/sonr"; - }; - icon = "https://cdn.sonr.id/img/twitter.svg"; - }; - - discordLink = new SocialLink { - link = new Link { - text = "Discord"; - href = "https://discord.com/invite/sonr"; - }; - icon = "https://cdn.sonr.id/img/discord.svg"; - }; - - githubLink = new SocialLink { - link = new Link { - text = "GitHub"; - href = "https://github.com/sonr-io"; - }; - icon = "https://cdn.sonr.id/img/github.svg"; - }; - - companyLinks { - new Link { - text = "About"; - href = "https://sonr.io/about"; - }; - new Link { - text = "Careers"; - href = "https://sonr.io/careers"; - }; - new Link { - text = "Partners"; - href = "https://sonr.io/partners"; - }; - new Link { - text = "Investors"; - href = "https://sonr.io/investors"; - }; - new Link { - text = "Newsroom"; - href = "https://sonr.io/newsroom"; - }; - new Link { - text = "Blog"; - href = "https://sonr.io/blog"; - }; - }; - - resourcesLinks { - new Link { - text = "Docs"; - href = "https://docs.sonr.io"; - }; - new Link { - text = "Whitepaper"; - href = "https://sonr.io/whitepaper"; - }; - new Link { - text = "FAQ"; - href = "https://sonr.io/faq"; - }; - new Link { - text = "Terms of Service"; - href = "https://sonr.io/terms"; - }; - new Link { - text = "Privacy Policy"; - href = "https://sonr.io/privacy"; - }; - }; - } }; diff --git a/deploy/config/DWN.pkl b/pkl/DWN.pkl similarity index 100% rename from deploy/config/DWN.pkl rename to pkl/DWN.pkl diff --git a/deploy/config/ORM.pkl b/pkl/ORM.pkl similarity index 100% rename from deploy/config/ORM.pkl rename to pkl/ORM.pkl diff --git a/deploy/config/Txns.pkl b/pkl/Txns.pkl similarity index 100% rename from deploy/config/Txns.pkl rename to pkl/Txns.pkl diff --git a/deploy/config/UIUX.pkl b/pkl/UIUX.pkl similarity index 74% rename from deploy/config/UIUX.pkl rename to pkl/UIUX.pkl index a7add44df..681d74bfb 100644 --- a/deploy/config/UIUX.pkl +++ b/pkl/UIUX.pkl @@ -54,14 +54,8 @@ class SocialLink { class Feature { title: String description: String - icon: String - image: Image -} - -class Highlight { - title: String - description: String - image: Image + icon: String? + image: Image? } class Stat { @@ -87,53 +81,10 @@ class Hero { class Highlights { heading: String subheading: String - highlights: Listing + highlights: Listing } - -class Features { - title: String - description: String - image: Image -} - -class Bento { - title: String - description: String - primaryButton: Button - secondaryButton: Button -} - -class Lowlights { - title: String - description: String - image: Image -} - -class CallToAction { - title: String - description: String - primaryButton: Button - secondaryButton: Button -} - -class Footer { - logo: Image - mediumLink: SocialLink - twitterLink: SocialLink - discordLink: SocialLink - githubLink: SocialLink - companyLinks: Listing - resourcesLinks: Listing -} - class Home { hero: Hero - highlights: Listing - features: Listing - bento: Bento - lowlights: Listing - callToAction: CallToAction - footer: Footer } home : Home