mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	website updates
Summary: A few minor updates to the website. - fix the color gradient on the homepage - fix unicode escape for the copyright symbol Reviewed By: gkioxari Differential Revision: D19744165 fbshipit-source-id: 31068bd0b408fe7b298e1f69d9998d64498e9d8c
This commit is contained in:
		
							parent
							
								
									15d3a4557e
								
							
						
					
					
						commit
						10ec66dadb
					
				@ -24,12 +24,11 @@ cd pytorch3d-master/website || exit
 | 
			
		||||
 | 
			
		||||
# Build site, tagged with "latest" version; baseUrl set to /versions/latest/
 | 
			
		||||
yarn
 | 
			
		||||
yarn run build
 | 
			
		||||
 | 
			
		||||
cd .. || exit
 | 
			
		||||
./scripts/build_website.sh -b
 | 
			
		||||
 | 
			
		||||
yarn run build
 | 
			
		||||
 | 
			
		||||
cd "${WORK_DIR}" || exit
 | 
			
		||||
rm -rf pytorch3d-gh-pages/*
 | 
			
		||||
touch pytorch3d-gh-pages/CNAME
 | 
			
		||||
 | 
			
		||||
@ -21,7 +21,7 @@ const users = [
 | 
			
		||||
const baseUrl = '/'
 | 
			
		||||
 | 
			
		||||
const siteConfig = {
 | 
			
		||||
  title: 'PyTorch3d', // Title for your website.
 | 
			
		||||
  title: 'PyTorch3D', // Title for your website.
 | 
			
		||||
  tagline: 'A library for deep learning with 3D data',
 | 
			
		||||
  url: 'https://pytorch3d.org', // Your website URL
 | 
			
		||||
  baseUrl: baseUrl, // Base URL for your project */
 | 
			
		||||
@ -50,7 +50,7 @@ const siteConfig = {
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  // This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
 | 
			
		||||
  copyright: `Copyright "\u00A9" ${new Date().getFullYear()} Facebook Inc`,
 | 
			
		||||
  copyright: `Copyright \u{00A9} ${new Date().getFullYear()} Facebook Inc`,
 | 
			
		||||
 | 
			
		||||
  highlight: {
 | 
			
		||||
    // Highlight.js theme to use for syntax highlighting in code blocks.
 | 
			
		||||
 | 
			
		||||
@ -59,12 +59,9 @@ html body {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.homeContainer {
 | 
			
		||||
  background: rgb(2, 0, 36);
 | 
			
		||||
  background: linear-gradient(
 | 
			
		||||
    0deg,
 | 
			
		||||
    rgba(2, 0, 36, 1),
 | 
			
		||||
    rgba(255, 175, 0, 1) 0%,
 | 
			
		||||
    rgba(129, 44, 229, 1) 100%
 | 
			
		||||
    rgba(129, 44, 229, 1) 0%,
 | 
			
		||||
    rgba(255, 175, 0, 1) 100%
 | 
			
		||||
  );
 | 
			
		||||
  padding: 30px 0px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user