Skip to content

Commit

Permalink
Merge branch 'main' into webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ashucoder9 authored Jul 4, 2024
2 parents dff3ed4 + bfbea81 commit f77b4c8
Show file tree
Hide file tree
Showing 207 changed files with 4,236 additions and 642 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base

#############################
# Start the job on all push #
#############################
on:

pull_request:
branches: [main]

###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest

##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/super-linter@v6.6.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_JAVASCRIPT_ES: true
8 changes: 0 additions & 8 deletions app/(home)/course/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Link, { type LinkProps } from 'next/link';
import Image from 'next/image';
import { buttonVariants } from '@/components/ui/button';
import { cn } from '@/utils/cn';
import Spot from '@/public/spot.png';

const cardIconVariants = cva(
'mb-2 size-9 rounded-lg border p-1 shadow-sm shadow-primary/50',
Expand All @@ -24,13 +23,6 @@ export default function DocsPage(): React.ReactElement {
/>
</div>
<div className="absolute inset-0 z-[-1] select-none overflow-hidden opacity-30">
<Image
alt="spot"
src={Spot}
sizes="100vw"
className="size-full min-w-[800px] max-w-container"
priority
/>
</div>
<h1 className="mb-4 text-4xl font-semibold md:text-5xl">
Getting Started
Expand Down
2 changes: 1 addition & 1 deletion app/course/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function generateMetadata({ params }: { params: Param }): Metadata {
if (!page) notFound();

const description =
page.data.description ?? 'The library for building documentation sites';
page.data.description ?? 'Learn how to build on Avalanche blockchain with Academy';

const imageParams = new URLSearchParams();
imageParams.set('title', page.data.title);
Expand Down
27 changes: 27 additions & 0 deletions app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,30 @@
padding: 0 16px;
}

svg.lucide.lucide-box, svg.lucide.lucide-layers {
color: #E84142;
}

svg.lucide.lucide-bookmark {
color: #b821d5;
}

svg.lucide.lucide-terminal {
color: #ff5e13;
}

svg.lucide.lucide-users {
color: #8b54ff;
}

svg.lucide.lucide-binary {
color: #ce3427;
}

svg.lucide.lucide-rocket {
color: #ff2e2ec4;
}

svg.lucide.lucide-send {
color: #0070ff;
}
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { GeistMono } from 'geist/font/mono';
import { baseUrl, createMetadata } from '@/utils/metadata';
import { Footer } from '@/components/footer';
import { Provider } from './provider';
import { Analytics } from "@vercel/analytics/react";

export const metadata = createMetadata({
title: {
Expand Down Expand Up @@ -39,6 +40,7 @@ export default function RootLayout({
{children}
<Footer />
</Provider>
<Analytics />
</body>
</html>
);
Expand Down
18 changes: 18 additions & 0 deletions components/gallery.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export default function Gallery({ url1, url2 } : { url1 : string, url2 : string }){
return (
<div className="row" style={{display: "flex"}}>
<div className="column">
<img
src={url1}
style={{ border: '1px solid rgb(220, 220, 220)' }}
/>
</div>
<div className="column">
<img
src={url2}
style={{ border: '1px solid rgb(220, 220, 220)' }}
/>
</div>
</div>
);
}
104 changes: 0 additions & 104 deletions content/blog/2024-5-15.mdx

This file was deleted.

51 changes: 0 additions & 51 deletions content/blog/2024-5-16.mdx

This file was deleted.

Binary file removed content/blog/img.png
Binary file not shown.
7 changes: 7 additions & 0 deletions content/blog/tbd.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Yet to Decide
description: TBD
author: TBD
---

TBD
84 changes: 0 additions & 84 deletions content/blog/why-docs.mdx

This file was deleted.

Loading

0 comments on commit f77b4c8

Please sign in to comment.