Skip to content

Commit

Permalink
feat: latest (#8)
Browse files Browse the repository at this point in the history
* feat: latest

* chore: remove unnecessary comments

* chore: add lightmode / remove log
  • Loading branch information
crypblizz8 authored Oct 30, 2024
1 parent 80966c9 commit aaf8c90
Show file tree
Hide file tree
Showing 12 changed files with 263 additions and 867 deletions.
101 changes: 98 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,100 @@
npm-debug.log
.DS_Store
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

dist
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# macOS
.DS_Store

# Windows
Thumbs.db

# IDE specific files
.vscode/
.idea/
*.swp
*.swo

# Build output
dist/
build/

# Temporary files
temp/
tmp/
3 changes: 3 additions & 0 deletions examples/nextjs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# nada venv
nada/.venv/
13 changes: 11 additions & 2 deletions examples/nextjs/app/components/WelcomeContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,21 @@ import Image from "next/image";
export const WelcomeContent = () => {
return (
<>
<Image
<Image
src="/logo.svg"
alt="Next.js logo"
width={180}
height={38}
priority
className="hidden dark:block"
/>
<Image
src="/dark_logo.svg"
alt="Next.js logo"
width={180}
height={38}
priority
className="block dark:hidden"
/>
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)] mt-4">
<li className="mb-2">
Expand Down Expand Up @@ -36,7 +45,7 @@ export const WelcomeContent = () => {
</li>
<li>
Make sure you are running
<code className="bg-gray-700 rounded-md p-1 mx-1">
<code className="bg-gray-200 text-gray-800 dark:bg-gray-700 dark:text-gray-200 rounded-md p-1 mx-1">
nillion-devnet
</code>
in a separate terminal.
Expand Down
10 changes: 10 additions & 0 deletions examples/nextjs/public/dark_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit aaf8c90

Please sign in to comment.