Skip to content

Commit

Permalink
Latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfessorManhattan committed Apr 16, 2023
1 parent c6a179e commit 29731cd
Show file tree
Hide file tree
Showing 17 changed files with 50 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules/
www/
.env
dist/
docs/
2 changes: 1 addition & 1 deletion docs
Submodule docs updated from 1e711c to bfa41e
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"description": "Install Doctor Site",
"scripts": {
"build": "stencil build --prerender --ci",
"build:docs": "if [ ! -d docs ]; then git clone https://github.com/megabyte-labs/install.doctor-docs.git docs && cd docs; else cd docs && git pull origin master; fi; npm run build",
"build:noscript": "rm src/global/style.scss && cd src/global && ln -s style-offline.scss style.scss && cd ../.. && npm run build && cp www/build/site.css src/site-noscript.css && cd src/global && rm style.scss && ln -s style-default.scss style.scss && cd ../..",
"build:prod": "npm run build:noscript && npm run build",
"build:prod": "npm run build:docs && npm run build:noscript && npm run build",
"deploy": "npm run build:prod && firebase deploy",
"start": "stencil build --dev --watch --serve --ssr"
},
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/gas-station-predecessor.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ modifiedDate: 2023-03-16 14:00:00
author: Brian Zalewski <brian@megabyte.space>
authorUrl: https://twitter.com/HillBillyHack3r
authorName: Brian Zalewski
authorImageName: hey.png
authorDescription: Yo whats goodie.
authorImageName: brian-zalewski.png
authorDescription: Hey, my name is Brian. My friends call me BZ. I am the main driving force behind Megabyte Labs and its various offerings. Apart from optimizing my developer tool stack, my hobbies include going to the gym, partying with friends, and playing volleyball / kickball. I never turn down a conversation about AI, God, time travelers, or Jesus. I frequently think about how I can make the world a better place by inspiring others.
description: A little bit about the transition of our provisioning system from Ansible to Chezmoi
featuredImage: /gas-station-predecessor.png
featuredImageAlt: Transition from Gas Station to Install Doctor
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/immutable-golden-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ date: 2023-02-17 14:00:00
author: Brian Zalewski <brian@megabyte.space>
authorUrl: https://twitter.com/HillBillyHack3r
authorName: Brian Zalewski
authorImageName: hey.png
authorDescription: Yo whats goodie.
authorImageName: brian-zalewski.png
authorDescription: Hey, my name is Brian. My friends call me BZ. I am the main driving force behind Megabyte Labs and its various offerings. Apart from optimizing my developer tool stack, my hobbies include going to the gym, partying with friends, and playing volleyball / kickball. I never turn down a conversation about AI, God, time travelers, or Jesus. I frequently think about how I can make the world a better place by inspiring others.
description: Plans and notes on implementing a read-only file system
featuredImage: /immutable-golden-image.png
featuredImageAlt: The Immutable Golden Image
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/nsfw-inception-of-install-doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ date: 2023-02-18 14:00:00
author: Brian Zalewski <brian@megabyte.space>
authorUrl: https://twitter.com/HillBillyHack3r
authorName: Brian Zalewski
authorImageName: hey.png
authorDescription: Yo whats goodie.
authorImageName: brian-zalewski.png
authorDescription: Hey, my name is Brian. My friends call me BZ. I am the main driving force behind Megabyte Labs and its various offerings. Apart from optimizing my developer tool stack, my hobbies include going to the gym, partying with friends, and playing volleyball / kickball. I never turn down a conversation about AI, God, time travelers, or Jesus. I frequently think about how I can make the world a better place by inspiring others.
description: An illustrated story detailing how, on this timeline, Install Doctor is what it is
featuredImage: /truth-hurts.png
featuredImageAlt: Truth hurts with angel smoke
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/self-service-portal.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ date: 2023-02-19 14:00:00
author: Brian Zalewski <brian@megabyte.space>
authorUrl: https://twitter.com/HillBillyHack3r
authorName: Brian Zalewski
authorImageName: hey.png
authorDescription: Yo whats goodie.
authorImageName: brian-zalewski.png
authorDescription: Hey, my name is Brian. My friends call me BZ. I am the main driving force behind Megabyte Labs and its various offerings. Apart from optimizing my developer tool stack, my hobbies include going to the gym, partying with friends, and playing volleyball / kickball. I never turn down a conversation about AI, God, time travelers, or Jesus. I frequently think about how I can make the world a better place by inspiring others.
description: Details on the upcoming self-service portal which will allow provisioning of remote VMs and will be available to Install Doctor Enterprise clients
featuredImage: /self-service-portal.png
featuredImageAlt: Self service portal graphic
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/single-sign-on.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ date: 2023-02-24 14:00:00
author: Brian Zalewski <brian@megabyte.space>
authorUrl: https://twitter.com/HillBillyHack3r
authorName: Brian Zalewski
authorImageName: hey.png
authorImageName: brian-zalewski.png
authorDescription: Yo whats goodie.
description: A comparison between the Install Doctor CloudFlare Teams and Ory.sh integrations and a run-down of when you should choose one over the other.
description: Hey, my name is Brian. My friends call me BZ. I am the main driving force behind Megabyte Labs and its various offerings. Apart from optimizing my developer tool stack, my hobbies include going to the gym, partying with friends, and playing volleyball / kickball. I never turn down a conversation about AI, God, time travelers, or Jesus. I frequently think about how I can make the world a better place by inspiring others.
featuredImage: /single-sign-on.png
featuredImageAlt: Single sign-on graphic
tags: SSO,Ory.sh,CloudFlare
Expand Down
Binary file added src/assets/img/blog/author/brian-zalewski.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/blog/author/brian-zalewski.webp
Binary file not shown.
2 changes: 2 additions & 0 deletions src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export namespace Components {
}
interface LandingPage {
"data": typeof LandingPageData;
"template": any;
}
interface MetaTags {
"authorTwitter"?: any;
Expand Down Expand Up @@ -424,6 +425,7 @@ declare namespace LocalJSX {
}
interface LandingPage {
"data"?: typeof LandingPageData;
"template"?: any;
}
interface MetaTags {
"authorTwitter"?: any;
Expand Down
6 changes: 6 additions & 0 deletions src/global/style-default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -606,4 +606,10 @@ landing-page {
transform: rotate(29deg) skewX(-30deg);
z-index: -1;
}
}

@media (max-width: 970px) {
blog-social-actions {
display: none !important;
}
}
2 changes: 1 addition & 1 deletion src/pages/blog-page/components/blog-post/blog-post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
}

disqus-comments {
margin-block-end: 160px;
margin-block-end: 69px;
}

blog-social-actions.bottom {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog-page/components/blog-post/blog-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ export class BlogPost {
/>
)
};
// <disqus-comments url={`https://useappflow.com/blog/${post.slug}`} siteId="ionic"/>
PostDetail = () => {
const {
PostAuthor,
Expand Down Expand Up @@ -322,6 +321,7 @@ export class BlogPost {
<div class="post-content" innerHTML={data!.html} />
<PostAuthorLarge post={data!} />
<MoreResources />
<disqus-comments url={`${window.location.origin}/blog/${data.slug}`} siteId={this.defaults.disqusSiteId}/>
</article>
</ResponsiveContainer>,
<ResponsiveContainer id="footer-social-container">
Expand Down
8 changes: 4 additions & 4 deletions src/pages/landing-page/landing-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import { LandingPageData } from 'src/store'
scoped: true,
})
export class LandingPage {
@Prop() data: typeof LandingPageData
@Prop() data: typeof LandingPageData;
@Prop() template;

@State() selectedCodeTab: string = 'notifications';
@State() ebookModalOpen = false;
Expand All @@ -27,14 +28,13 @@ export class LandingPage {
const {
Top,
Started,
Ebook,
Native,
Features,
Framework,
Tweets,
Cta,
Ebook
Cta
} = this

return (
<Host>
<meta-tags
Expand Down
18 changes: 18 additions & 0 deletions src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,24 @@ export const Routes = () => (
</Fragment>
)}
/>

<Route
path={match('/:bada/:bing')}
render={() => (
<Fragment>
<not-found-page defaults={defaults} />
</Fragment>
)}
/>

<Route
path={match('/:big/:giant/:elevator')}
render={() => (
<Fragment>
<not-found-page defaults={defaults} />
</Fragment>
)}
/>
</Router.Switch>
)

Expand Down
7 changes: 4 additions & 3 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const defaults = {
source: 'pwa'
}
},
disqusSiteId: 'install-doctor',
facebookAppId: '669135071652897',
pageTitle: 'Install Doctor: Provision fully-configured desktops automatically',
brandName: 'Install Doctor',
Expand Down Expand Up @@ -245,9 +246,9 @@ export const defaults = {
}
},
algolia: {
appId: 'S9NORH1KTE',
apiKey: 'e14004b94a1f75b3bb71fc63f070466c',
indexName: 'installdoc'
appId: 'KFVMJ7I0DW',
apiKey: 'c00de731b08c54ccfcc8d9456fca31d5',
indexName: 'installtor'
},
social: {
discord: 'https://discord.com/channels/1077138419953713222/1077138479928049734',
Expand Down

0 comments on commit 29731cd

Please sign in to comment.