Skip to content

Commit

Permalink
Merge pull request #2212 from dfinity/akos/home-page-v2
Browse files Browse the repository at this point in the history
update home page wip
  • Loading branch information
artkorotkikh-dfinity authored Dec 7, 2023
2 parents 89a767c + 5f89c60 commit a9bb536
Show file tree
Hide file tree
Showing 52 changed files with 11,517 additions and 4,931 deletions.
8 changes: 4 additions & 4 deletions app.env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ import {
NavbarItem,
} from "@docusaurus/theme-common/src/utils/useThemeConfig";
import { LinkLikeNavbarItemProps } from "@theme/NavbarItem";
import { Press } from "./src/components/LandingPage/Hero/News";

declare module "*.png";
declare module "*.webp";
declare module "*.svg";
declare module "*.jpeg";
declare module "*.jpg";

declare module "@site/.docusaurus/conversations/default/conversations.json" {
import { LiveSession } from "@site/src/components/LiveSessionsPage/LiveSession";
const conversations: LiveSession[];
export default conversations;
declare module "@site/.docusaurus/contentful/default/press.json" {
const press: Press[];
export default press;
}

declare module "@site/.docusaurus/howitworks-cards/default/howitworks-cards.json" {
Expand Down
4 changes: 3 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const {
} = require("./plugins/utils/redirects");
const fs = require("fs");
const validateShowcasePlugin = require("./plugins/validate-showcase.js");
const contentfulPlugin = require("./plugins/contentful");

const isDeployPreview = !!process.env.PREVIEW_CANISTER_ID;

Expand Down Expand Up @@ -461,7 +462,7 @@ function getImageDataUrl(url) {
const config = {
title: "Internet Computer",
tagline:
"World Computer blockchain that reimagines the internet as an infinite smart contract platform",
"Say hello to super advanced blockchain, reimagined as an infinite smart contract cloud, hosting not just tokens, but all kind of data and user experiences of Web3, such as Social Media, DeFi, Gaming, Enterprise services, etc.",
url: isDeployPreview
? `https://${process.env.PREVIEW_CANISTER_ID}.icp0.io`
: "https://internetcomputer.org",
Expand Down Expand Up @@ -492,6 +493,7 @@ const config = {
whatIsIcpDataPlugin,
matomoPlugin,
blogPostsPlugin,
contentfulPlugin,
validateShowcasePlugin,
externalRedirectsPlugin({
redirects: [...getExternalRedirects(), ...getExactUrlRedirects()],
Expand Down
Loading

0 comments on commit a9bb536

Please sign in to comment.